Port-sparc archive

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

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



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


Home | Main Index | Thread Index | Old Index