From owner-freebsd-ports@FreeBSD.ORG Fri Sep 12 13:26:32 2014 Return-Path: Delivered-To: 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 CF5BD97C for ; Fri, 12 Sep 2014 13:26:32 +0000 (UTC) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52FF5F02 for ; Fri, 12 Sep 2014 13:26:31 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id mc6so938020lab.17 for ; Fri, 12 Sep 2014 06:26:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=pedkx8pNFMPMVeiUzQP1EEqCVbXsmk8l6HE4vx/puL0=; b=iUkI8bGBeosYoqQtFtA2gAja48j4N7pehnp5hfjPTLV26Qplywf5AinVcto/5rIz0w G+fjDxoJn+U6GV/mNWntd9Ixy6Tdu1t8ev4KJpyFNi+533SiC4hRPgU61ECM1AIanSeo 63DfuGuBfbSJsMBQeGx67l7bXub9Za1Vb2gjLEa24MKEAN63/gPYHOEI/UFZbpO0DKpg rFWBZa5kZRQeoAEsHE6cU9EmRwyMfxByz6jm5hABGWKKGLEc3wC7mn46NLg9ruQjWSDu 3Wh2qlm4BieUn1/tE1s1jAkhXvis//4+HyDU8ukSR/KLhF58BU4ikr6on9ol5ewJoYFM YyoQ== X-Gm-Message-State: ALoCoQkxMAbUOJSi09kprit0CvlZSKeKn+VS4WS2H02k90z/dIyY/h5hIFa/9qcshKGFp+n2uRJF X-Received: by 10.112.217.2 with SMTP id ou2mr8458972lbc.101.1410528386672; Fri, 12 Sep 2014 06:26:26 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by mx.google.com with ESMTPSA id w3sm1278604lal.13.2014.09.12.06.26.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Sep 2014 06:26:26 -0700 (PDT) Message-ID: <5412F480.8070100@freebsd.org> Date: Fri, 12 Sep 2014 17:26:24 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Gerald Pfeifer Subject: Re: Can't build lang/gcc port on i386: segmentation fault References: <5412D743.70005@freebsd.org> <5412E4A1.7040101@freebsd.org> <5412E64E.7050701@freebsd.org> <5412EFED.9000100@freebsd.org> In-Reply-To: <5412EFED.9000100@freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2014 13:26:33 -0000 On 12.09.2014 17:06, Andrey Chernov wrote: > On 12.09.2014 16:42, Gerald Pfeifer wrote: >> On Fri, 12 Sep 2014, Andrey Chernov wrote: >>>> As I just found, it builds with BOOTSTRAP nice, so apparently clang >>>> makes some damage. You can see CFLAGS in the log. Swap is 4GB I think it >>>> is large enough. Nothing special otherwise. >>> BTW, previous 4.7* as lang/gcc build fine even without BOOTSTRAP. >> >> I am curious, what happens when you try lang/gcc48? >> >> My expectation would be both lang/gcc and lang/gcc48 to behave >> the same, since it's a very similar codebase, gcc48 just a bit >> newer on the same branch. >> >> We could make BOOTSTRAP the default for lang/gcc, though not >> doing that and thus building a lot faster has been one of the >> features of lang/gcc. -- Since it does not reproduce for me, >> do others see the same failure? > > Segfault is exact the same but comes from strange place - in the middle > of configure check. I will try with MAKE_JOBS_UNSAFE=yes > With MAKE_JOBS_UNSAFE error finally shown in proper place, but remains (it was misplaces in original lang/gcc report too, different file compiled in the log, not O2g.gch): mkdir -p ./i386-portbld-freebsd10.1/bits/stdc++.h.gch /usr/ports/lang/gcc48/work/build/./gcc/xgcc -shared-libgcc -B/usr/ports/lang/gcc48/work/build/./gcc -nostdinc++ -L/usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/src -L/usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/src/.libs -B/usr/local/i386-portbld-freebsd10.1/bin/ -B/usr/local/i386-portbld-freebsd10.1/lib/ -isystem /usr/local/i386-portbld-freebsd10.1/include -isystem /usr/local/i386-portbld-freebsd10.1/sys-include -x c++-header -nostdinc++ -g -O2 -pipe -march=core2 -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -I/usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/include/i386-portbld-freebsd10.1 -I/usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/include -I/usr/ports/lang/gcc48/work/gcc-4.8-20140904/libstdc++-v3/libsupc++ -O2 -g /usr/ports/lang/gcc48/work/gcc-4.8-20140904/libstdc++-v3/include/precompiled/stdc++.h -o i386-portbld-freebsd10.1/bits/stdc++.h.gch/O2g.gch In file included from /usr/ports/lang/gcc48/work/gcc-4.8-20140904/libstdc++-v3/include/precompiled/stdc++.h:94:0: /usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/include/valarray:1233:1: internal compiler error: Segmentation fault } // namespace ^ no stack trace because unwind library not available Please submit a full bug report, with preprocessed source if appropriate. See for instructions. gmake[6]: *** [i386-portbld-freebsd10.1/bits/stdc++.h.gch/O2g.gch] Error 1 -- http://ache.vniz.net/