NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/52080 (MKKYUA fails to compile: c_gate.o: all member functions in class '__cxxabiv1::)



Synopsis: MKKYUA fails to compile: c_gate.o: all member functions in class '__cxxabiv1::

State-Changed-From-To: open->analyzed
State-Changed-By: jmmv%NetBSD.org@localhost
State-Changed-When: Mon, 23 Oct 2017 10:14:34 +0000
State-Changed-Why:
I'm not sure how you have determined that this is Lutok's fault.  The symbol
that the compiler is complaining about, __cxxabiv1::__forced_unwind, is
nowhere to be found on the codebase so the claim that Lutok is "using
private headers" is... hard to justify.

To me, this looks like a bug in the C++ headers currently shipped by NetBSD
that manifests when they are used with a high WARNS level, which is how
Lutok is currently being built.  In particular, the flag
-Werror=ctor-dtor-privacy, which is the one triggering this error, is in
use and is not part of the default set of flags (so you wouldn't see the
problem with regular -Wall builds).

A workaround would be to reduce Lutok's WARNS level, but it'd be nice if
the headers were clean enough to build with it.





Home | Main Index | Thread Index | Old Index