From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13000 invoked by alias); 3 Aug 2011 15:39:45 -0000 Received: (qmail 12963 invoked by uid 22791); 3 Aug 2011 15:39:43 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Aug 2011 15:39:27 +0000 From: "htl10 at users dot sourceforge.net" To: java-prs@gcc.gnu.org Subject: [Bug libgcj/40947] Invalid flag usage: Wl,-rpath, -Wx,-option must appear after -_SYSTYPE_SVR4 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcj X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: htl10 at users dot sourceforge.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Known to work Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 03 Aug 2011 15:39:00 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2011-q3/txt/msg00012.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40947 Hin-Tak Leung changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.6.1 --- Comment #16 from Hin-Tak Leung 2011-08-03 15:38:30 UTC --- (In reply to comment #15) > > Invalid flag usage: Wl,-rpath, -Wx,-option must appear after -_SYSTYPE_SVR4 > > What I do see is that if you add some -W option to ld, you get exactly > the message you observe. E.g. That's stating the obvious... it is essentially what the error message is complaining ('flags must be ordered in some way") > Do you happen to have some environment variable set to -W? > Though I have found no hint that ld would check for this, it's a > possibility. No I don't - just tried export |grep W . In any case, 4.6.1 does not show this problem, so it seems to be fixed in 4.6.1 somehow; and it is *not* full/relative path related.