This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
UPDATE: Does not exist error during libjava compile in gcc
- From: Terry L Moore <tmoore at redwood dot rsc dot raytheon dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 29 Jun 2004 08:04:09 -0600 (MDT)
- Subject: UPDATE: Does not exist error during libjava compile in gcc
- Reply-to: Terry L Moore <tmoore at redwood dot rsc dot raytheon dot com>
Took another look this morning. I found that using:
grep -v "^#" /export/home/gnu/gcc-3.4.0/libjava/libtool-version
gave the correct output, "5:0:0" ever time. But the syntax from the Makefile:
grep -v '^#' /export/home/gnu/gcc-3.4.0/libjava/libtool-version
would only give the correct output after a successful run of the first line.
Otherwise, it would never come back. Looking at truss, it was waiting on an
input from STDIN. A control-d would cause it to end, never having looked at the
file. The file, /export/home/gnu/gcc-3.4.0/libjava/libtool-version, does exist,
and is read successfully by the first example above. I will be altering the
Makefile and trying again. But this seems to be a bug somewhere.
Am I missing something?
Terry
------------- Begin Forwarded Message -------------
Date: Mon, 28 Jun 2004 14:52:04 -0600 (MDT)
From: Terry L Moore <tmoore@redwood.dn.rsc.raytheon.com>
Subject: Does not exist error during libjava compile in gcc
To: gcc@gcc.gnu.org
Content-MD5: 8vLo41/NhFTaJ/HjGUAPDQ==
HI,
Well, I've put down most of the daemons that raised their ugly heads, but
this one has me stumped. I'm getting this error:
make[5]: Entering directory
`/usr/local/gcc/sparc-sun-solaris2.8/sparcv9/libjava'
Creating list of files to link...
/bin/ksh ./libtool --tag=CXX --mode=link /usr/local/gcc/gcc/xgcc -shared-libgcc
-B/usr/local/gcc/gcc/ -nostdinc++
-L/usr/local/gcc/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src
-L/usr/local/gcc/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs
-B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/
-isystem /usr/local/sparc-sun-solaris2.8/include -isystem
/usr/local/sparc-sun-solaris2.8/sys-include -m64
-L/usr/local/gcc/sparc-sun-solaris2.8/sparcv9/libjava -g -O2 -m64 -m64 -o
libgcj.la -objectlist libgcj.objectlist \
../boehm-gc/libgcjgc_convenience.la ../libffi/libffi_convenience.la
../zlib/libzgcj_convenience.la \
-rpath /usr/local/lib/sparcv9 -rpath /usr/local/lib/sparcv9 -lpthread -lrt
./libltdl/libltdlc.la -version-info `/usr/bin/grep -v '^#'
/export/home/gnu/gcc-3.4.0/libjava/libtool-version `
libtool: link: link input file `' does not exist
make[5]: *** [libgcj.la] Error 1
make[5]: Leaving directory `/usr/local/gcc/sparc-sun-solaris2.8/sparcv9/libjava'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/gcc/sparc-sun-solaris2.8/sparcv9/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/usr/local/gcc/sparc-sun-solaris2.8/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/usr/local/gcc/sparc-sun-solaris2.8/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/usr/local/gcc'
make: *** [bootstrap] Error 2
from config.status:
# /export/home/gnu/gcc-3.4.0/configure --with-tune=ultrasparc
--with-gcc-version-trigger=/export/home/gnu/gcc-3.4.0/gcc/version.c
I did change the nm used in the config.cache to use the solaris one. Also,
I had to specify the gnu make with the full path when I did the "<fullpath>/make
bootstrap"
The first time this particular error occured, I tried putting the full path
for grep in the Makefile and also adding a space to the end of the ` call. As
you can see, neither one helped.
Can you suggest what I might try next? Thanks!
Terry
------------- End Forwarded Message -------------