Re: netbsd-11 vs. SUNW,qfe; hmeX: device timeout?
"John D. Baker" <[email protected]> Wed, 27 May 2026 13:57:58 -0500 (CDT)
| Newsgroups | gmane.os.netbsd.ports.sparc |
|---|---|
| Message-ID | <[email protected]> |
On Wed, May 27, 2026 at 14:45:24 +0300, Valery Ushakov wrote: > 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). I was hoping that adding those to my local "mk.conf" would work, but it didn't. I ultimately had to add them as environment variables before the invocation of 'build.sh'. Whatever made netbsd-9 unstable on hme(4) interfaces on qfe cards, it happened pretty soon after the 9.0 release. On my second iteration just a little over a month after 9.0. -- |/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X |\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD | X No HTML/proprietary data in email. BSD just sits there and works! |/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645