[Bug libgcj/28244] [4.2 regression] missing dependency causes build failure

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 4 23:06:00 GMT 2006



------- Comment #4 from danglin at gcc dot gnu dot org  2006-07-04 23:06 -------
On hppa-unknown-linux-gnu with make -j 2 bootstrap:

/home/dave/gnu/gcc-4.2/objdir/gcc/gcj
-B/home/dave/gnu/gcc-4.2/objdir/hppa-linux
/libjava/ -B/home/dave/gnu/gcc-4.2/objdir/gcc/ -g -O2 -o .libs/gappletviewer
--m
ain=gnu.classpath.tools.appletviewer.Main -shared-libgcc 
-L/home/dave/gnu/gcc-4
.2/objdir/hppa-linux/libjava
-L/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libjava/
.libs ./.libs/libgcj-tools.so
-L/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libstdc
++-v3/src -L/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libstdc++-v3/src/.libs
-L/h
ome/dave/gnu/gcc-4.2/objdir/./gcc -lgcc_s -lgcc -lc -lgcc_s -Wl,--rpath
-Wl,/hom
e/dave/opt/gnu/gcc/gcc-4.2.0/lib
/home/dave/opt/gnu/bin/ld: warning: libgcc_s.so.2, needed by
/home/dave/opt/gnu/
lib/libgcj.so, may conflict with libgcc_s.so.4
/home/dave/opt/gnu/bin/ld: warning: libgcc_s.so.2, needed by
/home/dave/opt/gnu/
lib/libgcj.so, may conflict with libgcc_s.so.4
/home/dave/opt/gnu/bin/ld: warning: libgcc_s.so.2, needed by
/home/dave/opt/gnu/
lib/libgcj.so, may conflict with libgcc_s.so.4
/home/dave/opt/gnu/bin/ld: warning: libgcc_s.so.2, needed by
/home/dave/opt/gnu/
lib/libgcj.so, may conflict with libgcc_s.so.4
/home/dave/opt/gnu/bin/ld: warning: libgcc_s.so.2, needed by
/home/dave/opt/gnu/
lib/libgcj.so, may conflict with libgcc_s.so.4
./.libs/libgcj-tools.so: undefined reference to `_Jv_RegisterNewClasses'
./.libs/libgcj-tools.so: undefined reference to `_Jv_ThrowAbstractMethodError'
./.libs/libgcj-tools.so: undefined reference to `_Jv_ThrowNoSuchFieldError'
./.libs/libgcj-tools.so: undefined reference to `_Jv_ResolvePoolEntry'
collect2: ld returned 1 exit status
make[3]: *** [gappletviewer] Error 1
make[3]: *** Waiting for unfinished jobs....

At the moment, I don't see why ld is looking in /home/dave/opt/gnu/
lib.  libgcj.so has been built when the error occurs.


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28244



More information about the Java-prs mailing list