This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix eh on tru64 [Re: libjava status on Tru64 UNIX V5.1]


Roger Sayle writes:

> Yep, with the same invocation on your test files I get the same warning.
> However if you change the command line to "../xgcc -B../ -Wl,-S -o def
> main.c def?.s -v" the warning goes away.  It looks like Tru64's ld is
> sensitive to the order of command line options, and placing "-S" before
> the files to be linked, silences the multiple definition warnings.

Silly me, I thought I had tried that.

> I hope this helps.

Indeed: thanks alot.  I'll re-bootstrap with a patch to enable this
permanently.

	Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]