public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath'
@ 2005-07-06 13:46 john at karsner dot net
  2005-07-06 14:24 ` [Bug bootstrap/22323] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: john at karsner dot net @ 2005-07-06 13:46 UTC (permalink / raw)
  To: gcc-bugs

make bootstrap fails with the following:
/usr/local/i686-pc-linux-gnu/bin/ld: unrecognized option '-Wl,-rpath'
/usr/local/i686-pc-linux-gnu/bin/ld: use the --help option for usage 
information
collect2: ld returned 1 exit status
make[3]: *** [jv-convert] Error 1
make[3]: Leaving directory `/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava'

configured with the following:
../gcc-4.0.0/configure

same commands build 3.4.4 without issues. I have seen a couple of threads on 
this issue on a variety of websites and nobody seems to have resolved it as 
yet.

additional system configuration information:
binutils 2.16.1
Redhat AS 4 2.6.9-11.ELsmp

-- 
           Summary: bootstrap fails - ld: unrecognized option '-Wl,-rpath'
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P1
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: john at karsner dot net
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: 4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
@ 2005-07-06 14:24 ` pinskia at gcc dot gnu dot org
  2005-07-07  0:33 ` john at karsner dot net
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-06 14:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-06 14:24 -------
Is LD set in your environment?
Also could show what the command this error message is comming from?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
  2005-07-06 14:24 ` [Bug bootstrap/22323] " pinskia at gcc dot gnu dot org
@ 2005-07-07  0:33 ` john at karsner dot net
  2005-07-07  0:48 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: john at karsner dot net @ 2005-07-07  0:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From john at karsner dot net  2005-07-07 00:33 -------
Subject: RE:  bootstrap fails - ld: unrecognized option '-Wl,-rpath'

LD is not set in my environment

make[3]: Entering directory
`/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava'
/bin/sh ./libtool --tag=GCJ --mode=link /usr/local/src/gcc/gcc4/gcc/gcj
-B/usr/local/src/gcc/gcc4/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/
-B/usr/local/i686-pc-linux-gnu/lib/ -isystem
/usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include
-L/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava -ffloat-store
-fno-omit-frame-pointer -g -O2  -o jv-convert --main=gnu.gcj.convert.Convert
-rpath /usr/local/lib -shared-libgcc
-L/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava/.libs libgcj.la
/usr/local/src/gcc/gcc4/gcc/gcj -B/usr/local/src/gcc/gcc4/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -ffloat-store
-fno-omit-frame-pointer -g -O2 -o .libs/jv-convert
--main=gnu.gcj.convert.Convert -shared-libgcc
-L/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava
-L/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava/.libs ./.libs/libgcj.so
-L/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libstdc++-v3/src
-L/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lpthread
-ldl -L/usr/local/src/gcc/gcc4/gcc -L/usr/local/lib -lgcc_s -lc -lgcc_s
-Wl,--rpath -Wl,/usr/local/lib
/usr/local/i686-pc-linux-gnu/bin/ld: unrecognized option '-Wl,-rpath'
/usr/local/i686-pc-linux-gnu/bin/ld: use the --help option for usage
informationcollect2: ld returned 1 exit status

-----Original Message-----
From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org] 
Sent: Wednesday, July 06, 2005 7:25 AM
To: john@karsner.net
Subject: [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option
'-Wl,-rpath'


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-06
14:24 -------
Is LD set in your environment?
Also could show what the command this error message is comming from?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.





-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
  2005-07-06 14:24 ` [Bug bootstrap/22323] " pinskia at gcc dot gnu dot org
  2005-07-07  0:33 ` john at karsner dot net
@ 2005-07-07  0:48 ` pinskia at gcc dot gnu dot org
  2005-07-07  0:52 ` john at karsner dot net
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-07  0:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-07 00:48 -------
One more question:
what does the output of:
/usr/local/i686-pc-linux-gnu/bin/ld --version

give?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
                   ` (2 preceding siblings ...)
  2005-07-07  0:48 ` pinskia at gcc dot gnu dot org
@ 2005-07-07  0:52 ` john at karsner dot net
  2005-07-11 12:33 ` john at karsner dot net
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: john at karsner dot net @ 2005-07-07  0:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From john at karsner dot net  2005-07-07 00:52 -------
Subject: RE:  bootstrap fails - ld: unrecognized option '-Wl,-rpath'

[root@host gcc4]# /usr/local/bin/i686-pc-linux-gnu/bin/ld --version
GNU ld version 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

-----Original Message-----
From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org] 
Sent: Wednesday, July 06, 2005 5:48 PM
To: john@karsner.net
Subject: [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option
'-Wl,-rpath'


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-07
00:48 -------
One more question:
what does the output of:
/usr/local/i686-pc-linux-gnu/bin/ld --version

give?



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
                   ` (3 preceding siblings ...)
  2005-07-07  0:52 ` john at karsner dot net
@ 2005-07-11 12:33 ` john at karsner dot net
  2005-07-12  4:13 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: john at karsner dot net @ 2005-07-11 12:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From john at karsner dot net  2005-07-11 12:29 -------
