From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 55CA61384B4 for ; Thu, 24 Dec 2015 16:06:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA28421C0A8; Thu, 24 Dec 2015 16:06:02 +0000 (UTC) Received: from vms173017pub.verizon.net (vms173017pub.verizon.net [206.46.173.17]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DBB221C097 for ; Thu, 24 Dec 2015 16:06:01 +0000 (UTC) Received: from [10.0.0.2] ([108.45.68.230]) by vms173017.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NZV00JG9E1I2670@vms173017.mailsrvcs.net> for gentoo-user@lists.gentoo.org; Thu, 24 Dec 2015 10:05:42 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=J+9Xl1TS c=1 sm=1 tr=0 a=93cQuh38ueSBmC5PyW6goQ==:117 a=o1OHuDzbAAAA:8 a=oR5dmqMzAAAA:8 a=IkcTkHD0fZMA:10 a=wUQvQvOEmiQA:10 a=R-ufAicqUgWsxWGRBSUA:9 a=QEXdDO2ut3YA:10 Subject: Re: [gentoo-user] Gcc 5.3 To: gentoo-user@lists.gentoo.org References: <567C0CC3.9070003@verizon.net> <567C11CB.4080000@gmail.com> From: Alan Grimes X-Enigmail-Draft-Status: N1110 Message-id: <567C17D6.7090702@verizon.net> Date: Thu, 24 Dec 2015 11:05:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 In-reply-to: <567C11CB.4080000@gmail.com> Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-Archives-Salt: d982cb8b-ef36-477c-841f-66dcbda46ffd X-Archives-Hash: 7b2712b06a94717b81e80374fc131e31 It has been many moons since I got into compiling a compiler but here's how it basically works: STAGE 1: Compile the new compiler with whatever broken crap compiler is already installed/hacked together/manually entered by punch cards/etc... STAGE 2: Compile the new compiler with whatever came out of stage 1. STAGE 3: As a sanity check, compile the new compiler a third time with whatever came out of stage 2 Because stage 1 should have produced a fully updated compiler, it's output (stage 2) should be identical to what that compiler in turn produced (Stage 3). This is where it's failing for me. Stanislav Nikolov wrote: > I think they should be compiled with the same version of gcc, > shouldn't they? > > On 12/24/2015 05:18 PM, Alan Grimes wrote: > > Hey, thanks for putting out gcc 5.3... > > > Unfortunately, it fails to bootstrap on my machine. I am getting > > differences between the stage 2 and stage 3 compilers and it's > dying... =( > > > make[2]: Entering directory > > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > make[3]: Entering directory > > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > rm -f stage_current > > make[3]: Leaving directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > Comparing stages 2 and 3 > > warning: gcc/cc1plus-checksum.o differs > > warning: gcc/cc1-checksum.o differs > > Bootstrap comparison failure! > > gcc/tree-ssa-threadedge.o differs > > gcc/tsan.o differs > > gcc/print-tree.o differs > > gcc/df-core.o differs > > gcc/omega.o differs > > gcc/dwarf2cfi.o differs > > gcc/lto-cgraph.o differs > > gcc/sanopt.o differs > > gcc/sched-vis.o differs > > gcc/tree-ssa-tail-merge.o differs > > gcc/godump.o differs > > gcc/graph.o differs > > gcc/tree-vect-loop-manip.o differs > > gcc/cse.o differs > > gcc/omp-low.o differs > > > [many lines omitted] > > > libiberty/xmalloc.o differs > > libiberty/simple-object-elf.o differs > > libiberty/spaces.o differs > > libiberty/pex-unix.o differs > > libiberty/simple-object-coff.o differs > > libiberty/crc32.o differs > > libiberty/physmem.o differs > > libiberty/make-relative-prefix.o differs > > libiberty/argv.o differs > > libiberty/pex-common.o differs > > libiberty/simple-object.o differs > > libiberty/strerror.o differs > > libiberty/simple-object-mach-o.o differs > > libiberty/sha1.o differs > > libiberty/cp-demint.o differs > > libiberty/dyn-string.o differs > > libiberty/make-temp-file.o differs > > libiberty/cplus-dem.o differs > > libiberty/sort.o differs > > libiberty/splay-tree.o differs > > libiberty/xstrndup.o differs > > lto-plugin/.libs/lto-plugin.o differs > > Makefile:19638: recipe for target 'compare' failed > > make[2]: *** [compare] Error 1 > > make[2]: Leaving directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > Makefile:19617: recipe for target 'stage3-bubble' failed > > make[1]: *** [stage3-bubble] Error 2 > > make[1]: Leaving directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > > Makefile:19691: recipe for target 'bootstrap-lean' failed > > make: *** [bootstrap-lean] Error 2 > > * ERROR: sys-devel/gcc-5.3.0::gentoo failed (compile phase): > > * emake failed > > > > > -- IQ is a measure of how stupid you feel. Powers are not rights.