public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "htl10 at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/40947] Invalid flag usage: Wl,-rpath, -Wx,-option must appear after -_SYSTYPE_SVR4
Date: Tue, 02 Aug 2011 23:32:00 -0000	[thread overview]
Message-ID: <bug-40947-8172-nUiGzV6eEo@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-40947-8172@http.gcc.gnu.org/bugzilla/>

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

--- Comment #14 from Hin-Tak Leung <htl10 at users dot sourceforge.net> 2011-08-02 23:31:30 UTC ---
(In reply to comment #13)
> One other possible problem: please avoid relative pathnames to configure and
> an object directory that is a subdir of the source tree.  Better do (say)
> 
> mkdir /vol/gcc/obj/gcc-4.6.1
> cd /vol/gcc/obj/gcc-4.6.1
> /vol/gcc/src/gcc-4.6.1/configure <options>

Tried specifying full path instead of relative path in configure. Still exactly
the same problem. With 4.6.1 (source is untar'ed to
/home/htl10/tmp-build/gcc-4.4.6):

cd /home/htl10/tmp-build/
mkdir gcc-446-obj
cd gcc-446-obj
/home/htl10/tmp-build/gcc-4.4.6/configure
make

last part of output:
-------------------
libtool: link: /home/htl10/tmp-build/gcc-446-obj/gcc/gcj
-B/home/htl10/tmp-build/gcc-446-obj/alphaev68-dec-osf5.1a/libjava/
-B/home/htl10/tmp-build/gcc-446-obj/gcc/ -mieee -g -O2 -o .libs/jv-convert
--main=gnu.gcj.convert.Convert -shared-libgcc 
-L/home/htl10/tmp-build/gcc-446-obj/alphaev68-dec-osf5.1a/libjava/.libs
-L/home/htl10/tmp-build/gcc-446-obj/alphaev68-dec-osf5.1a/libjava
./.libs/libgcj.so -lpthread -lrt -Wl,-rpath -Wl,/usr/local/lib
/bin/ld:
Invalid flag usage: Wl,-rpath, -Wx,-option must appear after -_SYSTYPE_SVR4 
/bin/ld: Usage: /bin/ld [options] file [...]
collect2: ld returned 1 exit status
make[3]: *** [jv-convert] Error 1
make[3]: Leaving directory
`/home/htl10/tmp-build/gcc-446-obj/alphaev68-dec-osf5.1a/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/htl10/tmp-build/gcc-446-obj/alphaev68-dec-osf5.1a/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/home/htl10/tmp-build/gcc-446-obj'
make: *** [all] Error 2
bash-2.05a# 
------------------------


  parent reply	other threads:[~2011-08-02 23:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-40947-8172@http.gcc.gnu.org/bugzilla/>
2010-12-15 14:57 ` htl10 at users dot sourceforge.net
2010-12-15 19:23 ` rwild at gcc dot gnu.org
2010-12-16  0:23 ` htl10 at users dot sourceforge.net
2011-04-30 19:04 ` htl10 at users dot sourceforge.net
2011-04-30 19:16 ` htl10 at users dot sourceforge.net
2011-04-30 20:53 ` htl10 at users dot sourceforge.net
2011-05-01 10:18 ` htl10 at users dot sourceforge.net
2011-07-19 12:10 ` ro at gcc dot gnu.org
2011-07-19 12:12 ` ro at gcc dot gnu.org
2011-08-02 23:32 ` htl10 at users dot sourceforge.net [this message]
2011-08-03 11:38 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-08-03 15:39 ` htl10 at users dot sourceforge.net
2011-08-03 15:43 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-08-05  5:48 ` htl10 at users dot sourceforge.net
2012-09-01 14:32 ` htl10 at users dot sourceforge.net
2012-09-10 16:28 ` htl10 at users dot sourceforge.net
2012-09-10 21:21 ` htl10 at users dot sourceforge.net
2009-08-03  8:55 [Bug libgcj/40947] New: " htl10 at users dot sourceforge dot net
2009-08-03  8:57 ` [Bug libgcj/40947] " htl10 at users dot sourceforge dot net
2010-07-14 10:05 ` htl10 at users dot sourceforge dot net
2010-07-15 21:29 ` htl10 at users dot sourceforge dot net

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-40947-8172-nUiGzV6eEo@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).