Mainline Is Busted for Java
John David Anglin
dave@hiauly1.hia.nrc.ca
Wed Apr 7 14:08:00 GMT 2004
Java also broke yesterday on hppa-linux:
/home/dave/gcc-3.5/objdir/gcc/xgcc -shared-libgcc -B/home/dave/gcc-3.5/objdir/gc
c/ -nostdinc++ -L/home/dave/gcc-3.5/objdir/hppa-linux/libstdc++-v3/src -L/home/d
ave/gcc-3.5/objdir/hppa-linux/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gc
c-3.5/hppa-linux/bin/ -B/home/dave/opt/gnu/gcc/gcc-3.5/hppa-linux/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-3.5/hppa-linux/include -isystem /home/dave/opt/gnu/gc
c/gcc-3.5/hppa-linux/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc/libjava -I./
include -I./gcj -I../../../gcc/libjava -Iinclude -I../../../gcc/libjava/include
-I/home/dave/gcc-3.5/gcc/boehm-gc/include -DPACKAGE_NAME= -DPACKAGE_TARNAME= -DP
ACKAGE_VERSION= -DPACKAGE_STRING= -DPACKAGE_BUGREPORT= -DGC_LINUX_THREADS=1 -D_R
EENTRANT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDL
IB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=
1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DALL_INTERIOR_P
OINTERS=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/../li
bffi/include -I../libffi/include -O2 -g -O2 -fno-rtti -fnon-call-exceptions -fdo
llars-in-identifiers -Wswitch-enum -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -
DPREFIX=\"/home/dave/opt/gnu/gcc/gcc-3.5\" -DLIBDIR=\"/home/dave/opt/gnu/gcc/gcc
-3.5/lib\" -DBOOT_CLASS_PATH=\"/home/dave/opt/gnu/gcc/gcc-3.5/share/java/libgcj-
3.5.0.jar\" -g -O2 -D_GNU_SOURCE -MD -MT java/net/natInetAddress.lo -MF java/net
/natInetAddress.pp -c java/net/natInetAddress.cc -fPIC -DPIC -o java/net/.libs/
natInetAddress.o
java/net/natInetAddress.cc: In static member function `static JArray<java::net::InetAddress*>* java::net::InetAddress::lookup(java::lang::String*, java::net::InetAddress*, jboolean)':
java/net/natInetAddress.cc:116: error: aggregate `hostent_data fixed_buffer' has incomplete type and cannot be defined
java/net/natInetAddress.cc:148: error: cannot convert `hostent_data*' to `char*' for argument `3' to `int gethostbyname_r(const char*, hostent*, char*, size_t, hostent**, int*)'
java/net/natInetAddress.cc:201: error: cannot convert `hostent_data*' to `char*' for argument `5' to `int gethostbyaddr_r(const void*, __socklen_t, int, hostent*, char*, size_t, hostent**, int*)'
For some reason, this error didn't stop the build. I guess that's the problem
with the gcc driver that's been reported by Kenner and others.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the Gcc
mailing list