From 631971ee86d74a76b8e3f9086b91e16c50ffbd10 Mon Sep 17 00:00:00 2001 From: Martin Kinkelin Date: Sun, 20 Oct 2019 16:39:12 +0200 Subject: [PATCH] Shippable CI: Try to suppress linker msges about fixed erratum 843419 --- shippable.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shippable.yml b/shippable.yml index 5843980e183..4d8d487b015 100644 --- a/shippable.yml +++ b/shippable.yml @@ -15,7 +15,7 @@ env: matrix: - LLVM_VERSION=9.0.0 HOST_LDC_VERSION=1.14.0 - EXTRA_CMAKE_FLAGS="-DBUILD_LTO_LIBS=ON -DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++ -DLDC_INSTALL_LTOPLUGIN=ON -DLDC_INSTALL_LLVM_RUNTIME_LIBS=ON -DLDC_INSTALL_LLVM_RUNTIME_LIBS_ARCH=aarch64" + EXTRA_CMAKE_FLAGS="-DBUILD_LTO_LIBS=ON \"-DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++ -mfix-cortex-a53-843419\" -DLDC_INSTALL_LTOPLUGIN=ON -DLDC_INSTALL_LLVM_RUNTIME_LIBS=ON -DLDC_INSTALL_LLVM_RUNTIME_LIBS_ARCH=aarch64" build: ci: @@ -47,6 +47,7 @@ build: # Build bootstrap LDC - cmake --version - ninja --version + - export DFLAGS=-L--fix-cortex-a53-843419 - mkdir bootstrap-ldc - cd bootstrap-ldc - | @@ -54,6 +55,7 @@ build: -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ROOT_DIR=$PWD/../llvm \ -DD_COMPILER=$PWD/../host-ldc/bin/ldmd2 \ + -DCMAKE_EXE_LINKER_FLAGS=-mfix-cortex-a53-843419 \ -DBUILD_SHARED_LIBS=OFF \ -DCOMPILE_D_MODULES_SEPARATELY=ON \ -DCOMPILE_ALL_D_FILES_AT_ONCE=OFF @@ -131,7 +133,7 @@ build: make -f posix.mak -j16 install \ DMD=$PWD/../installed/bin/ldmd2 \ DMD_DIR=$PWD/../tests/d2 \ - DFLAGS="-w -de" \ + DFLAGS="$DFLAGS -w -de" \ INSTALL_DIR=$PWD - cp bin/{rdmd,ddemangle,dustmite} ../installed/bin - cd ..