From owner-freebsd-current@freebsd.org Thu Aug 20 15:26:51 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAAC59BFE65 for ; Thu, 20 Aug 2015 15:26:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CEA031167 for ; Thu, 20 Aug 2015 15:26:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id CE1C39BFE64; Thu, 20 Aug 2015 15:26:50 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDAEA9BFE63 for ; Thu, 20 Aug 2015 15:26:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F7671166; Thu, 20 Aug 2015 15:26:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2a03:fc02:2:1:a855:8c5f:70ce:f731] (unknown [IPv6:2a03:fc02:2:1:a855:8c5f:70ce:f731]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 251FD2096C; Thu, 20 Aug 2015 17:26:41 +0200 (CEST) Subject: Re: 11-CURRENT build fail with base gcc Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_31EFBF86-6A4F-4CD7-92B3-8E7B3EBBEED2"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5.1 From: Dimitry Andric In-Reply-To: Date: Thu, 20 Aug 2015 17:26:31 +0200 Cc: current@freebsd.org, imp@freebsd.org Message-Id: References: To: Oliver Pinter X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2015 15:26:51 -0000 --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 = 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--