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

2018-03-31 Thread jeremip11 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22500

Jeremi  changed:

   What|Removed |Added

 CC||jeremip11 at gmail dot com

-- 
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


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

2018-03-28 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22500

Cary Coutant  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Cary Coutant  ---
Fixed on trunk. Gold now will configure plugins by default if dloopen is
available, and will parse the --plugin options correctly when plugins are
disabled.

-- 
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


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

2018-03-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22500

--- Comment #3 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Cary Coutant :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=24538276c675851520d45714661e7cf9bedd55bb

commit 24538276c675851520d45714661e7cf9bedd55bb
Author: Cary Coutant 
Date:   Tue Mar 27 17:49:49 2018 -0700

Use top-level config support for enabling plugins.

Also recognizes --plugin options when plugins are disabled.

2018-03-28  Cary Coutant  

gold/
PR gold/21423
PR gold/22500
* configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
Replace check for --enable-plugins with AC_PLUGINS.
* options.cc (parse_plugin, parse_plugin_opt): Remove #ifdef.
(General_options::finalize): Check if plugins enabled.
* options.h (--plugin, --plugin-opt): Define even if plugins not
enabled.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.

-- 
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


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

2018-03-26 Thread vlad at ispras dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=22500

Vladislav Ivanishin  changed:

   What|Removed |Added

 CC||vlad at ispras dot ru

--- Comment #2 from Vladislav Ivanishin  ---
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


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

2017-12-23 Thread Madhu
* "ccoutant  :
Wrote on Mon, 27 Nov 2017 19:23:31 +:

| https://sourceware.org/bugzilla/show_bug.cgi?id=22500
|
| --- Comment #1 from Cary Coutant  ---
| The --plugin options use two dashes, so it looks like there's some add-on
| that's doing something like s/-p// in your Makefile. Can you attach a copy of
| gold/testsuite/Makefile.in from your source directory and
| gold/testsuite/Makefile from the build directory? A copy of gold/config.log
| might also be helpful.

I think the error comes from using gold built without the
--enable-plugins option

-- 
Madhu


___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2017-11-27 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22500

--- Comment #1 from Cary Coutant  ---
The --plugin options use two dashes, so it looks like there's some add-on
that's doing something like s/-p// in your Makefile. Can you attach a copy of
gold/testsuite/Makefile.in from your source directory and
gold/testsuite/Makefile from the build directory? A copy of gold/config.log
might also be helpful.

-- 
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