This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, alpha] PR target/85095
- From: Jeff Law <law at redhat dot com>
- To: coypu at sdf dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Jun 2018 11:29:20 -0600
- Subject: Re: [PATCH, alpha] PR target/85095
- References: <20180524135451.GA3587@SDF.ORG> <a280454c-8819-0c91-472d-8f961a2305f4@redhat.com> <20180524191748.GC26305@SDF.ORG> <d45ccbd9-243c-8b51-aaff-b7f10470679d@redhat.com> <20180524223440.GA27984@SDF.ORG>
On 05/24/2018 04:34 PM, coypu@sdf.org wrote:
> On Thu, May 24, 2018 at 01:32:17PM -0600, Jeff Law wrote:
>> On 05/24/2018 01:17 PM, coypu@sdf.org wrote:
>>> On Thu, May 24, 2018 at 12:48:22PM -0600, Jeff Law wrote:
>>>> On 05/24/2018 07:54 AM, Maya Rashish wrote:
>>>>> Move linux-specific specfile definitions to linux.h
>>>>> gcc/config/alpha/linux.h (STARTFILE_SPEC, ENDFILE_SPEC) move from alpha/elf.h
>>>>> ---
>>>>> gcc/config/alpha/elf.h | 26 --------------------------
>>>>> gcc/config/alpha/linux.h | 26 ++++++++++++++++++++++++++
>>>>> 2 files changed, 26 insertions(+), 26 deletions(-)
>>>> So is there going to be some kind of follow-up to fix freebsd, netbsd
>>>> and openbsd which currently get their STARTFILE/ENDFILE from elf.h?
>>>>
>>>> jeff
>>>
>>> I can try to fix openbsd soon, but freebsd dropped alpha in 2009.
>>> How does gcc feel about me picking up patches from openbsd ports, their
>>> package manager, that weren't written by myself?
>> So ISTM we should deprecate freebsd alpha.
>>
>> WRT picking up bits from others. It'd really depend on their size and
>> complexity -- I'd have to see them to be able to judge. I'll review if
>> you extract the necessary bits and submit them.
>>
>> Jeff
>
> - With the original patch
> - Attached patch to update the specfile for openbsd from openbsd ports
> (It is here: https://github.com/openbsd/ports/blob/master/lang/gcc/6/patches/patch-gcc_config_alpha_openbsd_h )
> - Attached patch to recognise cross compilation for openbsd (from me)
> - A violent hack of "borrowing" stdatomic.h from a newer GCC
> - Disabling libssp
>
> I can build trunk for openbsd--alpha.
>
Thanks. I've created a ChangeLog and applied your first patch as well
as this one.
Jeff