Re: Re: PR39570 (gfortran) cabs and cabsf are named differently on NetBSD 5

2015-02-04 Thread Krister Walfridsson
Apologies for the slow response. On Mon, 26 Jan 2015, Kai-Uwe Eckhardt wrote: according to gcc/MAINTAINERS Jason and Krister are NetBSD maintainers for GCC and can approve patches like yours, so let me copy them. (Should this be applied now, at least the copyright years need to be adjusted to

Re: [PATCH] target/58397: add host_hooks for NetBSD to make precompiled headers work

2018-11-25 Thread Krister Walfridsson
On Sun, 25 Nov 2018, Maya Rashish wrote: gcc/config.host | 4 ++ gcc/config/host-netbsd.c | 85 gcc/config/x-netbsd | 4 ++ 3 files changed, 93 insertions(+) create mode 100644 gcc/config/host-netbsd.c create mode 100644 gcc/config/x-netbsd

committed: Remove libgcc/config.host check for aout NetBSD releases

2017-07-08 Thread Krister Walfridsson
I have committed the attached patch to remove a check for obsolete NetBSD aout releases from the 1990s. Bootstrapped and tested on i386-unknown-netbsdelf6.1 and x86_64-unknown-netbsd6.1. /Krister 2017-07-09 Krister Walfridsson * config.host (*-*-netbsd*): Remove check for aout

committed: Always assume NetBSD support pthreads

2017-07-08 Thread Krister Walfridsson
I have committed the attached patch to remove checks for obsolete NetBSD releases from the 1990s that do not support pthreads. Bootstrapped and tested on i386-unknown-netbsdelf6.1 and x86_64-unknown-netbsd6.1. /Krister 2017-07-09 Krister Walfridsson * config.gcc (*-*-netbsd

[committed] Always assume NetBSD provides __cxa_atexit

2017-07-23 Thread Krister Walfridsson
I have committed the attached patch to remove checks for obsolete NetBSD releases from the 1990s that do not provide __cxa_atexit. Bootstrapped and tested on i386-unknown-netbsdelf6.1 and x86_64-unknown-netbsd6.1. /Krister 2017-07-23 Krister Walfridsson * config.gcc

committed: Fix NetBSD problem PR80600

2017-05-14 Thread Krister Walfridsson
I have committed the attached patch to make NetBSD handle -lgcc correctly for shared libraries. gcc/ChangeLog: PR target/80600 * config/netbsd.h (NETBSD_LIBGCC_SPEC): Always add -lgcc. libgcc/ChangeLog: PR target/80600 * config.host (*-*-netbsd*): Add t-slibgcc-

Re: committed: Fix NetBSD problem PR80600

2017-05-14 Thread Krister Walfridsson
On Mon, 15 May 2017, Krister Walfridsson wrote: I have committed the attached patch to make NetBSD handle -lgcc correctly for shared libraries. gcc/ChangeLog: PR target/80600 * config/netbsd.h (NETBSD_LIBGCC_SPEC): Always add -lgcc. libgcc/ChangeLog: PR target/80600

Re: Use a specfile that actually allows building programs on NetBSD

2017-01-11 Thread Krister Walfridsson
On Mon, 9 Jan 2017, co...@sdf.org wrote: 3 month ping, 1 week ping (trying again), etc... Apologies for not getting back to you sooner. Like most operating systems, NetBSD has a libc which contains stuff it needs for most programs to work, and people expect it to be linked without explicitl

[committed] Fix PR 39570 - cabs/cabsf named differently on NetBSD

2017-09-26 Thread Krister Walfridsson
-netbsd6.1. /Krister 2017-09-26 Krister Walfridsson PR target/39570 * gcc/config/netbsd-protos.h: New file. * gcc/config/netbsd.c: New file. * gcc/config/netbsd.h (SUBTARGET_INIT_BUILTINS): Define. * gcc/config/t-netbsd: New file. * gcc/

Re: [PATCH] Add netbsd-stdint.h to several netbsd targets

2017-09-30 Thread Krister Walfridsson
On Sun, Sep 3, 2017 at 5:16 PM, Maya Rashish wrote: > grouping netbsd.h netbsd-stdint.h netbsd-elf.h as "nbsd_tm_file", > similar to freebsd. I found a small bug in the patch -- the NetBSD stdint.h have different definitions for 8- and 16-bit "fast" types than what is in the netbsd-stditn.h, so t

committed: add i386/t-crtstuff to i[34567]86-*-netbsdelf tmake_file

2016-12-10 Thread Krister Walfridsson
I have committed the attached patch to add i386/t-crtstuff to tmake_file for i[34567]86-*-netbsdelf*. Bootstrapped and tested on i386-unknown-netbsdelf6.1 (fixes 29378 failures) /Krister 2016-12-10 Krister Walfridsson * config.host (i[34567]86-*-netbsdelf*): Add i386/t

committed: make i486 default arch for x86 NetBSD

2016-12-10 Thread Krister Walfridsson
I have committed the attached patch to make i486 the default arch on NetBSD in the same way as for FreeBSD, as 386 CPUs are not supported on any maintained version of NetBSD. Bootstrapped and tested on i386-unknown-netbsdelf6.1 /Krister 2016-12-10 Krister Walfridsson

committed: add t-eh-dw2-dip to NetBSD libgcc tmake_file

2016-12-19 Thread Krister Walfridsson
I have committed the attached patch to add t-eh-dw2-dip to NetBSD libgcc tmake_file. Bootstrapped and tested on i386-unknown-netbsdelf6.1 and x86_64-unknown-netbsd6.1. /Krister 2016-12-19 Krister Walfridsson * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file

committed: define LINK_EH_SPEC for NetBSD

2016-12-19 Thread Krister Walfridsson
I have committed the attached to add a LINK_EH_SPEC enabling --eh-frame-hdr in the NetBSD config. Bootstrapped and tested on x86_64-unknown-netbsd6.1. /Krister 2016-12-19 Krister Walfridsson * config/netbsd.h (LINK_EH_SPEC): Define.Index: gcc/config/netbsd.h

[PATCH] Fix NetBSD bootstrap

2016-11-16 Thread Krister Walfridsson
I'm the NetBSD maintainer, so I belive I don't need approval to commit this. But I have been absent for a long time, so it makes sense for someone to review at least this first patch. Bootstrapped and tested on i386-unknown-netbsdelf6.1 and x86_64-unknown-netbsd6.1. OK to commit? /Kris

Re: [PATCH] Fix NetBSD bootstrap

2016-11-16 Thread Krister Walfridsson
On Wed, 16 Nov 2016, Mike Stump wrote: Looks reasonable. The biggest issue would be if any of those values changed through time, and the current version works for older netbsd releases, the patch could break them. Of course, I don't have any visibility into how any of those values might have

Re: [PATCH] Fix NetBSD bootstrap

2016-11-19 Thread Krister Walfridsson
r in freestanding mode) or "provide" (always use GCC's header). I committed the following to set it to "wrap" (which is consistent with how the other BSDs handle it). Bootstrapped and tested on x86_64-unknown-netbsd6.1. /Krister 2016-11-19 Krister Walfridsson

Re: [patch] PR 51006 fix bootstrap failure on NetBSD

2012-01-03 Thread Krister Walfridsson
On Mon, Jan 2, 2012 at 1:06 PM, Jonathan Wakely wrote: > libgcc/ChangeLog > 2012-01-02  Jonathan Wakely   > >        PR bootstrap/51006 >        * enable-execute-stack-mprotect.c (getpagesize): Do not define >        for NetBSD. > > This removes the definition of getpagesize which is always presen