From owner-freebsd-current@freebsd.org Thu Aug 20 02:37:01 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 882F99BD817 for ; Thu, 20 Aug 2015 02:37:01 +0000 (UTC) (envelope-from julian@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 704A8A3 for ; Thu, 20 Aug 2015 02:37:01 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6F5629BD816; Thu, 20 Aug 2015 02:37:01 +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 6EEFA9BD815 for ; Thu, 20 Aug 2015 02:37:01 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 485E5A2; Thu, 20 Aug 2015 02:37:00 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-243-143.lns20.per4.internode.on.net [121.45.243.143]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id t7K2asRd039949 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 19 Aug 2015 19:36:57 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: 11-CURRENT build fail with base gcc To: Oliver Pinter , current@freebsd.org References: Cc: imp@freebsd.org From: Julian Elischer Message-ID: <55D53D41.2070500@freebsd.org> Date: Thu, 20 Aug 2015 10:36:49 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 02:37:01 -0000 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... > > --- 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" >