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: Iain Sandoe <iain at codesourcery dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: <gcc-patches at gcc dot gnu dot org>, Mike Stump <mikestump at comcast dot net>
- Date: Mon, 14 Dec 2015 11:18:45 +0000
- 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>
Hi Rainer,
> 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).
Iain