NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/49990: libc++ fails to build with g++ 5.1 due to the following types of errors:
The following reply was made to PR lib/49990; it has been noted by GNATS.
From: Antti Kantee <pooka%iki.fi@localhost>
To: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, drakain%gmail.com@localhost
Cc:
Subject: Re: lib/49990: libc++ fails to build with g++ 5.1 due to the following
types of errors:
Date: Tue, 23 Jun 2015 11:54:24 +0000
On 23/06/15 10:35, Joerg Sonnenberger wrote:
> The following reply was made to PR lib/49990; it has been noted by GNATS.
>
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: lib/49990: libc++ fails to build with g++ 5.1 due to the
> following types of errors:
> Date: Tue, 23 Jun 2015 12:32:32 +0200
>
> On Sat, Jun 20, 2015 at 11:15:00PM +0000, drakain%gmail.com@localhost wrote:
> > --- rt_exception.o ---
> > rt_exception.cc:679:43: error: declaration of 'void* __cxa_begin_catch(void*)' has a different exception specifier
> > extern "C" void *__cxa_begin_catch(void *e);
> > ^
> > rt_exception.cc:608:9: error: from previous declaration 'void* __cxa_begin_catch(void*) throw ()'
> > catch(...)
>
> Frankly, this smells like a GCC bug. It should not force exception
> specifiers onto us, especially as adding them results in a runtime
> penalty.
Any possibility of a workaround? I guess libc++ upstream would also be
interested in the problem (assuming they didn't already fix it).
Home |
Main Index |
Thread Index |
Old Index