This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build] Only support -gstabs on Mac OS X if assember supports it (PR target/67973)
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Iain Sandoe <iain at codesourcery dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, Mike Stump <mikestump at comcast dot net>
- Date: Mon, 14 Dec 2015 12:21:14 +0100
- Subject: Re: [build] Only support -gstabs on Mac OS X if assember supports it (PR target/67973)
- Authentication-results: sourceware.org; auth=none
- References: <ydd7fkh71pw dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <ECCE33FA-694E-46A2-AB8F-476AC0A5B449 at codesourcery dot com> <yddy4cx5lle dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <0456742D-96BF-417F-BB5F-62BD25556013 at codesourcery dot com>
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