This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
no asprintf on Solaris bootstrap
- To: java at gcc dot gnu dot org
- Subject: no asprintf on Solaris bootstrap
- From: Martin Kahlert <martin dot kahlert at infineon dot com>
- Date: Wed, 24 Oct 2001 11:08:45 +0200
- Reply-To: martin dot kahlert at infineon dot com
Hi,
i got this problem with gcc (cvs version) while bootstrapping on a Solaris 2.7
box: (configure --with-dwarf2 neccessary because of stabs problems,
http://gcc.gnu.org/ml/java-patches/2001-q4/msg00148.html neccessary because of
thread problems in garbage collector):
/data/lorentz_3/kahlert/obj/gcc/g++ -B/data/lorentz_3/kahlert/obj/gcc/ -nostdinc++ -I/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/sparcv9/libstdc++-v3/include/sparc-sun-solaris2.7 -I/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/sparcv9/libstdc++-v3/include -I/data/lorentz_3/kahlert/gcc/libstdc++-v3/libsupc++ -I/data/lorentz_3/kahlert/gcc/libstdc++-v3/libio -I/data/lorentz_3/kahlert/gcc/libstdc++-v3/include/backward -I/data/lorentz_3/kahlert/gcc/libstdc++-v3/testsuite -L/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/sparcv9/libstdc++-v3/src -L/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/sparcv9/libstdc++-v3/src/.libs -B/home/kahlert/GCC/sparc-sun-solaris2.7/bin/ -B/home/kahlert/GCC/sparc-sun-solaris2.7/lib/ -isystem /home/kahlert/GCC/sparc-sun-solaris2.7/include -m64 -DHAVE_CONFIG_H -I. -I../../../../gcc/libjava -I./include -I./gcj -I../../../../gcc/libjava -Iinclude -I../../../../gcc/libjava/include -I../../../../gcc/libjava/../boehm-gc/include -DGC_SOLARIS_THREADS=1 -DGC_SOLARIS_PTHREADS=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I../../../../gcc/libjava/libltdl -I../../../../gcc/libjava/libltdl -I../../../../gcc/libjava/.././libjava/../gcc -I../../../../gcc/libjava/../zlib -I../../../../gcc/libjava/../libffi/include -I../../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -I/usr/openwin/include -W -Wall -D_GNU_SOURCE -DPREFIX=\"/home/kahlert/GCC\" -g -O2 -m64 -Wp,-MD,.deps/natClassLoader.pp -c ../../../../gcc/libjava/java/lang/natClassLoader.cc -fPIC -DPIC -o java/lang/.libs/natClassLoader.o
../../../../gcc/libjava/java/lang/natClassLoader.cc: In member function
`java::lang::Class*
java::lang::ClassLoader::defineClass0(java::lang::String*, JArray<jbyte>*,
__java_int, __java_int, java::security::ProtectionDomain*)':
../../../../gcc/libjava/java/lang/natClassLoader.cc:60: warning: unused
parameter `java::lang::String*name'
../../../../gcc/libjava/java/lang/natClassLoader.cc:60: warning: unused
parameter `JArray<jbyte>*data'
../../../../gcc/libjava/java/lang/natClassLoader.cc:60: warning: unused
parameter `jint offset'
../../../../gcc/libjava/java/lang/natClassLoader.cc:60: warning: unused
parameter `jint length'
../../../../gcc/libjava/java/lang/natClassLoader.cc:60: warning: unused
parameter `java::security::ProtectionDomain*pd'
../../../../gcc/libjava/java/lang/natClassLoader.cc: In function `void
_Jv_RegisterClassHookDefault(java::lang::Class*)':
../../../../gcc/libjava/java/lang/natClassLoader.cc:458: `asprintf' undeclared
(first use this function)
../../../../gcc/libjava/java/lang/natClassLoader.cc:458: (Each undeclared
identifier is reported only once for each function it appears in.)
gmake[5]: *** [java/lang/natClassLoader.lo] Error 1
gmake[5]: Leaving directory `/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/sparcv9/libjava'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/sparcv9/libjava'
gmake[3]: *** [multi-do] Error 1
gmake[3]: Leaving directory `/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/libjava'
gmake[2]: *** [all-multi] Error 2
gmake[2]: Leaving directory `/data/lorentz_3/kahlert/obj/sparc-sun-solaris2.7/libjava'
gmake[1]: *** [all-target-libjava] Error 2
gmake[1]: Leaving directory `/data/lorentz_3/kahlert/obj'
gmake: *** [bootstrap] Error 2
Seems to me, that Solaris 2.7 is not bootstrapped that often...
obj/gcc/include/stdio.h is the only stdio.h available and is the fixincluded version
of /usr/include/stdio.h. Neither of them does contain asprintf.
--
The early bird catches the worm. If you want something else for
breakfast, get up later.