Date: Wed, 19 Aug 2015 21:30:44 -0600 From: Warner Losh <imp@bsdimp.com> To: Julian Elischer <julian@freebsd.org> Cc: Oliver Pinter <oliver.pinter@hardenedbsd.org>, current@freebsd.org, imp@freebsd.org Subject: Re: 11-CURRENT build fail with base gcc Message-ID: <81E9B43F-B2B1-4EC4-B286-8B833AEE1A09@bsdimp.com> In-Reply-To: <55D53D41.2070500@freebsd.org> References: <CAPQ4ffuNzYQJHxuGKcJ%2BG5b47n-c7DjS6DJX9FrQFu9GGPrpbQ@mail.gmail.com> <55D53D41.2070500@freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] > On Aug 19, 2015, at 8:36 PM, Julian Elischer <julian@freebsd.org> wrote: > > On 8/20/15 6:56 AM, Oliver Pinter wrote: >> Hi All! >> >> I got this error, when I try to build recent 11-CURRENT with gcc on amd64 box: > > I thought that the switch do only allow clang had already been thrown… Not even close. Clang is default, but gcc is still required for mips, for example. current must still build with gcc on all architectures. This looks to be a cross-threading issue, but one that should be easy to track down. Warner >> >> --- delay.o --- >> cc -O2 -pipe -fPIC -mno-red-zone >> -I/usr/data/source/git/opBSD/opBSD.git/sys/boot/efi/libefi/../include >> -I/usr/data/source/git/opBSD/opBSD.git/sys/boot/efi/libefi/../include/amd64 >> -I/usr/data/source/git/opBSD/opBSD.git/sys/boot/efi/libefi/../../../../lib/libstand >> -I/usr/data/source/git/opBSD/opBSD.git/sys/boot/efi/libefi/../../common >> -fformat-extensions -ffreestanding -Wformat -msoft-float -fshort-wchar >> -mno-red-zone -mno-mmx -mno-sse -mno-aes -mno-avx -std=gnu99 -c >> /usr/data/source/git/opBSD/opBSD.git/sys/boot/efi/libefi/delay.c -o >> delay.o >> cc1: error: unrecognized command line option "-mno-avx" >> >> You can access a full build log here: >> http://jenkins.hardenedbsd.org/~op/11-current-with-gcc-fail.log . >> >> Seems like the build environment passed a wrong COMPILER_TYPE to >> bsd.sys.mk: clang instead of gcc, and that's why the -mno-avx occurs >> in the compiler options. >> >> I use the following options in src.conf to build the system with gcc: >> WITHOUT_CLANG_BOOTSTRAP= >> WITHOUT_CLANG_IS_CC= >> WITHOUT_CLANG= >> WITH_GCC_BOOTSTRAP= >> WITH_GCC= >> >> and the host system is a 11-CURRENT system, which builded with clang. >> >> Thanks, >> Oliver >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >> > [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJV1UnkAAoJEGwc0Sh9sBEAsvEP/R/CiMaaxJFSnTc7VaHDBP1d 7Pu/0tJMAXANcOV3SKBVsgmO1G6iayezk6VvKCrA5hHa32VOA44iUumAJHC2qquo jiaS2Mhd0qaKN29Xfe0Ir2NZ2p/+FhMQMPUt1m0I4Q2DKbkKCvmau/BwgZVZiuq5 5Yxl7xcNxKLK7Q5uyu4OgpleNxzU3VdU35e4M1k0/kclX64imHGuyixmwlXEYtlY +O8i96NHsL9EsDyiaKEPp6eJWKiw8D/X0wIPRmzmF5nFr8TFypZn4caygZ334oYa 3EtYCH0HMSoZNGe1oLpnEsOWa+b1cs+eX4jQWrDhQRFADpVTOGD7iLC9OsuV8nMs aWIjoW9Yowq3eVlZjs/29ecd6oSmlODcHCnxL+zBzHbUV5JdMDSdhqdSPZDzcQ8W Q1ofboZzfh1y9xPtavfD5OgN9w2w7h6Fjs5Iwhea7t0ca+nMexPDjHbPeKTKYnD+ H5xLRjlv2cr+Fi29Sry1cJ5hRlaSa0jQp4kZKX4DweXtvGcHnrm+ZnDOn5MJ4b2c EciKICYWrhzFJvJBfyr0m97/4cS4zJinS+phm5AtaEbvRHF5yDzIQQkBdUGj4duG OWaR+KInhQxlIcp4leel31OJ9uyjH5A2XzJF0z+yBRPjW0isHdlsbpRD2YzQU5Vt Pj05UEExhNla1WFA0p05 =xFrH -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81E9B43F-B2B1-4EC4-B286-8B833AEE1A09>
