Gentoo Archives: gentoo-alt

From: Sven Goericke <sven.goericke@××××××.de>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] [Prefix] macos x86_64: GCC Bootstrap fails
Date: Fri, 06 Aug 2021 10:29:57
Message-Id: 4eb3d8f9-b848-a1e9-97f0-a53b976fab5b@posteo.de
1 Dear Gentto Prefix team,
2
3 I tried to setup Gentoo Prefix a couple of times on my MBP 2018.
4 Unfortunately it always fails during bootstrap of GCC, comparison
5 between stage 2 and stage 3.
6
7 OS: macos Big Sur 11.5.1
8 MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports) (8GB RAM, i5)
9 Latest Xcode installed Version 12.5.1 (12E507)
10
11 Since I have worked as C++ dev in the past I would assume that different
12 object files (from same source) using the same compiler could be caused
13 only by different compiler-flags . But to be honest, I have no knowledge
14 about the gcc bootstrap process (guessing it will compile once and then
15 itself again with the fresh compile). So maybe someone from you guys has
16 some hint. I already had Gentoo installed natively on this MBP but want
17 to play around with Prefix a bit.
18
19 I'll try to attach the stage3.log, just let me know if you need further
20 information. However, probably the most important lines:
21
22 make[2]: Entering directory
23 '/Users/svengoericke/Gentoo/var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/build'
24 make[3]: Entering directory
25 '/Users/svengoericke/Gentoo/var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/build'
26 rm -f stage_current
27 make[3]: Leaving directory
28 '/Users/svengoericke/Gentoo/var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/build'
29 Comparing stages 2 and 3
30 warning: gcc/cc1obj-checksum.o differs
31 warning: gcc/cc1objplus-checksum.o differs
32 Bootstrap comparison failure!
33 gcc/tree-ssa-operands.o differs
34 gcc/tree-ssanames.o differs
35
36 Edit: stage3.log is too big to attach, I just upladed to my server:
37
38 https://dg6lmp.de/stage1.log
39 https://dg6lmp.de/stage2.log
40 https://dg6lmp.de/stage3.log
41
42 BR Sven

Replies

Subject Author
Re: [gentoo-alt] [Prefix] macos x86_64: GCC Bootstrap fails Fabian Groffen <grobian@g.o>