From owner-freebsd-ports@FreeBSD.ORG Tue Nov 26 19:42:37 2013 Return-Path: Delivered-To: freebsd-ports@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 ESMTPS id 2DA937B8 for ; Tue, 26 Nov 2013 19:42:37 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E3D7227F2 for ; Tue, 26 Nov 2013 19:42:36 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::d41d:cb2:3356:4246] (unknown [IPv6:2001:7b8:3a7:0:d41d:cb2:3356:4246]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 1C32C5C43; Tue, 26 Nov 2013 20:42:30 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_3065DC60-7219-4450-8AA0-81209455C0B1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: lang/gcc not build From: Dimitry Andric In-Reply-To: <5294DEAA.5070308@gmail.com> Date: Tue, 26 Nov 2013 20:42:20 +0100 Message-Id: References: <5294DEAA.5070308@gmail.com> To: Alexander Panyushkin X-Mailer: Apple Mail (2.1822) Cc: Ports FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 19:42:37 -0000 --Apple-Mail=_3065DC60-7219-4450-8AA0-81209455C0B1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii [Redirecting to the appropriate mailing list...] On 26 Nov 2013, at 18:47, Alexander Panyushkin wrote: > #portmaster lang/gcc > [...] > cd /usr/ports/lang/gcc/work/gcc-4.6.4 ; contrib/gcc_update --touch > configure: loading site script /usr/ports/Templates/config.site > checking build system type... x86_64-portbld-freebsd10.0 > checking host system type... x86_64-portbld-freebsd10.0 > checking target system type... x86_64-portbld-freebsd10.0 > checking for a BSD-compatible install... /usr/bin/install -c -o root = -g wheel > checking whether ln works... yes > checking whether ln -s works... yes > checking for a sed that does not truncate output... (cached) = /usr/bin/sed > checking for gawk... (cached) /usr/bin/awk > checking for gcc... gcc46 > checking for C compiler default output file name... > configure: error: in `/usr/ports/lang/gcc/work/build': > configure: error: C compiler cannot create executables > See `config.log' for more details. > =3D=3D=3D> Script "../gcc-4.6.4/configure" failed unexpectedly. > Please report the problem to gerald@FreeBSD.org [maintainer] and = attach the > "/usr/ports/lang/gcc/work/build/config.log" including the output of = the failure > of your make command. Also, it might be a good idea to provide an = overview > of all packages installed on your system (e.g. a = /usr/local/sbin/pkg-static > info -g -Ea). > *** Error code 1 >=20 > ############################################# > /etc/make.conf >=20 > .if ${.CURDIR:N*/ports/lang/gcc*} =3D=3D "" > CFLAGS=3D -O2 -march=3Dathlon64-sse3 -mtune=3Dathlon64-sse3 -pipe = -Wformat > CPPFLAGS+=3D -D_FORTIFY_SOURCE=3D2 > USE_GCC=3D4.6 > .endif >=20 > #pkg info -ix gcc > gcc-4.6.3 > gcc-ecj-4.5 > gccmakedep-1.0.2_1 * Don't set CFLAGS with '=3D', always use '+=3D'. * Try moving your make.conf out of the way, and build the port again. = Does it now work? * If all that still fails, post the config.log file, like the message = says. -Dimitry --Apple-Mail=_3065DC60-7219-4450-8AA0-81209455C0B1 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.22 (Darwin) iEYEARECAAYFAlKU+aUACgkQsF6jCi4glqN+egCg5AXXY04qaSVm9PEO7v3KLfkc Z00An0z/RtQf5nPU2mm29s+EgYg9LAUg =tffS -----END PGP SIGNATURE----- --Apple-Mail=_3065DC60-7219-4450-8AA0-81209455C0B1--