public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "bjg at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/42524]  New: gcc-4.4.2 build fails on gcj with unrecognized option '-Wl,-rpath'
Date: Mon, 28 Dec 2009 21:42:00 -0000	[thread overview]
Message-ID: <bug-42524-16145@http.gcc.gnu.org/bugzilla/> (raw)

Doing a complete build from scratch fails with the following error on the gcj
link step.

~/ftp/gcc-4.4.2/configure --prefix=/gd/gnu/gnusys/live/
--with-mpfr=/gd/gnu/gnusys/live --with-gmp=/gd/gnu/gnusys/live

libtool: link: ar rc .libs/libgcj_bc.a  libgcj_bc.o
libtool: link: ranlib .libs/libgcj_bc.a
libtool: link: ( cd ".libs" && rm -f "libgcj_bc.la" && ln -s "../libgcj_bc.la"
"libgcj_bc.la" )
/bin/bash ./libtool --tag=GCJ --mode=link /home/b/bjg/ftp/build/gcc/gcj
-B/home/b/bjg/ftp/build/x86_64-unknown-linux-gnu/libjava/
-B/home/b/bjg/ftp/build/gcc/
-L/home/b/bjg/ftp/build/x86_64-unknown-linux-gnu/libjava -fomit-frame-pointer
-g -O2  -o jv-convert --main=gnu.gcj.convert.Convert -rpath
/gd/gnu/gnusys/live//lib/../lib64 -shared-libgcc   
-L/home/b/bjg/ftp/build/x86_64-unknown-linux-gnu/libjava/.libs libgcj.la 
libtool: link: /home/b/bjg/ftp/build/gcc/gcj
-B/home/b/bjg/ftp/build/x86_64-unknown-linux-gnu/libjava/
-B/home/b/bjg/ftp/build/gcc/ -fomit-frame-pointer -g -O2 -o .libs/jv-convert
--main=gnu.gcj.convert.Convert -shared-libgcc 
-L/home/b/bjg/ftp/build/x86_64-unknown-linux-gnu/libjava/.libs
-L/home/b/bjg/ftp/build/x86_64-unknown-linux-gnu/libjava ./.libs/libgcj.so
-lpthread -lrt -ldl -Wl,-rpath -Wl,/gd/gnu/gnusys/live//lib/../lib64
/usr/bin/ld: unrecognized option '-Wl,-rpath'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[3]: *** [jv-convert] Error 1
make[3]: Leaving directory
`/srv/data/home/b/bjg/ftp/build/x86_64-unknown-linux-gnu/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/srv/data/home/b/bjg/ftp/build/x86_64-unknown-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/srv/data/home/b/bjg/ftp/build'
make: *** [all] Error 2


-- 
           Summary: gcc-4.4.2 build fails on gcj with unrecognized option '-
                    Wl,-rpath'
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bjg at gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu


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


             reply	other threads:[~2009-12-28 21:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-28 21:42 bjg at gnu dot org [this message]
2009-12-28 21:48 ` [Bug java/42524] " bjg at gnu dot org
2010-01-24 13:47 ` bjg at 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-42524-16145@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: link
Be 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).