From owner-freebsd-current@freebsd.org Thu Aug 20 03:59:00 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 EA1459BE60D for ; Thu, 20 Aug 2015 03:59:00 +0000 (UTC) (envelope-from imp@bsdimp.com) 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 C317917CC for ; Thu, 20 Aug 2015 03:59:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id BFFB19BE60C; Thu, 20 Aug 2015 03:59:00 +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 BF86A9BE60B for ; Thu, 20 Aug 2015 03:59:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D76F17CB for ; Thu, 20 Aug 2015 03:59:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by iods203 with SMTP id s203so32772974iod.0 for ; Wed, 19 Aug 2015 20:58:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=lYfEF7HnkvM3zLCP8A3J0mzKajFuXMBaApBDVLfsYzo=; b=WTQeWLoPa1cKOeX/Q+PFD4bL976BfO9+Z4l5Z3foucGw048tpzddac/DCgBczN5xCX OjaNs3lvr48quYv8P4SMk5N9VypRitYEKzt9t1w2YvNzuvkHI6L0o7pkyAxpXH3m/LBU 16JcH0pzmL23l55yBWztcO8drlUqrSI1vdgpOc9B/B/VJDZQYRujlHTGTrsFIA1I9VVH B4J1Dfue1LZHXILekRPt54AHrLZ4oyRDSwRYOgQDHh8I8bDhi5D4K3D2Aktu1wszbEms dT7LqehPiHeHWBabBJD8PIBVuZkg+vRiuShWo0FWuuqbovlB7+9FE9wI0bx7WyK1lG1F 9AGw== X-Gm-Message-State: ALoCoQlFJ3ZliW+nSLZiXvXFTHZ0iRQSH6Pxu0RtqJLslFh/NprYaiY1XDsav2D5PMRIVW1CwZHV X-Received: by 10.107.25.17 with SMTP id 17mr785399ioz.169.1440041447098; Wed, 19 Aug 2015 20:30:47 -0700 (PDT) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by smtp.gmail.com with ESMTPSA id c20sm2371803ioe.36.2015.08.19.20.30.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Aug 2015 20:30:46 -0700 (PDT) Sender: Warner Losh Subject: Re: 11-CURRENT build fail with base gcc Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: multipart/signed; boundary="Apple-Mail=_01DDB20A-5971-45C1-8795-742E7BB95B30"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5 From: Warner Losh In-Reply-To: <55D53D41.2070500@freebsd.org> Date: Wed, 19 Aug 2015 21:30:44 -0600 Cc: Oliver Pinter , current@freebsd.org, imp@freebsd.org Message-Id: <81E9B43F-B2B1-4EC4-B286-8B833AEE1A09@bsdimp.com> References: <55D53D41.2070500@freebsd.org> To: Julian Elischer X-Mailer: Apple Mail (2.2102) 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 03:59:01 -0000 --Apple-Mail=_01DDB20A-5971-45C1-8795-742E7BB95B30 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 > On Aug 19, 2015, at 8:36 PM, Julian Elischer = wrote: >=20 > On 8/20/15 6:56 AM, Oliver Pinter wrote: >> Hi All! >>=20 >> I got this error, when I try to build recent 11-CURRENT with gcc on = amd64 box: >=20 > I thought that the switch do only allow clang had already been thrown=85= 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 >>=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. >>=20 >> 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" >>=20 >=20 --Apple-Mail=_01DDB20A-5971-45C1-8795-742E7BB95B30 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----- 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----- --Apple-Mail=_01DDB20A-5971-45C1-8795-742E7BB95B30--