From owner-freebsd-current@FreeBSD.ORG Thu Nov 28 17:13:30 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D786A8B1 for ; Thu, 28 Nov 2013 17:13:30 +0000 (UTC) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6F40419B7 for ; Thu, 28 Nov 2013 17:13:30 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id w61so2798457wes.28 for ; Thu, 28 Nov 2013 09:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=kqSXZk86GEKqlHwMIHFlAvwKTUZFJVDJ4jHIufcLkLw=; b=LGNBXHdDBjNkqHQjIxiGyOaG2CadXOTSaH1KpI+2389W5GZFH1L96U5h69bwXKYTtB /jduZyPTinbhIKalspWVjjNOXWEuyIYY9A3p5+iM8IAOwH8gvqcQpGHORjQedzUvH8RT bPXDaElzekBV/PNG/pf5BrBFN3GiLR7cJ/RO3WVdFRnZVLAJNeMD4wODo2J/9t71i1Qc Ut7AT4NYaw8JIMBOZjtg4DuqFzk9o1TXUM2u6zuBuVXh3ldBOAepCBr++IrVTVGKqtqw AeQ4RRWfcDsbOd8pG6EcSjNesGaCjwTAxQWUNDpr79WIZv8UF/qErGmleopirOPE5Pn0 Cvaw== X-Received: by 10.194.62.8 with SMTP id u8mr3115566wjr.68.1385658808943; Thu, 28 Nov 2013 09:13:28 -0800 (PST) Received: from [192.168.1.129] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id y20sm83547287wib.0.2013.11.28.09.13.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Nov 2013 09:13:28 -0800 (PST) Message-ID: <529779B2.2090108@gmail.com> Date: Thu, 28 Nov 2013 19:13:22 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Alexander Panyushkin , freebsd-current@freebsd.org Subject: Re: lang/gcc not build References: <5294DEAA.5070308@gmail.com> In-Reply-To: <5294DEAA.5070308@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 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, 28 Nov 2013 17:13:31 -0000 26.11.2013 19: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. > ===> 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 > > ############################################# > /etc/make.conf > > ..if ${.CURDIR:N*/ports/lang/gcc*} == "" > CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat > CPPFLAGS+= -D_FORTIFY_SOURCE=2 > USE_GCC=4.6 > ..endif Added this to my make.conf and tested - WFM. The problem is not there. Can you post a sample of /usr/ports/lang/gcc/work/build/config.log as log suggests? PS: CFLAGS= is a bit rough thing to have, CFLAGS+= would be much better. PPS: clang is mature enough and works correctly with CPUTYPE?=native so -march and -mtune can be substituted for that one. -- Sphinx of black quartz, judge my vow.