Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-26 Thread David Miller
From: Rainer Orth Date: Tue, 26 Apr 2011 17:25:56 +0200 > David, > >>> Thanks Rainer, if you cons up a patch to add the ".align" directive I'll ACK >>> that as well. >> >> here's the patch that I've been testing over the weekend. It caused no >> change for HAVE_AS_SPARC_GOTDATA_OP on anything b

Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-26 Thread Paolo Bonzini
On 04/26/2011 05:25 PM, Rainer Orth wrote: David, Thanks Rainer, if you cons up a patch to add the ".align" directive I'll ACK that as well. here's the patch that I've been testing over the weekend. It caused no change for HAVE_AS_SPARC_GOTDATA_OP on anything but Solaris 10 with gas and Sun

Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-26 Thread Rainer Orth
David, >> Thanks Rainer, if you cons up a patch to add the ".align" directive I'll ACK >> that as well. > > here's the patch that I've been testing over the weekend. It caused no > change for HAVE_AS_SPARC_GOTDATA_OP on anything but Solaris 10 with gas > and Sun ld, where HAVE_AS_SPARC_GOTDATA_OP

Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-18 Thread Rainer Orth
David, > Thanks Rainer, if you cons up a patch to add the ".align" directive I'll ACK > that as well. here's the patch that I've been testing over the weekend. It caused no change for HAVE_AS_SPARC_GOTDATA_OP on anything but Solaris 10 with gas and Sun ld, where HAVE_AS_SPARC_GOTDATA_OP is 1 now

Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-14 Thread Rainer Orth
David Miller writes: > Thanks Rainer, if you cons up a patch to add the ".align" directive I'll ACK > that as well. That's my plan: I'll include such a patch in my S8 to S11 bootstraps over the weekend to make sure nothing breaks. Rainer --

Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-13 Thread David Miller
From: Rainer Orth Date: Wed, 13 Apr 2011 19:16:32 +0200 > David Miller writes: > >> From: Rainer Orth >> Date: Tue, 12 Apr 2011 15:00:53 +0200 >> >>> On Solaris 10, as assembles the test just fine, but ld cannot deal with >>> gas 2.21 output: >>> >>> ld: fatal: relocation error: R_SPARC_GOTDA

Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-13 Thread Rainer Orth
David Miller writes: > From: Rainer Orth > Date: Tue, 12 Apr 2011 15:00:53 +0200 > >> On Solaris 10, as assembles the test just fine, but ld cannot deal with >> gas 2.21 output: >> >> ld: fatal: relocation error: R_SPARC_GOTDATA_HIX22: file gotdata.o: symbol >> : offset 0xff370163 is non-align

Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-12 Thread David Miller
From: Rainer Orth Date: Tue, 12 Apr 2011 15:00:53 +0200 > On Solaris 10, as assembles the test just fine, but ld cannot deal with > gas 2.21 output: > > ld: fatal: relocation error: R_SPARC_GOTDATA_HIX22: file gotdata.o: symbol > : offset 0xff370163 is non-aligned > ld: fatal: relocation error:

Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-12 Thread Rainer Orth
David Miller writes: > From: Rainer Orth > Date: Mon, 11 Apr 2011 14:57:58 +0200 > >> The follwing patch uses the easy way out and just tests ld_ver. Tested >> with make configure-gcc on sparc-sun-solaris2.11 with Sun as/ld, GNU >> as/Sun ld, and GNU as/ld without change to gcc/auto-host.h and

Re: [build] Avoid ld -v error message with Sun ld on SPARC

2011-04-11 Thread David Miller
From: Rainer Orth Date: Mon, 11 Apr 2011 14:57:58 +0200 > The follwing patch uses the easy way out and just tests ld_ver. Tested > with make configure-gcc on sparc-sun-solaris2.11 with Sun as/ld, GNU > as/Sun ld, and GNU as/ld without change to gcc/auto-host.h and no linker > error. Just out of

[build] Avoid ld -v error message with Sun ld on SPARC

2011-04-11 Thread Rainer Orth
While observing the output from gcc/configure on Solaris 11/SPARC, I noticed the following error: checking assembler for GOTDATA_OP relocs... ld: fatal: unrecognized option '-v' ld: fatal: use the -z help option for usage information yes There are at least two problems here: * Sun ld doesn't sup