https://sourceware.org/bugzilla/show_bug.cgi?id=20343
--- Comment #6 from dilyan.palauzov at aegee dot org <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 directory) hence if it works, depends on the current directory. In bfd/plugin.c:load_plugin() I have on line 337 BINDIR=/usr/local/bin then plugin_dir is evaluated to /usr/local/bin/../lib/bfd-plugins and p (result of make_relative_prefix()) is ${HOME}/binutils/binutils/../bin/../lib/bfd-plugins. Afterwards plugin_dir is discarded and the plugins are searched in the relative dir, stored in p. How are the plugins supposed to be always found in the relative directories? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils