bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/25975] clang -fsanitze=adderss prints waring only with gold


From: hjl.tools at gmail dot com
Subject: [Bug gold/25975] clang -fsanitze=adderss prints waring only with gold
Date: Tue, 12 May 2020 12:25:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25975

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to address@hidden from comment #0)
> I have clang and lld 10.0, ld.bfd 2.34.50.20200506, ld.gold 1.16 /
> 2.34.50.20200506 and i.c:
> 
> #include <stdio.h>
> #include <stdbool.h>
> 
> int main() {
>   bool b = 99;
>   printf("a %i\n", b);
> }
> 
> The question is, why only the last call emits a warning:
> $ clang -fsanitize=address -fuse-ld=bfd  -o i i.c
> $ clang -fsanitize=address -fuse-ld=lld  -o i i.c
> $ clang -fsanitize=address -fuse-ld=gold -o i i.c
> /usr/local/bin/ld.gold: warning: Cannot export local symbol
> '__asan_extra_spill_
> area'
> 
> See also https://sourceware.org/bugzilla/show_bug.cgi?id=25940.

Do you have compiler-rt installed?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]