Commit Graph

6 Commits

Author SHA1 Message Date
Nick Desaulniers
6b80031fa1 Revert "Revert "ANDROID: enable LLVM_IAS=1 for clang's integrated assembler for x86_64""
This reverts commit e9a55d9770.

Re-enables the use of LLVM_IAS=1. This was disabled in aosp/1559459 due
to a single time-based test failure. This test failure is not
reproducible locally. The failure has never been observed on newer
kernel versions either. We should consider disabling this test if we
observe further flakes.

Test: 1. apply this patch
2. build kernel image
  $ BUILD_CONFIG=common/build.config.gki.x86_64 build/build.sh && \
    BUILD_CONFIG=common-modules/virtual-device/build.config.cuttlefish.x86_64 \
    build/build.sh
3. launch cuttlefish with custom kernel image
  $ launch_cvd -kernel_path=/path/to/out/android-4.19-stable/dist/bzImage \
    -initramfs_path=/path/to/out/android-4.19-stable/dist/initramfs.img &
4. run test
  $ atest vts_ltp_test_\
    x86:syscalls.nanosleep01_32bit#syscalls.nanosleep01_32bit -- --abi x86
Test was repeated 10 times locally, 0 failures observed.
Bug: 141693040
Bug: 178427746
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I6e93fafe0477df9c55cc6a0fa145660975927294
2021-02-03 13:34:51 -08:00
Nick Desaulniers
e9a55d9770 Revert "ANDROID: enable LLVM_IAS=1 for clang's integrated assembler for x86_64"
This reverts commit b009f0a1a7.

Bug: 178427746
Reason for revert: syscalls.nanosleep01_32bit#syscalls.nanosleep01_32bit failing

Change-Id: I0089e40fd8e3a6aa14649ba7838851f1e247fdf0
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2021-01-26 01:05:23 +00:00
Nick Desaulniers
b009f0a1a7 ANDROID: enable LLVM_IAS=1 for clang's integrated assembler for x86_64
Step 8 of:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/BINUTILS_KERNEL_DEPRECATION.md

Bug: 141693040
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I9d1621f6484c0402a7518ffb12a3f8f3815f43a9
2021-01-25 20:06:57 +00:00
Nick Desaulniers
be047631de Revert "ANDROID: Kbuild, LLVMLinux: allow overriding clang target triple"
This reverts commit 4c451dba25.

AOSP's distribution of GNU binutils always had a curious target triple
prefix on the binaries.  Now that GNU binutils is deprecated for Android
Common Kernels, we can now remove this out of tree workaround. Now
building Android kernels with LLVM matches upstream (see
Documentation/kbuild/llvm.rst).

Bug: 118439987
Bug: 120440614
Bug: 141693040
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Iecaa3264a440f795f2f3a44bdf74fe28ad4ed1cc
2020-11-10 11:47:24 -08:00
Nick Desaulniers
d04d01063d ANDROID: move builds to use gas prebuilts
Completes stage 5 of:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/BINUTILS_KERNEL_DEPRECATION.md

Bug: 141693040
Test: remove host binutils (easy for cross compiling, hard for host
tools), rebuild multiple configs including cuttlefish configs which rely
on these.
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Ia88f4f6572049c0173742aee95df824c0f31c050
2020-10-19 21:13:08 +00:00
Matthias Maennich
f04f84fdeb ANDROID: refactor build.config files to remove duplication
The build.config.* files largely contain duplicate information by their
nature. Reorganize them reduce duplication and to allow adding new
configurations without copying the definitions again.

Bug: 140224784
Change-Id: I6a3810a125b0ed48591690ca33bb5c02be58218a
Signed-off-by: Matthias Maennich <maennich@google.com>
2019-10-22 18:27:12 -07:00