Jim Wilson schrieb:
> Rainer Emrich wrote:
>> /SCRATCH/gcc-build/Linux/ia64-unknown-linux-gnu/install/bin/ld:
>> unrecognized
>> option '-Wl,-rpath'
> 
> This looks like PR 21206.  See my explanation at the end.  I see this on
> some of our FreeBSD machines, but I've never seen it on an IA-64 linux
> machine.

The config.log in libjava has two entries for libiconv:
LIBICONV
which is
LIBICONV='/appl/shared/gnu/Linux/ia64-unknown-linux-gnu/lib/libiconv.so
-Wl,-rpath -Wl,/appl/shared/gnu/Linux/ia64-unknown-linux-gnu/lib'
in my case.

The second is
LTLIBICONV
which is
LTLIBICONV='-L/appl/shared/gnu/Linux/ia64-unknown-linux-gnu/lib -liconv
-R/appl/shared/gnu/Linux/ia64-unknown-linux-gnu/lib'
in my case.

I changed the libgcj.spec file manually to the second. That seems to work.
So, my conclusion is to change the libgcj.spec.in.
The following line:
*lib: -lgcj -lm @LIBICONV@ @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@
%(libgcc) %(liborig)
 should be changed to
*lib: -lgcj -lm @LTLIBICONV@ @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@
%(libgcc) %(liborig)

Any comments?

Rainer

P.S.: In the mean time I try to do a complete bootstrap and testsuite run

-- 
Rainer Emrich
TECOSIM GmbH
Im Eichsfeld 3
65428 Rüsselsheim

Phone: +49(0)6142/8272 12
Mobile: +49(0)163/56 949 20
Fax.:   +49(0)6142/8272 49
Web: www.tecosim.com

Reply via email to