https://sourceware.org/bugzilla/show_bug.cgi?id=25975
Bug ID: 25975
Summary: clang -fsanitze=adderss prints waring only with gold
Product: binutils
Version: 2.35 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: dilyan.palauzov at aegee dot org
CC: ian at airs dot com
Target Milestone: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.