configured by ../../../src/gcc/configure, generated by GNU Autoconf 2.59, with options " '-v' '--prefix=/opt/experimental' '--enable-shared' '--with-system-zlib' '--enable-threads=posix' '--enable-nls' '--enable-clocale=gnu' '--enable-libstdcxx-debug' '--enable-libffi' '--enable-objc-gc' '--enable-mpfr' '--enable-targets=all' '--enable-checking=release' '--enable-languages=c,ada,c++,fortran,java,objc,obj-c++,treelang'"
system: Debian linux (lenny/sid; building gcc myself because I'm stuck with kernel 2.4 so am unable to install newer debian packages) libtool: compile: /home/tim/gnu/build/linux/gcc/./gcc/xgcc -shared-libgcc -B/home/tim/gnu/build/linux/gcc/./gcc -nostdinc++ -L/home/tim/gnu/build/linux/gcc/i686-pc-linux-gnu/64/libstdc++-v3/src -L/home/tim/gnu/build/linux/gcc/i686-pc-linux-gnu/64/libstdc++-v3/src/.libs -B/opt/experimental/i686-pc-linux-gnu/bin/ -B/opt/experimental/i686-pc-linux-gnu/lib/ -isystem /opt/experimental/i686-pc-linux-gnu/include -isystem /opt/experimental/i686-pc-linux-gnu/sys-include -m64 -DHAVE_CONFIG_H -I. -I../../../../../../src/gcc/libjava -I./include -I./gcj -I../../../../../../src/gcc/libjava -Iinclude -I../../../../../../src/gcc/libjava/include -I../../../../../../src/gcc/libjava/classpath/include -Iclasspath/include -I../../../../../../src/gcc/libjava/classpath/native/fdlibm -I../../../../../../src/gcc/libjava/../boehm-gc/include -I../boehm-gc/include -I../../../../../../src/gcc/libjava/libltdl -I../../../../../../src/gcc/libjava/libltdl -I../../../../../../src/gcc/libjava/.././libjava/../gcc -I../../../../../../src/gcc/libjava/../zlib -I../../../../../../src/gcc/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -ffloat-store -fomit-frame-pointer -Usun -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/opt/experimental\" -DTOOLEXECLIBDIR=\"/opt/experimental/lib/../lib64\" -DJAVA_HOME=\"/opt/experimental\" -DBOOT_CLASS_PATH=\"/opt/experimental/share/java/libgcj-4.3.0.jar\" -DJAVA_EXT_DIRS=\"/opt/experimental/share/java/ext\" -DGCJ_ENDORSED_DIRS=\"/opt/experimental/share/java/gcj-endorsed\" -DGCJ_VERSIONED_LIBDIR=\"/opt/experimental/lib/../lib64/gcj-4.3.0-9\" -DPATH_SEPARATOR=\":\" -DECJ_JAR_FILE=\"\" -DLIBGCJ_DEFAULT_DATABASE=\"/opt/experimental/lib/../lib64/gcj-4.3.0-9/classmap.db\" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.3.0/classmap.db\" -g -O2 -D_GNU_SOURCE -m64 -MT prims.lo -MD -MP -MF .deps/prims.Tpo -c ../../../../../../src/gcc/libjava/prims.cc -fPIC -DPIC -o .libs/prims.o ../../../../../../src/gcc/libjava/prims.cc: In function 'void _Jv_catch_fpe(int, siginfo_t*, void*)': ../../../../../../src/gcc/libjava/prims.cc:193: error: cast from 'unsigned char*' to 'greg_t' loses precision This seems to be a bug in the configury, as java-signal.h is linked to i386-signal.h instead of x86_64-signal.h in i686-pc-linux-gnu/64/libjava. Adjusting that link is not enough to make the build succeed (it still gives the same error, with additional errors about REG_RIP/RAX/RDX not being declared). -- Summary: Linux x86 build (with --enable-targets=all, so also building with cross-to-x64 multilib configuration) fails in libjava (prims.cc) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tim dot vanholder at anubex dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35367