Re: build failure when optimizing

2020-05-27 Thread Joerg Sonnenberger
On Wed, May 27, 2020 at 05:42:37PM +0200, Tobias Nygren wrote: > There is an -mno-sse2 flag on the command line and it conflicts with > your -mfpmath=sse flag. This COPTS setting comes from > src/libexec/ld.elf_so/Makefile. You can remove the flag but expect > random breakage, it is there for a

Re: build failure when optimizing

2020-05-27 Thread Rin Okuyama
On 2020/05/28 0:42, Tobias Nygren wrote> There is an -mno-sse2 flag on the command line and it conflicts with your -mfpmath=sse flag. This COPTS setting comes from src/libexec/ld.elf_so/Makefile. You can remove the flag but expect random breakage, it is there for a reason. Probably the easiest

Re: build failure when optimizing

2020-05-27 Thread Tobias Nygren
On Tue, 26 May 2020 23:01:36 +0200 os...@fessel.org wrote: > Hej again, > > > Am 24.05.2020 um 01:06 schrieb Tobias Nygren : > > > > On Sat, 23 May 2020 22:25:55 +0200 > > os...@fessel.org wrote: > > > >> I just tried to build release with optimisation for my little xeon server. > >> That

Re: build failure when optimizing

2020-05-26 Thread Robert Swindells
os...@fessel.org wrote: > Am 24.05.2020 um 01:06 schrieb Tobias Nygren : > > On Sat, 23 May 2020 22:25:55 +0200 > os...@fessel.org wrote: > >> I just tried to build release with optimisation for my little xeon server. >> That fails, but I don?t understand why it seems to build some 386 32bit

Re: build failure when optimizing

2020-05-23 Thread Tobias Nygren
On Sat, 23 May 2020 22:25:55 +0200 os...@fessel.org wrote: > I just tried to build release with optimisation for my little xeon server. > That fails, but I don?t understand why it seems to build some 386 32bit libs. You can build with MKCOMPAT=no to avoid this problem if you don't need 32-bit

Re: build failure when optimizing

2020-05-23 Thread oskar
Hej, > Am 23.05.2020 um 23:21 schrieb Paul Goyette : > > This is done deliberately, to enable you to run NetBSD-i386 images on > a NetBSD-amd64 host. > > If you want to eliminate these compatability libraries, you can set > the MKCOMPAT variable to NO: > > build.sh ... -V MKCOMPAT=NO

Re: build failure when optimizing

2020-05-23 Thread Paul Goyette
This is done deliberately, to enable you to run NetBSD-i386 images on a NetBSD-amd64 host. If you want to eliminate these compatability libraries, you can set the MKCOMPAT variable to NO: build.sh ... -V MKCOMPAT=NO release On Sat, 23 May 2020, os...@fessel.org wrote: Hej, I just

build failure when optimizing

2020-05-23 Thread oskar
Hej, I just tried to build release with optimisation for my little xeon server. That fails, but I don’t understand why it seems to build some 386 32bit libs. — # build libgcc_s/libgcc_s.so.1.0 rm -f libgcc_s.so.1.0 /hurz/obj/tooldir.NetBSD-9.99.63-amd64/bin/x86_64--netbsd-gcc -nodefaultlibs