This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

relinking `libjvm.la' error when make install libjava


Hi, guys.

I'm compiling gcc-4.4.2 on an Arm similar machine with Java enabled.
Compilation is completed, but a failure comes out when make install,
with the error of '"relink libgvm".

Do anyone know the reason of the failure?
 I really appreciate your support.



: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2  "
"CXXFLAGS=-g -O2   -D_GNU_SOURCE  " "CPPFLAGS=" "CFLAGS_FOR_BUILD="
"CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c"
"INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install
-c" "GCJFLAGS=-g -O2" "LDFLAGS=" "LIBCFLAGS=-g -O2  "
"LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo
--split-size=5000000 --split-size=5000000  " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS="
"exec_prefix=/home/vhome/FengYi/pxx/install/usr"
"datadir=/home/vhome/FengYi/pxx/install/usr/share"
"infodir=/home/vhome/FengYi/pxx/install/usr/info"
"libdir=/home/vhome/FengYi/pxx/install/usr/lib"
"mandir=/home/vhome/FengYi/pxx/install/usr/man"
"prefix=/home/vhome/FengYi/pxx/install/usr"
"gxx_include_dir=/home/vhome/FengYi/pxx/install/usr/include/c++/4.4.2"
"AR=/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/bin/ar"
"AS=/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/bin/as"
"LD=/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/bin/ld"
"LIBCFLAGS=-g -O2  "
"NM=/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/bin/nm"
"PICFLAG=" "RANLIB=/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/bin/ranlib"
"DESTDIR=" "JAR=jar" DO=all multi-do
make[4]: Entering directory
`/home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava'
test -z "/home/vhome/FengYi/pxx/install/usr/bin" || mkdir -p --
"/home/vhome/FengYi/pxx/install/usr/bin"
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'jv-convert'
'/home/vhome/FengYi/pxx/install/usr/bin/jv-convert'
libtool: install: warning: `libgcj.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/jv-convert
/home/vhome/FengYi/pxx/install/usr/bin/jv-convert
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gij'
'/home/vhome/FengYi/pxx/install/usr/bin/gij'
libtool: install: warning: `libgij.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: warning:
`/home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava/libgcj.la'
has not been installed in `/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gij
/home/vhome/FengYi/pxx/install/usr/bin/gij
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'grmic'
'/home/vhome/FengYi/pxx/install/usr/bin/grmic'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/grmic
/home/vhome/FengYi/pxx/install/usr/bin/grmic
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'grmiregistry'
'/home/vhome/FengYi/pxx/install/usr/bin/grmiregistry'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/grmiregistry
/home/vhome/FengYi/pxx/install/usr/bin/grmiregistry
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gcj-dbtool'
'/home/vhome/FengYi/pxx/install/usr/bin/gcj-dbtool'
libtool: install: warning: `libgcj.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gcj-dbtool
/home/vhome/FengYi/pxx/install/usr/bin/gcj-dbtool
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gappletviewer'
'/home/vhome/FengYi/pxx/install/usr/bin/gappletviewer'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gappletviewer
/home/vhome/FengYi/pxx/install/usr/bin/gappletviewer
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gjarsigner'
'/home/vhome/FengYi/pxx/install/usr/bin/gjarsigner'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gjarsigner
/home/vhome/FengYi/pxx/install/usr/bin/gjarsigner
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gkeytool'
'/home/vhome/FengYi/pxx/install/usr/bin/gkeytool'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gkeytool
/home/vhome/FengYi/pxx/install/usr/bin/gkeytool
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gjar'
'/home/vhome/FengYi/pxx/install/usr/bin/gjar'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gjar
/home/vhome/FengYi/pxx/install/usr/bin/gjar
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gcjh'
'/home/vhome/FengYi/pxx/install/usr/bin/gcjh'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gcjh
/home/vhome/FengYi/pxx/install/usr/bin/gcjh
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gjavah'
'/home/vhome/FengYi/pxx/install/usr/bin/gjavah'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gjavah
/home/vhome/FengYi/pxx/install/usr/bin/gjavah
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gnative2ascii'
'/home/vhome/FengYi/pxx/install/usr/bin/gnative2ascii'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gnative2ascii
/home/vhome/FengYi/pxx/install/usr/bin/gnative2ascii
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gorbd'
'/home/vhome/FengYi/pxx/install/usr/bin/gorbd'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gorbd
/home/vhome/FengYi/pxx/install/usr/bin/gorbd
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'grmid'
'/home/vhome/FengYi/pxx/install/usr/bin/grmid'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/grmid
/home/vhome/FengYi/pxx/install/usr/bin/grmid
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gserialver'
'/home/vhome/FengYi/pxx/install/usr/bin/gserialver'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gserialver
/home/vhome/FengYi/pxx/install/usr/bin/gserialver
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gtnameserv'
'/home/vhome/FengYi/pxx/install/usr/bin/gtnameserv'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gtnameserv
/home/vhome/FengYi/pxx/install/usr/bin/gtnameserv
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'gc-analyze'
'/home/vhome/FengYi/pxx/install/usr/bin/gc-analyze'
libtool: install: warning: `libgcj-tools.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: warning: `libgcj.la' has not been installed in
`/home/vhome/FengYi/pxx/install/usr/lib'
libtool: install: /usr/bin/install -c .libs/gc-analyze
/home/vhome/FengYi/pxx/install/usr/bin/gc-analyze
test -z "/home/vhome/FengYi/pxx/install/usr/bin" || mkdir -p --
"/home/vhome/FengYi/pxx/install/usr/bin"
 /usr/bin/install -c 'contrib/rebuild-gcj-db'
