Current-Users archive

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

Re: Problem with groff building 9.0



On Mon, May 11, 2020 at 10:30:28PM -0700, pimin inwa wrote:
> HOST_CXX=/usr/pkg/gcc8/bin/g++
> HOST_CC=/usr/pkg/gcc8/bin/cc
..
> configure: error: a working C++ compiler is required

Removing these two lines will work around this issue.

> checking that C++ static constructors and destructors are called... no

If C++ static constructors rely on ELF constructors, this may be an
issue that your binutils thinks your ld.so supports initfini array but
does not. Or you are using GCC's crtstuff and it does not work for your
setup.

It needs more investigation like "which binutils, gcc, how was it built,
was system..."

Please ack that you are using mostly vanilla NetBSD 9.0 with vanilla
lang/gcc8 for this setup.


Home | Main Index | Thread Index | Old Index