This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ada] Restore Ada bootstrap on Solaris 8, 9/x86
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Arnaud Charlet <charlet at adacore dot com>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>, gcc-patches at gcc dot gnu dot org, Uros Bizjak <ubizjak at gmail dot com>
- Date: Mon, 26 Sep 2011 12:55:41 +0200
- Subject: Re: [ada] Restore Ada bootstrap on Solaris 8, 9/x86
- References: <yddsjnn37fo.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <20110923100211.GD61972@adacore.com>
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