[llvm-dev] compiler-rt linking failure on linux-sparcv9
John Paul Adrian Glaubitz via llvm-dev
llvm-dev at lists.llvm.org
Wed Oct 21 15:28:00 PDT 2020
Hello!
On 10/21/20 8:19 PM, John Paul Adrian Glaubitz wrote:
> The build on linux-sparcv9 has recently started to fail with a linker failure that looks easy to
> fix but so far I've been unable to find out where to include the necessary -latomic [1]:
This was introduced by:
commit 3f7c3e84ad69f1ffa767b1b7ce3aa36de6c30f87 (refs/bisect/bad)
Author: Vitaly Buka <vitalybuka at google.com>
Date: Thu Sep 10 19:59:31 2020 -0700
[Asan] Fix __asan_update_allocation_context
Update both thread and stack.
Update thread and stack as atomic operation.
Keep all 32bit of TID as now we have enough bits.
Depends on D87135.
Reviewed By: morehouse
Differential Revision: https://reviews.llvm.org/D87217
Any suggestions on how to fix this? Passing -latomic for the offending linker command doesn't
help, unfortunately.
A Linux SPARC porterbox (which I used for bisecting this) is available in the GCC compile farm [1].
Adrian
> [1] https://gcc.gnu.org/wiki/CompileFarm
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the llvm-dev
mailing list