[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/24406] -Wl,--wrap= incompatible with -flto
From: |
dilyan.palauzov at aegee dot org |
Subject: |
[Bug ld/24406] -Wl,--wrap= incompatible with -flto |
Date: |
Wed, 03 Apr 2019 14:25:36 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24406
--- Comment #5 from dilyan.palauzov at aegee dot org <dilyan.palauzov at aegee
dot org> ---
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=bfd -Wl,--wrap=read -O1 t.c
This does not work:
gcc -flto -fuse-ld=gold -Wl,--wrap=read -O3 t.c
gcc -flto -fuse-ld=gold -Wl,--wrap=read -O2 t.c
gcc -flto -fuse-ld=gold -Wl,--wrap=read -O1 t.c
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/24406] New: -Wl,--wrap= incompatible with -flto, dilyan.palauzov at aegee dot org, 2019/04/01
- [Bug ld/24406] -Wl,--wrap= incompatible with -flto, dilyan.palauzov at aegee dot org, 2019/04/02
- [Bug ld/24406] -Wl,--wrap= incompatible with -flto, dilyan.palauzov at aegee dot org, 2019/04/02
- [Bug ld/24406] -Wl,--wrap= incompatible with -flto, hjl.tools at gmail dot com, 2019/04/02
- [Bug ld/24406] -Wl,--wrap= incompatible with -flto, dilyan.palauzov at aegee dot org, 2019/04/03
- [Bug ld/24406] -Wl,--wrap= incompatible with -flto,
dilyan.palauzov at aegee dot org <=
- [Bug ld/24406] -Wl,--wrap= incompatible with -flto, dilyan.palauzov at aegee dot org, 2019/04/03
- [Bug ld/24406] -Wl,--wrap= incompatible with -flto, cvs-commit at gcc dot gnu.org, 2019/04/25
- [Bug ld/24406] -Wl,--wrap= incompatible with -flto, hjl.tools at gmail dot com, 2019/04/25