Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Joerg Sonnenberger
On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: I started work on this again by doing a web search for the error, and found this: http://bugs.musicpd.org/view.php?id=4110 There you argue that using constexpr for PTHREAD_MUTEX_INITIALIZER is broken. So if we assume that you

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Antti Kantee
Returning to this pickle. On 26/06/15 18:24, Joerg Sonnenberger wrote: On Fri, Jun 26, 2015 at 12:49:09PM +, Antti Kantee wrote: This is the simplest program to repeat the problem with g++ 5.1 and NetBSD's pthread_types.h: #include pthread.h class foo { pthread_mutex_t m; public:

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Joerg Sonnenberger
On Mon, Aug 24, 2015 at 02:20:55PM +, Antti Kantee wrote: On 24/08/15 13:26, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: I started work on this again by doing a web search for the error, and found this: http://bugs.musicpd.org/view.php?id=4110

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Antti Kantee
On 24/08/15 13:26, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: I started work on this again by doing a web search for the error, and found this: http://bugs.musicpd.org/view.php?id=4110 There you argue that using constexpr for

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Antti Kantee
On 24/08/15 14:36, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 02:20:55PM +, Antti Kantee wrote: On 24/08/15 13:26, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: I started work on this again by doing a web search for the error, and found

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Joerg Sonnenberger
On Mon, Aug 24, 2015 at 03:03:28PM +, Antti Kantee wrote: On 24/08/15 14:36, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 02:20:55PM +, Antti Kantee wrote: On 24/08/15 13:26, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: I started work on

Re: CVS commit: src/sys

2015-08-24 Thread Nick Hudson
On 08/17/15 07:16, Kengo NAKAHARA wrote: Module Name:src Committed By: knakahara Date: Mon Aug 17 06:16:03 UTC 2015 Hi, Unfortunately, the following doesn't work for platforms that don't define interrupt_construct_intrids. Should a new stub that returns NULL be created?

Re: CVS commit: src/sys

2015-08-24 Thread Kengo NAKAHARA
Hi, On 2015/08/24 16:18, Nick Hudson wrote: On 08/17/15 07:16, Kengo NAKAHARA wrote: Module Name:src Committed By:knakahara Date:Mon Aug 17 06:16:03 UTC 2015 Hi, Unfortunately, the following doesn't work for platforms that don't define interrupt_construct_intrids.

Re: CVS commit: src/sys

2015-08-24 Thread Kengo NAKAHARA
Hi, On 2015/08/24 18:24, Nick Hudson wrote: On 08/24/15 09:36, Kengo NAKAHARA wrote: Hi, On 2015/08/24 16:18, Nick Hudson wrote: +__weak_alias(interrupt_construct_intrids, eopnotsupp); I found this by running sysctl -A on an evbarm platform Sorry, some interrupt_* stub functions are

Re: CVS commit: src/sys/conf

2015-08-24 Thread Masao Uebayashi
Sorry, my bad. :( There seems an evaluation order problem around ${SYSTEM_DEP} ... it is added to `netbsd' as a dependency much earlier than `sys/conf/Makefile.kern.inc' is included. I'll simply redo by adding netbsd: netbsd.ldscript in `sys/conf/Makefile.kern.inc' instead of relying on