NetBSD-Users archive

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

Re: Issues building NetBSD with GCC 10

On Thu, Apr 29, 2021 at 08:32:09AM +0100, Sad Clouds wrote:
> I tried building NetBSD on Linux host with GCC 10 as the default system
> compiler and ran into various issues:
> - Tried building netbsd-9 and that fails to build bmake tool due to
> duplicate symbols or something. This seems to have been fixed in
> netbsd-current, so would this be backported to other branches?

I have changed my local build scripts to do

export HOST_CFLAGS="-O -fcommon"

when building older branches. The pax on the older branches needs a fix
backported to build w/o that. You need to clean the tools pax objdir
before retrying.


Home | Main Index | Thread Index | Old Index