Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2015 17:26:31 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Oliver Pinter <oliver.pinter@hardenedbsd.org>
Cc:        current@freebsd.org, imp@freebsd.org
Subject:   Re: 11-CURRENT build fail with base gcc
Message-ID:  <B9AED518-76CC-4706-898F-65E72402ABD6@FreeBSD.org>
In-Reply-To: <CAPQ4ffuNzYQJHxuGKcJ%2BG5b47n-c7DjS6DJX9FrQFu9GGPrpbQ@mail.gmail.com>
References:  <CAPQ4ffuNzYQJHxuGKcJ%2BG5b47n-c7DjS6DJX9FrQFu9GGPrpbQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_31EFBF86-6A4F-4CD7-92B3-8E7B3EBBEED2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 20 Aug 2015, at 00:56, Oliver Pinter <oliver.pinter@hardenedbsd.org> =
wrote:
> I got this error, when I try to build recent 11-CURRENT with gcc on =
amd64 box:
>=20
> --- 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/amd6=
4
> =
-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=3Dgnu99     -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"
>=20
> You can access a full build log here:
> http://jenkins.hardenedbsd.org/~op/11-current-with-gcc-fail.log .
>=20
> 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.
>=20
> I use the following options in src.conf to build the system with gcc:
> WITHOUT_CLANG_BOOTSTRAP=3D
> WITHOUT_CLANG_IS_CC=3D
> WITHOUT_CLANG=3D
> WITH_GCC_BOOTSTRAP=3D
> WITH_GCC=3D
>=20
> and the host system is a 11-CURRENT system, which builded with clang.

At what build stage is this error occuring?

-Dimitry


--Apple-Mail=_31EFBF86-6A4F-4CD7-92B3-8E7B3EBBEED2
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.28

iEYEARECAAYFAlXV8bEACgkQsF6jCi4glqNRiwCeMFpvqaEwDEgFd+B866p/ZU5q
zDoAoIvp14qSEX1yOzRExROVcqOALI2h
=dp69
-----END PGP SIGNATURE-----

--Apple-Mail=_31EFBF86-6A4F-4CD7-92B3-8E7B3EBBEED2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9AED518-76CC-4706-898F-65E72402ABD6>