Re: netbsd-11 vs. SUNW,qfe; hmeX: device timeout?

Valery Ushakov <[email protected]> Wed, 27 May 2026 14:45:24 +0300
Newsgroups gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
On Wed, May 27, 2026 at 06:19:53 -0500, John D. Baker wrote:

> I cannot even build 'nbmake' on my 10.1_STABLE/amd64 build host.  It
> complains about:
> 
> [...]
> cc -o nbmake *.o  
> ld: buf.o:(.bss+0x0): multiple definition of `debug_file'; arch.o:(.bss+0x0): first defined here

gcc switched to -fno-common by default at some point in about that
time frame.  You should be able to dodge this by adding -fcommon to
HOST_CFLASG and HOST_CXXFLAGS to build older tools programs (that
(usually unintentionally) rely on common) on newer host systems (that
default to -fno-common).

-uwe