(In reply to comment #3)
> One more question:
> what does the output of:
> /usr/local/i686-pc-linux-gnu/bin/ld --version
> give?

I notived this was still in a waiting state. Is there anything else you 
require??

-John

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
                   ` (4 preceding siblings ...)
  2005-07-11 12:33 ` john at karsner dot net
@ 2005-07-12  4:13 ` pinskia at gcc dot gnu dot org
  2005-07-12  4:15 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-12  4:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-12 04:11 -------
*** Bug 22424 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dish at csua dot berkeley
                   |                            |dot edu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
                   ` (5 preceding siblings ...)
  2005-07-12  4:13 ` pinskia at gcc dot gnu dot org
@ 2005-07-12  4:15 ` pinskia at gcc dot gnu dot org
  2005-07-12  4:18 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-12  4:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-12 04:15 -------
*** Bug 22426 has been marked as a duplicate of this bug. ***

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
                   ` (6 preceding siblings ...)
  2005-07-12  4:15 ` pinskia at gcc dot gnu dot org
@ 2005-07-12  4:18 ` pinskia at gcc dot gnu dot org
  2005-07-12 12:32 ` john at karsner dot net
  2005-07-13 19:47 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-12  4:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-12 04:16 -------
What happens if you configure with an absolute path instead of a relative path?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
                   ` (7 preceding siblings ...)
  2005-07-12  4:18 ` pinskia at gcc dot gnu dot org
@ 2005-07-12 12:32 ` john at karsner dot net
  2005-07-13 19:47 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: john at karsner dot net @ 2005-07-12 12:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From john at karsner dot net  2005-07-12 12:17 -------
../gcc-4.0.0/configure   --with-gnu-ld --with-ld=/usr/local/i686-pc-linux-
gnu/bin/ld

build failed results as follows:

creating libgij.la
(cd .libs && rm -f libgij.la && ln -s ../libgij.la libgij.la)
/bin/sh ./libtool --tag=GCJ --mode=link /usr/local/src/gcc/gcc4/gcc/gcj -
B/usr/local/src/gcc/gcc4/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/
 -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-
gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include -L/us
r/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava -ffloat-store -fno-omit-frame-
pointer -g -O2  -o jv-convert --main=gnu.gcj.convert.Convert 
-rpath /usr/local/lib -shared-libgcc   -L/usr/local/src/gcc/gcc4/i686-pc-linux-
gnu/libjava/.libs libgcj.la 
/usr/local/src/gcc/gcc4/gcc/gcj -B/usr/local/src/gcc/gcc4/gcc/ -
B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -is
ystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-
gnu/sys-include -ffloat-store -fno-omit-frame-pointer -g -O2 
-o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc  -
L/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava -L/usr/local/src/gc
c/gcc4/i686-pc-linux-gnu/libjava/.libs ./.libs/libgcj.so -
L/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libstdc++-v3/src -
L/usr/local/src/gcc
/gcc4/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lpthread -ldl -
L/usr/local/src/gcc/gcc4/gcc -L/usr/local/i686-pc-linux-gnu/bin -L/usr/loca
l/i686-pc-linux-gnu/lib -L/usr/local/lib/../i686-pc-linux-gnu/lib -
L/usr/local/lib -lgcc_s -lc -lgcc_s -Wl,--rpath -Wl,/usr/local/lib
/usr/local/i686-pc-linux-gnu/bin/ld: unrecognized option '-Wl,-rpath'
/usr/local/i686-pc-linux-gnu/bin/ld: use the --help option for usage 
information
collect2: ld returned 1 exit status
make[3]: *** [jv-convert] Error 1
make[3]: Leaving directory `/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava'
make[2]: *** [all-recursive] Error 1
rm gnu/gcj/tools/gcj_dbtool/Main.class
make[2]: Leaving directory `/usr/local/src/gcc/gcc4/i686-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/usr/local/src/gcc/gcc4'
make: *** [bootstrap] Error 2





-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/22323] bootstrap fails - ld: unrecognized option '-Wl,-rpath'
  2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
                   ` (8 preceding siblings ...)
  2005-07-12 12:32 ` john at karsner dot net
@ 2005-07-13 19:47 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ 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:44 -------


*** This bug has been marked as a duplicate of 21206 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22323


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-07-13 19:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-06 13:46 [Bug bootstrap/22323] New: bootstrap fails - ld: unrecognized option '-Wl,-rpath' john at karsner dot net
2005-07-06 14:24 ` [Bug bootstrap/22323] " pinskia at gcc dot gnu dot org
2005-07-07  0:33 ` john at karsner dot net
2005-07-07  0:48 ` pinskia at gcc dot gnu dot org
2005-07-07  0:52 ` john at karsner dot net
2005-07-11 12:33 ` john at karsner dot net
2005-07-12  4:13 ` pinskia at gcc dot gnu dot org
2005-07-12  4:15 ` pinskia at gcc dot gnu dot org
2005-07-12  4:18 ` pinskia at gcc dot gnu dot org
2005-07-12 12:32 ` john at karsner dot net
2005-07-13 19:47 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).