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: [build] Only support -gstabs on Mac OS X if assember supports it (PR target/67973)


Hi Iain,

>> On 14 Dec 2015, at 11:13, Rainer Orth <ro@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.

	Rainer

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


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