From owner-freebsd-ports@FreeBSD.ORG Fri Sep 12 15:40:58 2014 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 82C6ED5E for ; Fri, 12 Sep 2014 15:40:58 +0000 (UTC) Received: from lena.kiev.ua (lena.kiev.ua [82.146.51.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F004F22 for ; Fri, 12 Sep 2014 15:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lena.kiev.ua; s=3; h=In-Reply-To:Content-Type:Mime-Version:References:Message-ID:Subject:To:From:Date; bh=F13ziCiLKl23gtUL/UmHZqhbtDXnRa2MDShpOpml74s=; b=LwKr6fezm+Hcj9hSYN7Va+SK0Nryi0PHBU0GmtI0KuHEiarKJtZ47nVJEfcsNf8lJSA0HbwO/N3BTzrvOHVkoi4GseAy3Zg6Tr9bAOsbJfgrlmGbZXdtMz0l3m7ET7BCK+AKmt4cLlz9E9nnWdHvowozUXoFdaQCEUFp4ffe2ko=; Received: from ip-384c.rusanovka-net.kiev.ua ([94.244.56.76] helo=bedside.lena.kiev.ua) by lena.kiev.ua with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.83 (FreeBSD)) (envelope-from ) id 1XSSxy-000Ogn-CX for freebsd-ports@freebsd.org; Fri, 12 Sep 2014 18:40:54 +0300 Received: from bedside.lena.kiev.ua (localhost.lena.kiev.ua [127.0.0.1]) by bedside.lena.kiev.ua (8.14.9/8.14.9) with ESMTP id s8CFejOu032715 for ; Fri, 12 Sep 2014 18:40:45 +0300 (EEST) (envelope-from Lena@lena.kiev.ua) Received: (from lena@localhost) by bedside.lena.kiev.ua (8.14.9/8.14.9/Submit) id s8CFei9E032714 for freebsd-ports@freebsd.org; Fri, 12 Sep 2014 18:40:44 +0300 (EEST) (envelope-from Lena@lena.kiev.ua) Date: Fri, 12 Sep 2014 18:40:44 +0300 From: Lena@lena.kiev.ua To: freebsd-ports@freebsd.org Subject: Re: Can't build lang/gcc port on i386: segmentation fault Message-ID: <20140912154044.GS798@lena.kiev> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5412D743.70005@freebsd.org> User-Agent: Mutt/1.4.2.3i 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 15:40:58 -0000 > From: Andrey Chernov > With recent ports tree on stable-10 i386 attempting to build lang/gcc > always cause segfault at this place. > /usr/ports/lang/gcc/work/build/i386-portbld-freebsd10.1/libstdc++-v3/include/valarray:1233:1: internal compiler error: Segmentation fault > } // namespace > ^ lang/gcc (4.8.3 and 4.8.3_1) successfully built under 8.4 i386, but using gcc-4.8.3_1 for building firefox-esr-24.7.0,1 also segfaults: dtrace -x nolibs -G -C -s ../../../js/src/devtools/javascript-trace.d -o mozjs-d trace.o ArgumentsObject.o BytecodeCompiler.o BytecodeEmitter.o CharacterEncoding .o DateTime.o Debugger.o Eval.o ExecutableAllocator.o FoldConstants.o ForkJoin.o GlobalObject.o Interpreter.o Intl.o Iteration.o LifoAlloc.o MapObject.o Marking .o Memory.o Module.o Monitor.o NameFunctions.o Nursery.o Object.o ObjectImpl.o P ageBlock.o ParallelArray.o ParseMaps.o ParseNode.o Parser.o Probes.o Profilers.o PropertyKey.o RegExp.o RegExpObject.o RegExpStatics.o RootMarking.o SPSProfiler .o ScopeObject.o SelfHosting.o Shape.o Stack.o Statistics.o StoreBuffer.o String .o StringBuffer.o TestingFunctions.o ThreadPool.o TokenStream.o Unicode.o Verifi er.o Xdr.o YarrCanonicalizeUCS2.o YarrInterpreter.o YarrPattern.o YarrSyntaxChec ker.o Zone.o jsalloc.o jsanalyze.o jsapi.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jscrashreport.o jsdate.o jsdbgapi.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsinfer.o jsiter.o jsmath.o jsmemorymetrics.o jsnat ivestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsperf.o jsprf.o jspro pertytree.o jsproxy.o jsreflect.o jsscript.o jsstr.o jstypedarray.o jsutil.o jsw atchpoint.o jsweakmap.o jsworkers.o jswrapper.o prmjtime.o sharkctl.o AliasAnaly sis.o AsmJS.o AsmJSLink.o AsmJSSignalHandlers.o BacktrackingAllocator.o Bailouts .o BaselineBailouts.o BaselineCompiler-shared.o BaselineCompiler.o BaselineFrame .o BaselineFrameInfo.o BaselineIC.o BaselineInspector.o BaselineJIT.o BitSet.o B ytecodeAnalysis.o C1Spewer.o CodeGenerator-shared.o CodeGenerator.o EdgeCaseAnal ysis.o EffectiveAddressAnalysis.o Ion.o IonAnalysis.o IonBuilder.o IonCaches.o I onFrames.o IonMacroAssembler.o IonSpewer.o JSONSpewer.o PerfSpewer.o LICM.o LIR. o LinearScan.o LiveRangeAllocator.o Lowering-shared.o Lowering.o MCallOptimize.o MIR.o MIRGraph.o MoveResolver.o ParallelArrayAnalysis.o ParallelFunctions.o Ran geAnalysis.o RegisterAllocator.o Safepoints.o Snapshots.o StupidAllocator.o Type Policy.o UnreachableCodeElimination.o VMFunctions.o ValueNumbering.o Assembler-x 86-shared.o BaselineCompiler-x86-shared.o BaselineIC-x86-shared.o CodeGenerator- x86-shared.o IonFrames-x86-shared.o Lowering-x86-shared.o MoveEmitter-x86-shared .o Assembler-x86.o Bailouts-x86.o BaselineCompiler-x86.o BaselineIC-x86.o CodeGe nerator-x86.o Lowering-x86.o MacroAssembler-x86.o Trampoline-x86.o ExecutableAll ocatorPosix.o OSAllocatorPosix.o ARMAssembler.o MacroAssemblerARM.o MacroAssembl erX86Common.o YarrJIT.o CTypes.o Library.o pm_stub.o gmake[3]: *** [mozjs-dtrace.o] Segmentation fault: 11 (core dumped) gmake[3]: Leaving `/usr/ports/www/firefox-esr/work/mozilla-esr24/obj-i386-portbld-freebsd8.4/js/src' ~ # gdb /usr/sbin/dtrace /usr/ports/www/firefox-esr/work/mozilla-esr24/obj-i386-portbld-freebsd8.4/js/src/dtrace.core ... (gdb) bt #0 0x28201af7 in free () from /lib/libc.so.7 #1 0x280c2e85 in dt_free () from /lib/libdtrace.so.2 #2 0x280be582 in dtrace_work () from /lib/libdtrace.so.2 #3 0x280bef7d in dtrace_work () from /lib/libdtrace.so.2 #4 0x280bfc4c in dtrace_program_link () from /lib/libdtrace.so.2 #5 0x0804be21 in ?? () #6 0x2834ac00 in ?? () #7 0x283821e0 in ?? () #8 0x00000002 in ?? () #9 0x2831b018 in ?? () #10 0x000000ad in ?? () #11 0x28312304 in ?? () #12 0x00000000 in ?? () (gdb) I know that firefox-esr in fresh ports tree is 31, but I don't want to upgrade firefox to Australis (29+). So, after upgrading lang/gcc to gcc-4.8.3_1 I installed also gcc47-4.7.4_1,1.