From 11794cdce09fbae67c625992a933dcf5c2dd1c80 Mon Sep 17 00:00:00 2001 From: Dmitry Golovin Date: Sun, 10 May 2020 08:08:26 +0000 Subject: [PATCH 1/2] ci: enable integrated-as on selected arches on linux-next [skip ci] --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8bc8358..e7c7547 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,8 +31,8 @@ jobs: # linux (cron only) # # linux-next (cron only) - - name: "ARCH=arm32_v5 LD=ld.lld REPO=linux-next" - env: ARCH=arm32_v5 LD=ld.lld REPO=linux-next + - name: "ARCH=arm32_v5 LD=ld.lld LLVM_IAS=1 REPO=linux-next" + env: ARCH=arm32_v5 LD=ld.lld LLVM_IAS=1 REPO=linux-next if: type = cron - name: "ARCH=arm32_v6 REPO=linux-next" env: ARCH=arm32_v6 REPO=linux-next @@ -40,8 +40,8 @@ jobs: - name: "ARCH=arm32_v7 LD=ld.lld REPO=linux-next" env: ARCH=arm32_v7 LD=ld.lld REPO=linux-next if: type = cron - - name: "ARCH=arm64 LD=ld.lld REPO=linux-next" - env: ARCH=arm64 LD=ld.lld REPO=linux-next + - name: "ARCH=arm64 LD=ld.lld LLVM_IAS=1 REPO=linux-next" + env: ARCH=arm64 LD=ld.lld LLVM_IAS=1 REPO=linux-next if: type = cron - name: "ARCH=mips LD=ld.lld REPO=linux-next" env: ARCH=mips LD=ld.lld REPO=linux-next @@ -64,11 +64,11 @@ jobs: - name: "ARCH=s390 BOOT=0 REPO=linux-next" env: ARCH=s390 REPO=linux-next if: type = cron - - name: "ARCH=x86 LD=ld.lld REPO=linux-next" - env: ARCH=x86 LD=ld.lld REPO=linux-next + - name: "ARCH=x86 LD=ld.lld LLVM_IAS=1 REPO=linux-next" + env: ARCH=x86 LD=ld.lld LLVM_IAS=1 REPO=linux-next if: type = cron - - name: "ARCH=x86_64 LD=ld.lld REPO=linux-next" - env: ARCH=x86_64 LD=ld.lld REPO=linux-next + - name: "ARCH=x86_64 LD=ld.lld LLVM_IAS=1 REPO=linux-next" + env: ARCH=x86_64 LD=ld.lld LLVM_IAS=1 REPO=linux-next if: type = cron # stable - name: "ARCH=arm32_v7 LD=ld.lld REPO=5.4" From 307a1e2ef256c6db48ae5c884ff59d530e5d1ba3 Mon Sep 17 00:00:00 2001 From: Dmitry Golovin Date: Tue, 12 May 2020 10:14:07 +0000 Subject: [PATCH 2/2] patches: silence DWARF2 warnings on linux-next [skip ci] --- .../arm64/silence-dwarf2-warnings.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 patches/llvm-all/linux-next/arm64/silence-dwarf2-warnings.patch diff --git a/patches/llvm-all/linux-next/arm64/silence-dwarf2-warnings.patch b/patches/llvm-all/linux-next/arm64/silence-dwarf2-warnings.patch new file mode 100644 index 0000000..03cc41d --- /dev/null +++ b/patches/llvm-all/linux-next/arm64/silence-dwarf2-warnings.patch @@ -0,0 +1,15 @@ +diff --git a/Makefile b/Makefile +index 11fe9b1535de..3c6e0ae33d74 100644 +--- a/Makefile ++++ b/Makefile +@@ -803,8 +803,10 @@ DEBUG_CFLAGS += -gsplit-dwarf + else + DEBUG_CFLAGS += -g + endif ++ifndef LLVM_IAS + KBUILD_AFLAGS += -Wa,-gdwarf-2 + endif ++endif + ifdef CONFIG_DEBUG_INFO_DWARF4 + DEBUG_CFLAGS += -gdwarf-4 + endif