public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/44341]  New: [4.6 Regression] libjava cross build fails when configured with --with-gmp=
@ 2010-05-31  1:02 kkojima at gcc dot gnu dot org
  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
  0 siblings, 2 replies; 3+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2010-05-31  1:02 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/44341] [4.6 Regression] libjava cross build fails when configured with --with-gmp=
  2010-05-31  1:02 [Bug libgcj/44341] New: [4.6 Regression] libjava cross build fails when configured with --with-gmp= kkojima at gcc dot gnu dot org
@ 2010-06-24 21:33 ` rguenth at gcc dot gnu dot org
  2010-09-02 10:48 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-24 21:33 UTC (permalink / raw)
  To: java-prs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44341


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/44341] [4.6 Regression] libjava cross build fails when configured with --with-gmp=
  2010-05-31  1:02 [Bug libgcj/44341] New: [4.6 Regression] libjava cross build fails when configured with --with-gmp= kkojima at gcc dot gnu dot org
  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
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-02 10:48 UTC (permalink / raw)
  To: java-prs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrs at gcc dot gnu dot org
           Priority|P3                          |P1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44341


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-02 10:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-31  1:02 [Bug libgcj/44341] New: [4.6 Regression] libjava cross build fails when configured with --with-gmp= kkojima at gcc dot gnu dot org
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

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).