bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/22500] make -k check-gold errors in passing option


From: vlad at ispras dot ru
Subject: [Bug gold/22500] make -k check-gold errors in passing option
Date: Mon, 26 Mar 2018 12:34:08 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]