public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "tim dot vanholder at anubex dot com" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/35367] New: Linux x86 build (with --enable-targets=all, so also building with cross-to-x64 multilib configuration) fails in libjava (prims.cc) Date: Mon, 25 Feb 2008 13:54:00 -0000 [thread overview] Message-ID: <bug-35367-1258@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2008-02-25 13:54 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-02-25 13:54 tim dot vanholder at anubex dot com [this message] 2009-05-18 7:44 ` [Bug libgcj/35367] " debian-gcc at lists dot debian dot org 2010-07-06 13:02 ` froydnj at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-35367-1258@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).