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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to dilyan.palau...@aegee.org 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