https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
--- Comment #15 from Sam James ---
H.J. has fixed this for upcoming binutils-2.43.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
--- Comment #14 from Richard Biener ---
Just to note with BFD ld from 2.41.0 I see
1
a-t.o 3
194 b4b00c6ef6ad050b PREVAILING_DEF_IRONLY __wrap_cook
198 b4b00c6ef6ad050b PREVAILING_DEF main
214 b4b00c6ef6ad050b RESOLVED_IR cook
when building
in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
Richard Biener changed:
What|Removed |Added
CC||koule2333 at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |MOVED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
--- Comment #11 from Дилян Палаузов ---
Reported for ld.gold at https://sourceware.org/bugzilla/show_bug.cgi?id=24415 .
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
--- Comment #10 from Дилян Палаузов ---
With the patch applied this works:
clang -flto -fuse-ld=bfd -Wl,--wrap=read -O3 t.c
gcc -flto -fuse-ld=bfd -Wl,--wrap=read -O3 t.c
gcc -flto -fuse-ld=bfd -Wl,--wrap=read -O2 t.c
gcc -flto -fuse-ld
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
--- Comment #9 from Дилян Палаузов ---
With the patch applied to ld.bfd “clang -flto -fuse-ld=bfd -Wl,--wrap=read t.c”
does work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
H.J. Lu changed:
What|Removed |Added
CC||hjl.tools at gmail dot com
--- Comment #8 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
--- Comment #7 from Дилян Палаузов ---
As noted at https://sourceware.org/bugzilla/show_bug.cgi?id=24406 this does
work with clang+gold and clang+lld, but not with clang+bfd.
As this does not work with gcc+gold, the problem is not in the linker.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
Andrew Pinski changed:
What|Removed |Added
CC||dilyan.palauzov at aegee dot
org
--- Co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
--- Comment #5 from Sebastian Huber ---
I think the basic problem is that the LD --wrap feature works only with
undefined symbols references and not relocations:
See also:
https://www.sourceware.org/ml/binutils/2019-01/msg00204.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
Sergei Trofimovich changed:
What|Removed |Added
CC||slyfox at inbox dot ru
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
Sebastian Huber changed:
What|Removed |Added
CC||sebastian.huber@embedded-br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
Richard Biener changed:
What|Removed |Added
Keywords||lto
CC|
15 matches
Mail list logo