[Bug lto/88643] -Wl,--wrap not supported with LTO

2024-07-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
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.

[Bug lto/88643] -Wl,--wrap not supported with LTO

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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

[Bug lto/88643] -Wl,--wrap not supported with LTO

2024-07-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Richard Biener changed: What|Removed |Added CC||koule2333 at gmail dot com --- Comment

[Bug lto/88643] -Wl,--wrap not supported with LTO

2022-01-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Andrew Pinski changed: What|Removed |Added Resolution|--- |MOVED Status|NEW

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-04-03 Thread dilyan.palauzov at aegee dot org
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 .

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-04-03 Thread dilyan.palauzov at aegee dot org
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

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-04-03 Thread dilyan.palauzov at aegee dot org
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.

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-04-03 Thread hjl.tools at gmail dot com
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

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-04-02 Thread dilyan.palauzov at aegee dot org
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.

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-04-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Andrew Pinski changed: What|Removed |Added CC||dilyan.palauzov at aegee dot org --- Co

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-01-25 Thread sebastian.hu...@embedded-brains.de
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

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-01-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-01-24 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at inbox dot ru --- Comment

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-01-16 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Sebastian Huber changed: What|Removed |Added CC||sebastian.huber@embedded-br

[Bug lto/88643] -Wl,--wrap not supported with LTO

2019-01-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643 Richard Biener changed: What|Removed |Added Keywords||lto CC|