[Bug libgcj/40947] Invalid flag usage: Wl,-rpath, -Wx,-option must appear after -_SYSTYPE_SVR4
htl10 at users dot sourceforge.net
gcc-bugzilla@gcc.gnu.org
Wed Aug 3 15:39:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40947
Hin-Tak Leung <htl10 at users dot sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.6.1
--- Comment #16 from Hin-Tak Leung <htl10 at users dot sourceforge.net> 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<something>?
> 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.
More information about the Java-prs
mailing list