> On 14 Dec 2015, at 11:21, Rainer Orth <r...@cebitec.uni-bielefeld.de> wrote:
> 
> Hi Iain,
> 
>>> On 14 Dec 2015, at 11:13, Rainer Orth <r...@cebitec.uni-bielefeld.de> wrote:
>>> 
>>>>> However, I'm not really comfortable with this solution.  Initially, I
>>>>> forgot to wrap the -Q option to as in %{gstabs*:...}, which lead to a
>>>>> bootstrap failure: the gas- and LLVM-based assemblers differ in a
>>>>> number of other ways, as can be seen when comparing gcc/auto-host.h:
>>>> 
>>>> FAOD, 
>>>> the changes below only occur if you omit the guard on “-Q” ?
>>>> or they are present always?
>>> 
>>> they are from previous builds, one with the LLVM-based /usr/bin/as, the
>>> other configure with --with-as=/vol/gcc/bin/as-6.4 (gas-based as from
>>> Xcode 6.4).
>> 
>> Hrm, this needs more investigation, and will affect 10.10 too, since xc7 is
>> the default there.
>> (separate issue, let’s start a new PR, or at least a new thread).
> 
> right, but it's only an issue if you switch assemblers (or linkers) used
> by gcc without rebuilding.  This has never been safe on any platform.

The issue that worries me is that the new assembler supports .cfi_xxx (YAY!), 
but the Darwin port is not 100% ready for it yet (BOO!) (I have patches, and 
expect to make them available for folks to try in the next ~ 2 weeks).  
However, still not sure that they would exactly be stage3 stuff.

Did you say that bootstrap fails if -Q is jammed in everywhere?
(that would be a short-term safety net, falling back to the cctools assembler).

Iain

Reply via email to