From owner-freebsd-current@FreeBSD.ORG Wed Sep 25 21:04:00 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 28574C59 for ; Wed, 25 Sep 2013 21:04:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B0EE823FF for ; Wed, 25 Sep 2013 21:03:19 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::6827:9114:a476:f027] (unknown [IPv6:2001:7b8:3a7:0:6827:9114:a476:f027]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 387A15C44; Wed, 25 Sep 2013 23:01:20 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_BED9689B-D82A-407F-88B7-53FE35B76E54"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: lang/gcc not build From: Dimitry Andric In-Reply-To: <5242E26E.3040406@gmail.com> Date: Wed, 25 Sep 2013 23:01:03 +0200 Message-Id: References: <5242E26E.3040406@gmail.com> To: Alexander Panyushkin X-Mailer: Apple Mail (2.1510) Cc: FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 25 Sep 2013 21:04:00 -0000 --Apple-Mail=_BED9689B-D82A-407F-88B7-53FE35B76E54 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 25, 2013, at 15:17, Alexander Panyushkin = wrote: > uname > FreeBSD 10.0-ALPHA2 #0 r255833M: Tue Sep 24 10:21:04 EEST 2013 > = --------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------=20 > make.conf > CFLAGS=3D -O2 -march=3Dathlon64-sse3 -mtune=3Dathlon64-sse3 -pipe = -Qunused-parameter -Wformat -Wformat-security > CPPFLAGS+=3D -D_FORTIFY_SOURCE=3D2 > = --------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------=20 >=20 > Checking multilib configuration for libgcc... > mkdir x86_64-portbld-freebsd10.0 > mkdir x86_64-portbld-freebsd10.0/libgcc > Configuring in x86_64-portbld-freebsd10.0/libgcc > configure: creating cache ./config.cache > checking for --enable-version-specific-runtime-libs... no > checking for a BSD-compatible install... /usr/bin/install -c -o root = -g wheel > checking for gawk... /usr/bin/awk > checking build system type... x86_64-portbld-freebsd10.0 > checking host system type... x86_64-portbld-freebsd10.0 > checking for x86_64-portbld-freebsd10.0-ar... = /usr/local/x86_64-portbld-freebsd10.0/bin/ar > checking for x86_64-portbld-freebsd10.0-lipo... lipo > checking for x86_64-portbld-freebsd10.0-nm... = /usr/ports/lang/gcc/work/build/./gcc/nm > checking for x86_64-portbld-freebsd10.0-ranlib... = /usr/local/x86_64-portbld-freebsd10.0/bin/ranlib > checking for x86_64-portbld-freebsd10.0-strip... = /usr/local/x86_64-portbld-freebsd10.0/bin/strip > checking whether ln -s works... yes > checking for x86_64-portbld-freebsd10.0-gcc... = /usr/ports/lang/gcc/work/build/./gcc/xgcc = -B/usr/ports/lang/gcc/work/build/./gcc/ = -B/usr/local/x86_64-portbld-freebsd10.0/bin/ = -B/usr/local/x86_64-portbld-freebsd10.0/lib/ -isystem = /usr/local/x86_64-portbld-freebsd10.0/include -isystem = /usr/local/x86_64-portbld-freebsd10.0/sys-include > checking for suffix of object files... configure: error: in = `/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd10.0/libgcc': > configure: error: cannot compute suffix of object files: cannot = compile Most likely, the xgcc instance cannot handle the -Qunused-parameter flag. So remove it from your custom CFLAGS (note that you should use +=3D, not =3D for CFLAGS in make.conf), and try again. If this does not help, post the config.log file. -Dimitry --Apple-Mail=_BED9689B-D82A-407F-88B7-53FE35B76E54 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.20 (Darwin) iEYEARECAAYFAlJDTx0ACgkQsF6jCi4glqNV0gCgqv9j3faM3BUvI1/hwk5ji0Yz nBcAoK//pvmyHxxdzlQ7FB6NVZJZ5qtd =WJsp -----END PGP SIGNATURE----- --Apple-Mail=_BED9689B-D82A-407F-88B7-53FE35B76E54--