1 |
Hello, Gentoo. |
2 |
|
3 |
Would somebody help me here, please. |
4 |
|
5 |
When I try to emerge glibc-2.33-r1, the very first phase of the build |
6 |
crashes out with: |
7 |
|
8 |
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed glibc-test.c -o glibc-test |
9 |
* Checking that IA32 emulation is enabled in the running kernel ... |
10 |
/usr/portage/sys-libs/glibc/glibc-2.33-r1.ebuild: line 608: 199 Segmentation fault "${T}/check-ia32-emulation.elf32" |
11 |
[ !! ] |
12 |
* ERROR: sys-libs/glibc-2.33-r1::gentoo failed (pretend phase): |
13 |
* CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib glibc. |
14 |
* |
15 |
* Call stack: |
16 |
* ebuild.sh, line 127: Called pkg_pretend |
17 |
* glibc-2.33-r1.ebuild, line 721: Called sanity_prechecks |
18 |
* glibc-2.33-r1.ebuild, line 670: Called die |
19 |
* The specific snippet of code: |
20 |
* [[ $STAT -eq 0 ]] || die "CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib glibc." |
21 |
* |
22 |
* If you need support, post the output of `emerge --info '=sys-libs/glibc-2.33-r1::gentoo'`, |
23 |
* the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.33-r1::gentoo'`. |
24 |
* The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log'. |
25 |
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/die.env'. |
26 |
* Working directory: '/var/tmp/portage/sys-libs/glibc-2.33-r1/empty' |
27 |
* S: '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33' |
28 |
|
29 |
>>> Failed to emerge sys-libs/glibc-2.33-r1, Log file: |
30 |
|
31 |
>>> '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log' |
32 |
|
33 |
What is clearly happening is that the C Compiler is crashing out with a |
34 |
segfault. I actually have CONFIG_IA32_EMULATION in my kernel config. |
35 |
|
36 |
I've tried this with both GCC-10.3.0 and GCC-9.3.0 with the same results |
37 |
on both. |
38 |
|
39 |
What is going wrong? (Horrible thought - maybe my RAM is failing.) |
40 |
|
41 |
-- |
42 |
Alan Mackenzie (Nuremberg, Germany). |