'/home/vhome/FengYi/pxx/install/usr/bin/rebuild-gcj-db'
 /usr/bin/install -c 'contrib/aot-compile'
'/home/vhome/FengYi/pxx/install/usr/bin/aot-compile'
test -z "/home/vhome/FengYi/pxx/install/usr/lib/gcj-4.4.2-10" || mkdir
-p -- "/home/vhome/FengYi/pxx/install/usr/lib/gcj-4.4.2-10"
 /usr/bin/install -c -m 644 'classmap.db'
'/home/vhome/FengYi/pxx/install/usr/lib/gcj-4.4.2-10/classmap.db'
test -z "/home/vhome/FengYi/pxx/install/usr/lib/gcj-4.4.2-10" || mkdir
-p -- "/home/vhome/FengYi/pxx/install/usr/lib/gcj-4.4.2-10"
 /bin/sh ./libtool --mode=install /usr/bin/install -c  'libjvm.la'
'/home/vhome/FengYi/pxx/install/usr/lib/gcj-4.4.2-10/libjvm.la'
libtool: install: warning: relinking `libjvm.la'
libtool: install: (cd
/home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava;
/bin/sh /home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava/libtool
 --tag CXX --mode=relink unicore32-linux-c++ -fno-rtti
-fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum
-D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE
-DPREFIX=\"/home/vhome/FengYi/pxx/install/usr\"
-DTOOLEXECLIBDIR=\"/home/vhome/FengYi/pxx/install/usr/lib\"
-DJAVA_HOME=\"/home/vhome/FengYi/pxx/install/usr\"
-DBOOT_CLASS_PATH=\"/home/vhome/FengYi/pxx/install/usr/share/java/libgcj-4.4.2.jar\"
-DJAVA_EXT_DIRS=\"/home/vhome/FengYi/pxx/install/usr/share/java/ext\"
-DGCJ_ENDORSED_DIRS=\"/home/vhome/FengYi/pxx/install/usr/share/java/gcj-endorsed\"
-DGCJ_VERSIONED_LIBDIR=\"/home/vhome/FengYi/pxx/install/usr/lib/gcj-4.4.2-10\"
-DPATH_SEPARATOR=\":\" -DECJ_JAR_FILE=\"\"
-DLIBGCJ_DEFAULT_DATABASE=\"/home/vhome/FengYi/pxx/install/usr/lib/gcj-4.4.2-10/classmap.db\"
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.4.2-10/classmap.db\" -g
-O2 -D_GNU_SOURCE -o libjvm.la -rpath
/home/vhome/FengYi/pxx/install/usr/lib/gcj-4.4.2-10 -avoid-version
-Wl,-Bsymbolic-functions jni-libjvm.lo
-L/home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava/.libs
libgcj.la )
libtool: relink: warning:
`/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/lib/libstdc++.la'
seems to be moved
libtool: relink:  unicore32-linux-c++  -shared -nostdlib
/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/lib/crti.o
/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/crtbeginS.o
 .libs/jni-libjvm.o   -Wl,-rpath
-Wl,/home/vhome/FengYi/pxx/install/usr/lib -Wl,-rpath
-Wl,/home/vhome/FengYi/pxx/build_cross/unicore32-linux/lib
-L/home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava/.libs
-L/home/vhome/FengYi/pxx/install/usr/lib -lgcj
-L/home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava
-L/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/lib
-lpthread -lrt -ldl
-L/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2
-L/home/vhome/FengYi/pxx/build_cross/unicore32-linux/lib -lstdc++ -lm
-lc -lgcc_s /home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/crtendS.o
/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/lib/crtn.o
 -Wl,-Bsymbolic-functions   -Wl,-soname -Wl,libjvm.so -o
.libs/libjvm.so
/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/bin/ld:
skipping incompatible /lib/libpthread.so.0 when searching for
/lib/libpthread.so.0
/home/vhome/FengYi/pxx/build_cross/lib/gcc/unicore32-linux/4.4.2/../../../../unicore32-linux/bin/ld:
cannot find /lib/libpthread.so.0
collect2: ld returned 1 exit status
libtool: install: error: relink `libjvm.la' with the above command
before installing it
make[4]: *** [install-dbexecLTLIBRARIES] Error 1
make[4]: Leaving directory
`/home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/vhome/FengYi/pxx/build_native/build_gcc/unicore32-linux/libjava'
make[1]: *** [install-target-libjava] Error 2
make[1]: Leaving directory `/home/vhome/FengYi/pxx/build_native/build_gcc'
make: *** [install] Error 2


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