[ada] Restore Ada bootstrap on Solaris 8, 9/x86

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Sep 26 12:27:00 GMT 2011


Arnaud Charlet <charlet@adacore.com> writes:

>> Mainline Ada bootstrap is currently broken on Solaris 8 and 9/x86 with
>> Sun as:
>> 
>> Assembler: a-strunb.adb
>> 	"/var/tmp//cc6ZxWWa.s", line 2395 : Syntax error
>> 	"/var/tmp//cc6ZxWWa.s", line 2591 : Syntax error
>> make[7]: *** [a-strunb.o] Error 1
>> 
>> The problem is that s-atocou-x86.adb uses lock incl resp. lock decl,
>> where older Sun as requires lock; incl.  This is exactly what %; was
>> introduced for, which is already used in i386/sync.md.
>> 
>> The following patch uses it and allowed i386-pc-solaris2.[89] bootstraps
>> to complete.  Testing is currently running, and I'll also bootstrap with
>> gas instead of as once that's finished.
>> 
>> Ok for mainline if those tests pass?
>
> Assuming it does not break x86 linux, OK.

An x86_64-unknown-linux-gnu bootstrap finished without regressions, so
I've installed the patch.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list