Re: netbsd-11 vs. SUNW,qfe; hmeX: device timeout?
Valery Ushakov <[email protected]> Wed, 27 May 2026 22:12:18 +0300
| Newsgroups | gmane.os.netbsd.ports.sparc |
|---|---|
| Message-ID | <[email protected]> |
On Wed, May 27, 2026 at 13:57:58 -0500, John D. Baker wrote: > > 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'. It's a chicken and egg problem :). You fist need to build make without make, so that first time does not read mk.conf b/c it is not done by a make. See tools/make/buildmake.sh.in -uwe