SOLVED Re: build current from source amd64 error "bootxx_msdos 7840 is larger than 7680

chytraeu <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
On 2025-09-19 19:33, chytraeu wrote:
> I'm trying to build current from source and I get this error:
> bootxx_msdos 7840 is larger than 7680.
> 
> I am using the following line to build:
> sudo ./build.sh -r -O ../obj/ -T ../tools/ -U  distribution

I solved this by commenting out a line in my /etc/mk.conf:
#CFLAGS+= -march=x86-64 -mtune=generic -fPIC -pipe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.