This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libstd++ linking location fix(?) for arm eabi


Matthias Klose writes:
 > Andrew Haley schrieb:
 > > Andrew Haley writes:
 > >  > Riku Voipio writes:
 > >  >  > 
 > >  >  > Hi,
 > >  >  > 
 > >  >  > First attempt to build gij/gcj on arm eabi (thanks, Andrew, Matthias!) failed
 > >  >  > when linking:
 > >  >  > 
 > >  >  > (cd .libs && rm -f libgcj_bc.la && ln -s ../libgcj_bc.la libgcj_bc.la)
 > >  > 
 > >  >  > gcj: /root/gcj-4.2/gcj-4.2-4.2.1/build/arm-linux-gnueabi/libjava/../libstdc++-v3/src/.libs/.libs/libstdc++.so: No such file or directory
 > >  >  > 
 > >  >  > As the .libs/.libs stanza seemed suspicious, I simply dropped .libs
 > >  >  > from extra_ldflags and gcj compiled successfully. Now I don't really know
 > >  >  > who from the autofoo gang is adding the extra .libs and if it should be
 > >  >  > rather removed from there...
 > >  > 
 > >  > Until we know what's causing the difference, please *add*
 > >  > -L$(here)/../libstdc++-v3/src to the path rather than replacing the
 > >  > existing line.
 > > 
 > > One thing that might cause this: are you building static libraries as
 > > well as dynamic libraries?
 > 
 > looks like a build from the package, where building the static libraries is
 > disabled.

Oh, I just noticed that this is 4.2, not trunk.  OK, this is probably
due to weirdo libtool changes.  Sigh.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]