`Compile Glibc`: internal compiler error: in pop_scope, at c/c-decl.c
BoQsc opened this issue · 10 comments
https://github.com/gobolinux/Recipes/tree/master/Glibc
So I tried to Compile Glibc
on a Live CD today and had this weird compilation error.
How I tried:
InstallPackage https://gobolinux.org/packages/017/Fuse--2.9.7--x86_64.tar.bz2
InstallPackage https://gobolinux.org/packages/017/UnionFS-Fuse--2.1--x86_64.tar.bz2
Compile Glibc
Last lines of a meaningful log:
ps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /Programs/Linux-Headers/5.4.15/include -D_LIBC_REENTRANT -include /Data/Compile/Sources/glibc-2.30/_build/libc-modules.h -DMODULE_NAME=libmvec -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -DASSEMBLER -g -Werror=undef -Wa,--noexecstack -o /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core_avx.os -MD -MP -MF /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core_avx.os.dt -MT /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core_avx.os
gcc ../sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c -c -std=gnu11 -fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -fPIC -I../include -I/Data/Compile/Sources/glibc-2.30/_build/mathvec -I/Data/Compile/Sources/glibc-2.30/_build -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /Programs/Linux-Headers/5.4.15/include -D_LIBC_REENTRANT -include /Data/Compile/Sources/glibc-2.30/_build/libc-modules.h -DMODULE_NAME=libmvec -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -o /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core.os -MD -MP -MF /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core.os.dt -MT /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core.os
gcc ../sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c -c -std=gnu11 -fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -fPIC -I../include -I/Data/Compile/Sources/glibc-2.30/_build/mathvec -I/Data/Compile/Sources/glibc-2.30/_build -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /Programs/Linux-Headers/5.4.15/include -D_LIBC_REENTRANT -include /Data/Compile/Sources/glibc-2.30/_build/libc-modules.h -DMODULE_NAME=libmvec -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -o /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp8_core.os -MD -MP -MF /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp8_core.os.dt -MT /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp8_core.os
../sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c:26:3: internal compiler error: in pop_scope, at c/c-decl.c:1369
26 | __attribute__ ((visibility ("hidden")));
| ^~~~~~~~~~~~~
0x7fef58a578aa __libc_start_main
../csu/libc-start.c:308
0x83af69 ???
../sysdeps/x86_64/start.S:120
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: *** [/Data/Compile/Sources/glibc-2.30/_build/sysd-rules:569: /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp8_core.os] Error 1
make[2]: Leaving directory '/Data/Compile/Sources/glibc-2.30/mathvec'
make[1]: *** [Makefile:252: mathvec/others] Error 2
make[1]: Leaving directory '/Data/Compile/Sources/glibc-2.30'
make: *** [Makefile:9: all] Error 2
Compile: Glibc 2.30 - Build process failed.
Almost full log: (Useless, nothing interesting happens for the most part)
https://gist.github.com/BoQsc/5fb21300f558fb63b0299ceb5c0811d2
I'd suspect it's because 2.30 is already preinstalled on GoboLinux Live CD
root@LiveCD /Programs/Glibc]ls
2.30
2.30 is the latest version of glibc.
Therefore Compile Glibc
tries to fetch and compile the same 2.30 version as is already installed.
But I could be very wrong, as it is compilation error, not an installation error..?
Trying to update Glibc Recipe to 2.34
I tried to update the glibc Recipe to 2.34 and waiting for it to compile now:
You have to extract it and
InstallPackage https://gobolinux.org/packages/017/Fuse--2.9.7--x86_64.tar.bz2
InstallPackage https://gobolinux.org/packages/017/UnionFS-Fuse--2.1--x86_64.tar.bz2
cd Downloads
tar -xf Glibcnew.tar.gz
mv Glibcnew/ /Data/Compile/Recipes/
Compile Glibcnew
This is only a testing phase. I'm not sure if this will get anywhere.
Alright seems to be failing as well. But differently
/Programs/Make/4.3/bin/make subdir=time -C ../time ..=../ objdir=/Data/Compile/Sources/glibc-2.34/_build -f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-setitimer.os'
make[4]: Entering directory '/Data/Compile/Sources/glibc-2.34/time'
make[4]: Leaving directory '/Data/Compile/Sources/glibc-2.34/time'
make[3]: Leaving directory '/Data/Compile/Sources/glibc-2.34/elf'
make[2]: Leaving directory '/Data/Compile/Sources/glibc-2.34/elf'
/usr/bin/install -c -m 644 /Data/Compile/Sources/glibc-2.34/_build/libc.a /usr/lib/libc.a
/usr/bin/install -c -m 644 /Data/Compile/Sources/glibc-2.34/_build/libc_nonshared.a /usr/lib/libc_nonshared.a
/usr/bin/install -c /Data/Compile/Sources/glibc-2.34/_build/libc.so /lib/libc.so.6.new
mv -f /lib/libc.so.6.new /lib/libc.so.6
gcc -shared -nostdlib -nostartfiles \
-x assembler /dev/null -o /Data/Compile/Sources/glibc-2.34/_build/format.lds.so
make[1]: *** [Makerules:1043: /Data/Compile/Sources/glibc-2.34/_build/format.lds] Illegal instruction
make[1]: Leaving directory '/Data/Compile/Sources/glibc-2.34'
make: *** [Makefile:12: install] Error 2
UnionSandbox: Cleaning up.
UnionSandbox: Moving entries to: /Programs/Glibcnew/2.34/.SandboxInstall_Root
Compile: Glibcnew 2.34 - Installation step failed.
root@LiveCD ~/Downloads]
Important bit from the above log
gcc -shared -nostdlib -nostartfiles \
-x assembler /dev/null -o /Data/Compile/Sources/glibc-2.34/_build/format.lds.so
make[1]: *** [Makerules:1043: /Data/Compile/Sources/glibc-2.34/_build/format.lds] Illegal instruction
A thing to notice is that this time it's "Installation step failed" and not a Compilation like on a 2.30 version.
I'm really not sure what to do.
Some information on building glibc:
https://www.linuxfromscratch.org/~thomas/multilib/chapter05/glibc.html
https://www.linuxfromscratch.org/~thomas/multilib/chapter08/glibc.html
Do you see anything relevant on the system logs? Perhaps the very last lines of dmesg
may be able to give you a hint of what's going on.
Do you see anything relevant on the system logs? Perhaps the very last lines of
dmesg
may be able to give you a hint of what's going on.
Suspicious Dmesg after Glibc 2.34 error (#141 (comment))
[ 2997.279948] traps: gcc[1590] trap invalid opcode ip:7f146ae73180 sp:7ffee2899f08 error:0 in libc.so.6[7f146acf1000+1f5000]
This line seems to be last in the dmesg.
The reasons this line is suspicious to me is because it contains string libc.so.6
. (libc.so.6 seems to be part of glibc)
invalid opcode
reinforces my previous suspicion of incorrect architecture compilation. But I might be horribly wrong.
Full dmesg log:
https://gist.github.com/BoQsc/421c2a444bb1576bf042d94bfb48202a
Some more guesswork on glibc 2.34 compilation error (#141 (comment))
The Illegal instruction
error seems to sound like a deeper problem.
I'm not sure maybe this error is only localised around AMD CPUs.
I saw some mysterious configure flag for glib on Linux from scratch that is missing in GoboLinux Glibc Recipe:
--enable-multi-arch \
Gentoo forum trying to figure the reasons of this flag: https://forums.gentoo.org/viewtopic-t-1088276-start-0.html
Maybe I'll try that next compilation time. But I have a bad feeling it won't help out a bit.
For now I added --enable-multi-arch
to my latest Glibc Recipe, not sure how it goes.
Summary so far
So far nothing helped. Same errors.
I was not able to Compile Glibc
neither the current Glibc 2.30
Recipe nor a self-made Glibc 2.34
Recipe on a GoboLinux Live CD
Compile Glibcnew
(Glibc 2.34) (Self-made Recipe) produced this error:
/usr/bin/install -c -m 644 /Data/Compile/Sources/glibc-2.34/_build/libc.a /usr/lib/libc.a
/usr/bin/install -c -m 644 /Data/Compile/Sources/glibc-2.34/_build/libc_nonshared.a /usr/lib/libc_nonshared.a
/usr/bin/install -c /Data/Compile/Sources/glibc-2.34/_build/libc.so /lib/libc.so.6.new
mv -f /lib/libc.so.6.new /lib/libc.so.6
gcc -shared -nostdlib -nostartfiles \
-x assembler /dev/null -o /Data/Compile/Sources/glibc-2.34/_build/format.lds.so
make[1]: *** [Makerules:1043: /Data/Compile/Sources/glibc-2.34/_build/format.lds] Illegal instruction
make[1]: Leaving directory '/Data/Compile/Sources/glibc-2.34'
make: *** [Makefile:12: install] Error 2
UnionSandbox: Cleaning up.
UnionSandbox: Moving entries to: /Programs/Glibcnew/2.34/.SandboxInstall_Root
Compile: Glibcnew 2.34 - Installation step failed.
Compile Glibc 2.30
Recipe produced this error:
ps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /Programs/Linux-Headers/5.4.15/include -D_LIBC_REENTRANT -include /Data/Compile/Sources/glibc-2.30/_build/libc-modules.h -DMODULE_NAME=libmvec -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -DASSEMBLER -g -Werror=undef -Wa,--noexecstack -o /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core_avx.os -MD -MP -MF /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core_avx.os.dt -MT /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core_avx.os
gcc ../sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c -c -std=gnu11 -fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -fPIC -I../include -I/Data/Compile/Sources/glibc-2.30/_build/mathvec -I/Data/Compile/Sources/glibc-2.30/_build -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /Programs/Linux-Headers/5.4.15/include -D_LIBC_REENTRANT -include /Data/Compile/Sources/glibc-2.30/_build/libc-modules.h -DMODULE_NAME=libmvec -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -o /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core.os -MD -MP -MF /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core.os.dt -MT /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp4_core.os
gcc ../sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c -c -std=gnu11 -fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -Wstrict-prototypes -Wold-style-definition -fmath-errno -fPIC -I../include -I/Data/Compile/Sources/glibc-2.30/_build/mathvec -I/Data/Compile/Sources/glibc-2.30/_build -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /Programs/GCC/9.2.0/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /Programs/Linux-Headers/5.4.15/include -D_LIBC_REENTRANT -include /Data/Compile/Sources/glibc-2.30/_build/libc-modules.h -DMODULE_NAME=libmvec -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -o /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp8_core.os -MD -MP -MF /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp8_core.os.dt -MT /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp8_core.os
../sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c:26:3: internal compiler error: in pop_scope, at c/c-decl.c:1369
26 | __attribute__ ((visibility ("hidden")));
| ^~~~~~~~~~~~~
0x7fef58a578aa __libc_start_main
../csu/libc-start.c:308
0x83af69 ???
../sysdeps/x86_64/start.S:120
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: *** [/Data/Compile/Sources/glibc-2.30/_build/sysd-rules:569: /Data/Compile/Sources/glibc-2.30/_build/mathvec/svml_d_exp8_core.os] Error 1
make[2]: Leaving directory '/Data/Compile/Sources/glibc-2.30/mathvec'
make[1]: *** [Makefile:252: mathvec/others] Error 2
make[1]: Leaving directory '/Data/Compile/Sources/glibc-2.30'
make: *** [Makefile:9: all] Error 2
Compile: Glibc 2.30 - Build process failed.
I pressed close with comment on an accident.
Anyways, I'm sure I do not have enough knowledge to resolve this.
No errors while compiling Glibc on Virtual box in GoboLinux Live CD
(Hardware is x64 bit with 4800mb of RAM)
So, I tried to Compile Glibc 2.30 on a virtual box and in the live cd of gobolinux.
Suprisingly enough. It seems to not have any problems so far.
Compiling Glibc might be only a problem for people that use AMD processors.
I'm not sure maybe some flags are needed, maybe some packages are needed, maybe some configurations are needed.
All I know is that Glibc seems to Compile on Virtual Box in Gobolinux Live CD
--enable-multi-arch
is meant to produce both 32-bit and 64-bit libraries, which is not what you want.
This really looks like GCC having been built with optimizations not tailored for your processor. However, as I check the flags used to compile the GCC package that we ship in the Live CD, we used --with-cpu-64=generic
, which should be OK.
Are you running the same version of GCC shipped with the ISO, or did you build your own?
Are you running the same version of GCC shipped with the ISO, or did you build your own?
I'm always trying to work on everything with the Live CD defaults.
--enable-multi-arch is meant to produce both 32-bit and 64-bit libraries, which is not what you want.
You are right, I was quick to test things out, to make sure that is true.
This really looks like GCC having been built with optimizations not tailored for your processor. However, as I check the flags used to compile the GCC package that we ship in the Live CD, we used
--with-cpu-64=generic
, which should be OK.
It's not that horrible as long as it happen only for my own processor, which is AMD Phenom II X6 1055T
and to note as a future reference: a motherboard: Gigabyte GA-870A-UD3
. Everything is pretty basic.
For more details: https://www.userbenchmark.com/UserRun/31641448
I'll report if I'll have same problem with more processors, some months later.