This is the mail archive of the java-patches@sourceware.cygnus.com 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]

Re: --disable-static


Tom Tromey wrote:

> Bryce> I would like to be able to do this. However, the build fails
> Bryce> due to missing libffi symbols when linking jv-convert. This is
> Bryce> the same error I was seeing with multilib builds on
> Bryce> Alpha. Maybe we should just install a libffi shared library??
>
> I might have a fix for this.
> I'll probably check it in today.

Thanks.

Now I get a different error when trying to use "--disable-static":

./libtool: ../libstdc++: No such file or directory
libtool: link: warning: cannot determine absolute directory name of
`../libstdc++'
libtool: link: passing it literally to the linker, although it might
fail
[...]

/bin/sh ./libtool --mode=link gcj
-L/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava -g
-ffloat-store  -o jv-convert --main=gnu.gcj.convert.Convert -rpath `if
test -d ../libstdc++; then cd ../libstdc++; pwd; fi` -rpath
/usr/local/gcc/lib  gnu/gcj/convert/BytesToUnicode.lo
gnu/gcj/convert/Convert.lo gnu/gcj/convert/Input_8859_1.lo
gnu/gcj/convert/Input_EUCJIS.lo gnu/gcj/convert/Input_JavaSrc.lo
gnu/gcj/convert/Input_SJIS.lo gnu/gcj/convert/Input_UTF8.lo
gnu/gcj/convert/Input_iconv.lo gnu/gcj/convert/Output_8859_1.lo
gnu/gcj/convert/Output_EUCJIS.lo gnu/gcj/convert/Output_JavaSrc.lo
gnu/gcj/convert/Output_SJIS.lo gnu/gcj/convert/Output_UTF8.lo
gnu/gcj/convert/Output_iconv.lo gnu/gcj/convert/UnicodeToBytes.lo
libgcj.la ./../boehm-gc/libgcjgc.la
-L/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava/../boehm-gc/.libs
-lpthread ./../zlib/libzgcj.la
-L/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava/../zlib/.libs
-L/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava/.libs
libtool: link: only absolute run-paths are allowed
make[2]: *** [jv-convert] Error 1
make[2]: Leaving directory
`/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava'
make: *** [all-target-libjava] Error 2

regards

  [ bryce ]



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