On 05/24/2018 04:34 PM, co...@sdf.org wrote: > On Thu, May 24, 2018 at 01:32:17PM -0600, Jeff Law wrote: >> On 05/24/2018 01:17 PM, co...@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