https://sourceware.org/bugzilla/show_bug.cgi?id=22500
Vladislav Ivanishin <vlad at ispras dot ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vlad at ispras dot ru --- Comment #2 from Vladislav Ivanishin <vlad at ispras dot ru> --- I experienced the same problem with gold built from source (today's master branch). You have to pass --enable-plugins to configure for gold to recognize --plugin* options. Here's binutils-gdb configured with `--enable-gold --enable-plugins`: $ gold/ld-new -plugin plug gold/ld-new: error: plug: could not load plugin library: plug: cannot open shared object file: No such file or directory gold/ld-new: fatal error: no input files (This is a correct diagnostic.) And here's the same revision configured with just `--enable-gold`: $ gold/ld-new -plugin plug gold/ld-new: error: cannot open plug: No such file or directory gold/ld-new: error: cannot find -lugin Also note that the diagnostic emitted by ld.bfd is the same for both configurations: $ ld/ld-new -plugin plug ld/ld-new: plug: error loading plugin: plug: cannot open shared object file: No such file or directory -- 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