[Bug target/21206] gcj seems not to pass the option to ld correctly

Andrew Haley aph@redhat.com
Thu Feb 23 13:38:00 GMT 2006

Rainer Emrich writes:
 > The config.log in libjava has two entries for 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
 > 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:
 > %(libgcc) %(liborig)
 >  should be changed to
 > %(libgcc) %(liborig)
 > Any comments?

Looks right to me.  BTW, what failure caused you to find this?


More information about the Java mailing list