[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/25975] New: clang -fsanitze=adderss prints waring only with go
From: |
dilyan.palauzov at aegee dot org |
Subject: |
[Bug gold/25975] New: clang -fsanitze=adderss prints waring only with gold |
Date: |
Mon, 11 May 2020 19:59:29 +0000 |
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.
- [Bug gold/25975] New: clang -fsanitze=adderss prints waring only with gold,
dilyan.palauzov at aegee dot org <=
- [Bug gold/25975] clang -fsanitze=adderss prints waring only with gold, hjl.tools at gmail dot com, 2020/05/12
- [Bug gold/25975] clang -fsanitze=adderss prints waring only with gold, dilyan.palauzov at aegee dot org, 2020/05/12
- [Bug gold/25975] clang -fsanitze=adderss prints waring only with gold, hjl.tools at gmail dot com, 2020/05/12
- [Bug gold/25975] clang -fsanitze=address prints waring only with gold, dilyan.palauzov at aegee dot org, 2020/05/13
- [Bug gold/25975] clang -fsanitze=address prints warning only with gold, dilyan.palauzov at aegee dot org, 2020/05/13
- [Bug gold/25975] clang -fsanitze=address prints warning only with gold, dilyan.palauzov at aegee dot org, 2020/05/13
- [Bug gold/25975] clang -fsanitze=address prints warning only with gold, dilyan.palauzov at aegee dot org, 2020/05/13
- [Bug gold/25975] clang -fsanitze=address prints warning only with gold, dilyan.palauzov at aegee dot org, 2020/05/13
- [Bug gold/25975] clang -fsanitze=address prints warning only with gold, dilyan.palauzov at aegee dot org, 2020/05/13
- [Bug gold/25975] clang -fsanitze=address prints warning only with gold, dilyan.palauzov at aegee dot org, 2020/05/13