public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* relinking `libjvm.la' error when make install libjava
       [not found] <AANLkTinM05vui5tJ2QnsjZZdiGGka2i+yKA6JRFW2d96@mail.gmail.com>
@ 2010-12-16 15:21 ` majia gm
  2010-12-16 18:23   ` Ralf Wildenhues
  0 siblings, 1 reply; 2+ messages in thread
From: majia gm @ 2010-12-16 15:21 UTC (permalink / raw)
  To: gcc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: relinking `libjvm.la' error when make install libjava
  2010-12-16 15:21 ` relinking `libjvm.la' error when make install libjava majia gm
@ 2010-12-16 18:23   ` Ralf Wildenhues
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Wildenhues @ 2010-12-16 18:23 UTC (permalink / raw)
  To: majia gm; +Cc: gcc

Hello,

* majia gm wrote on Thu, Dec 16, 2010 at 04:21:14PM CET:
> 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.

Can you please open up a bugzilla entry with all the details asked for
in http://gcc.gnu.org/bugs/ ?  Esp. how you invoke configure, make,
make install exactly.  Thanks.

It would be great if you could retry with 4.5.2 or trunk (or a nightly
snapshot) to see whether the behavior is still present.

This might be one of those issues where --with-sysroot is missing,
or that is fixed by newer libtool, or both; I can't tell yet.

Thanks,
Ralf

[...]
>  /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'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-16 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTinM05vui5tJ2QnsjZZdiGGka2i+yKA6JRFW2d96@mail.gmail.com>
2010-12-16 15:21 ` relinking `libjvm.la' error when make install libjava majia gm
2010-12-16 18:23   ` Ralf Wildenhues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).