* [Bug java/21206] gcj seems not to pass the option to ld correctly
2005-04-25 9:14 [Bug bootstrap/21206] New: gcj seems not to pass the option to ld correctly shanwill44 at yahoo dot com
@ 2005-04-25 13:31 ` pinskia at gcc dot gnu dot org
2005-04-25 13:33 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-25 13:31 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|bootstrap |java
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21206] gcj seems not to pass the option to ld correctly
2005-04-25 9:14 [Bug bootstrap/21206] New: gcj seems not to pass the option to ld correctly shanwill44 at yahoo dot com
2005-04-25 13:31 ` [Bug java/21206] " pinskia at gcc dot gnu dot org
@ 2005-04-25 13:33 ` pinskia at gcc dot gnu dot org
2005-04-26 0:11 ` shanwill44 at yahoo dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-25 13:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-25 13:29 -------
It passes correctly for me on i686-pc-linux-gnu.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21206] gcj seems not to pass the option to ld correctly
2005-04-25 9:14 [Bug bootstrap/21206] New: gcj seems not to pass the option to ld correctly shanwill44 at yahoo dot com
2005-04-25 13:31 ` [Bug java/21206] " pinskia at gcc dot gnu dot org
2005-04-25 13:33 ` pinskia at gcc dot gnu dot org
@ 2005-04-26 0:11 ` shanwill44 at yahoo dot com
2005-07-13 19:44 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: shanwill44 at yahoo dot com @ 2005-04-26 0:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From shanwill44 at yahoo dot com 2005-04-26 00:10 -------
Sure I also confirmed it working
on i686-pc-linux-gnu (SuSE 9.2).
So this must be specific to i386-pc-solaris2.9.
Thanks in advance.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21206] gcj seems not to pass the option to ld correctly
2005-04-25 9:14 [Bug bootstrap/21206] New: gcj seems not to pass the option to ld correctly shanwill44 at yahoo dot com
` (2 preceding siblings ...)
2005-04-26 0:11 ` shanwill44 at yahoo dot com
@ 2005-07-13 19:44 ` pinskia at gcc dot gnu dot org
2005-07-13 19:44 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-13 19:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-13 19:44 -------
*** Bug 22323 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |john at karsner dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21206] gcj seems not to pass the option to ld correctly
2005-04-25 9:14 [Bug bootstrap/21206] New: gcj seems not to pass the option to ld correctly shanwill44 at yahoo dot com
` (3 preceding siblings ...)
2005-07-13 19:44 ` pinskia at gcc dot gnu dot org
@ 2005-07-13 19:44 ` pinskia at gcc dot gnu dot org
2005-07-13 19:47 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-13 19:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-13 19:43 -------
*** Bug 22468 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |aaronw at net dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21206] gcj seems not to pass the option to ld correctly
2005-04-25 9:14 [Bug bootstrap/21206] New: gcj seems not to pass the option to ld correctly shanwill44 at yahoo dot com
` (4 preceding siblings ...)
2005-07-13 19:44 ` pinskia at gcc dot gnu dot org
@ 2005-07-13 19:47 ` pinskia at gcc dot gnu dot org
2005-07-13 19:52 ` pinskia at gcc dot gnu dot org
2005-07-26 23:32 ` wilson at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-13 19:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-13 19:46 -------
Hmm, since this has now reported on i686-pc-linux-gnu, I have no idea what is going on. The only
thing I can think of is gcj is being miss compiled but I really doubt that since this also on sparc too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21206] gcj seems not to pass the option to ld correctly
2005-04-25 9:14 [Bug bootstrap/21206] New: gcj seems not to pass the option to ld correctly shanwill44 at yahoo dot com
` (5 preceding siblings ...)
2005-07-13 19:47 ` pinskia at gcc dot gnu dot org
@ 2005-07-13 19:52 ` pinskia at gcc dot gnu dot org
2005-07-26 23:32 ` wilson at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-13 19:52 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dish at csua dot berkeley
| |dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21206] gcj seems not to pass the option to ld correctly
2005-04-25 9:14 [Bug bootstrap/21206] New: gcj seems not to pass the option to ld correctly shanwill44 at yahoo dot com
` (6 preceding siblings ...)
2005-07-13 19:52 ` pinskia at gcc dot gnu dot org
@ 2005-07-26 23:32 ` wilson at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-07-26 23:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From wilson at gcc dot gnu dot org 2005-07-26 23:31 -------
I saw this problem on an x86-freebsd machine yesterday.
The problem is that $target/libjava/libgcj.spec has this
*lib: -lgcj -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
%{!pthread: %{!shared: %eUnder this configuration, the user must provide
-pthread when linking.}} %(libgcc) %(liborig)
This causes the strange ld error.
The underlying problem seems to be that I have a copy of libiconv in
/usr/local/lib. The Makefile has this line
LIBICONV = /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
libgcj.spec is built from libgcj.spec.in, which causes LIBICONV to be
substituted into the lib spec. And now we have gcc options (-Wl) in a linker
spec (lib), which doesn't work.
I didn't look for a solution. I just fixed it by hand. When your libjava build
fails, edit the $target/libjava/libgcj.spec file to delete both spurious
instances of "-Wl,", continue the build, and this time it will finish successfully.
However, I did then get a lot of libjava failures, but I didn't care about them
at the time, so I ignored them. I don't know if they are related to this issue,
or whether it was a temporary snapshot instability problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-26 23:31:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
^ permalink raw reply [flat|nested] 9+ messages in thread