https://sourceware.org/bugzilla/show_bug.cgi?id=20343
--- Comment #3 from dilyan.palauzov at aegee dot org ---
The bfd-plugins directory is not documented.
Doing "gcc -c t.c" "strace nm --plugin=liblto_plugin.so.0.0.0 t.o" does not
show that the bfd-plugins directory is checked, nor does "strace
https://sourceware.org/bugzilla/show_bug.cgi?id=20343
--- Comment #4 from Markus Trippelsdorf ---
There is no need to use an explicit --plugin option.
On my system:
% strace ar cr a.a a.o
...
open("/usr/x86_64-pc-linux-gnu/binutils-bin/git/../git/../lib/bfd-plugins",
O_RDONLY|O_NONBLOCK|O_DIRE
https://sourceware.org/bugzilla/show_bug.cgi?id=20343
--- Comment #5 from Markus Trippelsdorf ---
And plaese configure binutils with: --enable-plugins
--
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing
https://sourceware.org/bugzilla/show_bug.cgi?id=20346
Bug ID: 20346
Summary: Modify "gold --help" to show if "-z relro" is enabled
by default
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity:
https://sourceware.org/bugzilla/show_bug.cgi?id=20343
--- Comment #6 from dilyan.palauzov at aegee dot org ---
I had --enable-plugins.
"strace ar csr ... &|grep bfd" prints
openat(AT_FDCWD, "../bin/../lib/bfd-plugins",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or
dire
https://sourceware.org/bugzilla/show_bug.cgi?id=20343
--- Comment #7 from dilyan.palauzov at aegee dot org ---
The part with bfd/plugin.c was a false alarm.
The problem was, that I had the change below, which was supposed to fix these
warnings, when I compile binutils with -flto (cf.
https://gcc