public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "kkojima at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/44341] New: [4.6 Regression] libjava cross build fails when configured with --with-gmp= Date: Mon, 31 May 2010 01:02:00 -0000 [thread overview] Message-ID: <bug-44341-5208@http.gcc.gnu.org/bugzilla/> (raw) Java enabled cross build for sh4-unknown-linux-gnu on i686-pc-linux-gnu host fails during linking libjavamath.so: libtool: link: /exp/ldroot/dodes/xsh-gcc-orig/./gcc/xgcc -B/exp/ldroot/dodes/xsh-gcc-orig/./gcc/ -B/usr/local/sh4-unknown-linux-gnu/bin/ -B/usr/local/sh4-unknown-linux-gnu/lib/ -isystem /usr/local/sh4-unknown-linux-gnu/include -isystem /usr/local/sh4-unknown-linux-gnu/sys-include -shared .libs/gnu_java_math_GMP.o ../../../native/jni/classpath/.libs/jcl.o -L/opt2/i686-pc-linux-gnu/lib /opt2/i686-pc-linux-gnu/lib/libgmp.so -Wl,-soname -Wl,libjavamath.so -o .libs/libjavamath.so /opt2/i686-pc-linux-gnu/lib/libgmp.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[6]: *** [libjavamath.la] Error 1 when configured with --with-gmp=/opt2/i686-pc-linux-gnu. It seems that svn log libjava/classpath/configure.ac | head ------------------------------------------------------------------------ r160037 | mrs | 2010-05-30 05:54:18 +0900 (Sun, 30 May 2010) | 4 lines * configure.ac: Add multilib support for gmp. Proper -I and -L flags for gmp are added. * configure: Regenerate. doesn't work for cross builds and now attempts to link a host gmp library specified with --with-gmp to the target library. -- Summary: [4.6 Regression] libjava cross build fails when configured with --with-gmp= Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kkojima at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: sh4-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44341
next reply other threads:[~2010-05-31 1:02 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-05-31 1:02 kkojima at gcc dot gnu dot org [this message] 2010-06-24 21:33 ` [Bug libgcj/44341] " rguenth at gcc dot gnu dot org 2010-09-02 10:48 ` rguenth 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-44341-5208@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).