public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* --with-libiconv-prefix messes up libjava
@ 2004-12-08 23:45 Sean McNeil
  2004-12-13 21:26 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Sean McNeil @ 2004-12-08 23:45 UTC (permalink / raw)
  To: gcc

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

I configure my build with

configure --disable-nls --with-system-zlib
--with-libiconv-prefix=/usr/local

when it does the libjava stuff, it ends up making a libgcj.spec that is
inappropriate:

*lib: -lgcj -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
-lpthread -lz   %(libgcc) %(liborig)

This ends up breaking collect2 on a final link of the library because it
passes in -Wl,-rpath -Wl,/usr/local/lib instead of just
-rpath /usr/local/lib.

I am going to attempt to rebuild using --disable-rpath to get around
this problem.

Cheers,
Sean


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 187 bytes --]

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

* Re: --with-libiconv-prefix messes up libjava
  2004-12-08 23:45 --with-libiconv-prefix messes up libjava Sean McNeil
@ 2004-12-13 21:26 ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2004-12-13 21:26 UTC (permalink / raw)
  To: Sean McNeil; +Cc: GCC Mailing List

>>>>> "Sean" == Sean McNeil <sean@mcneil.com> writes:

Sean> I configure my build with
Sean> configure --disable-nls --with-system-zlib
Sean> --with-libiconv-prefix=/usr/local
Sean> when it does the libjava stuff, it ends up making a libgcj.spec that is
Sean> inappropriate:

Could you file this in bugzilla?

Tom

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

end of thread, other threads:[~2004-12-13 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-08 23:45 --with-libiconv-prefix messes up libjava Sean McNeil
2004-12-13 21:26 ` Tom Tromey

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