make BREAKPOINT=828-gcc: internal compiler error: Illegal instruction
"\"md\"" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sun, 15 Mar 2026 21:13:02 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format...
------------=_1773609190-1253-16313
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-length: 8763
HI,
I'm not sure this is jhalfs related (maybe it also happens in the main book=
),
but with:
jhalfs: 057a3125b5ef282e2d38d2fe6ab33089b2c60cfc (HEAD -> trunk, origin/tru=
nk,
origin/HE =08AD) tests in BLFS: Prevent adding "-k" to non "make" command
lfs: 0be125fdfc2e8c009d2eea1eaf6d5651affc6499 (HEAD -> trunk, origin/trunk,
origin/HE =08AD) Package updates.
I'm getting:
```
make BREAKPOINT=3D828-gcc
...
2026-03-15T11:04:18.3215938Z libtool: compile: /sources/gcc-15.2.0/build/./
gcc/xgcc -B/sources/gcc-15.2.0/build/./gcc/ -B/usr\
/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/
x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-li\
nux-gnu/sys-include -DHAVE_CONFIG_H -I../../../libatomic/config/x86 -
I../../../libatomic/config/posix -I../../../libatomic -I.\
-Wall -Werror -fcf-protection -mshstk -pthread -g -O2 -MT fsub_2_.lo -MD -=
MP
-MF .deps/fsub_2_.lo.Ppo -DN=3D2 -c ../../../libat\
omic/fsub_n.c -fPIC -DPIC -o .libs/fsub_2_.o
2026-03-15T11:04:18.3216165Z In file included from /sources/gcc-15.2.0/libs=
tdc
++-v3/include/precompiled/stdc++.h:115:
2026-03-15T11:04:18.3216646Z /sources/gcc-15.2.0/build/x86_64-pc-linux-gnu/
libstdc++-v3/include/cmath: In function '_RealType \
std::generate_canonical(_UniformRandomNumberGenerator&)':
2026-03-15T11:04:18.3217051Z /sources/gcc-15.2.0/build/x86_64-pc-linux-gnu/
libstdc++-v3/include/bits/random.tcc:3359:54: in \
'constexpr' expansion of 'std::log(2.0e+0l)'
2026-03-15T11:04:18.3217457Z /sources/gcc-15.2.0/build/x86_64-pc-linux-gnu/
libstdc++-v3/include/cmath:338:26: internal compile\
r error: Illegal instruction
2026-03-15T11:04:18.3217551Z 338 | { return __builtin_logl(__x); }
2026-03-15T11:04:18.3217628Z | ~~~~~~~~~~~~~~^~~~~
2026-03-15T11:04:18.3219182Z libtool: compile: /sources/gcc-15.2.0/build/./
gcc/xgcc -B/sources/gcc-15.2.0/build/./gcc/ -B/usr\
/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/
x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-li\
nux-gnu/sys-include -DHAVE_CONFIG_H -I../../../libatomic/config/x86 -
I../../../libatomic/config/posix -I../../../libatomic -I.\
-Wall -Werror -fcf-protection -mshstk -pthread -g -O2 -MT fsub_2_.lo -MD -=
MP
-MF .deps/fsub_2_.lo.Ppo -DN=3D2 -c ../../../libat\
omic/fsub_n.c -o fsub_2_.o >/dev/null 2>&1
...
2026-03-15T11:04:18.3237271Z libtool: compile: /sources/gcc-15.2.0/build/./
gcc/xgcc -B/sources/gcc-15.2.0/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/=
-
B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -
isystem /usr/x86_64-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I../../../
libatomic/config/x86 -I../../../libatomic/config/posix -I../../../libatomic=
-
I. -Wall -Werror -fcf-protection -mshstk -pthread -g -O2 -MT fior_2_.lo -MD=
-
MP -MF .deps/fior_2_.lo.Ppo -DN=3D2 -c ../../../libatomic/fior_n.c -o fior_=
2_.o
>/dev/null 2>&1
2026-03-15T11:04:18.3237436Z 0x555750abc791 internal_error(char const*, ...)
2026-03-15T11:04:18.3237542Z ../../gcc/diagnostic-global-context.cc:517
2026-03-15T11:04:18.3237624Z 0x55574f74d663 crash_signal
2026-03-15T11:04:18.3237700Z ../../gcc/toplev.cc:322
2026-03-15T11:04:18.3237778Z 0x7f6b1e9eaa8f ???
2026-03-15T11:04:18.3237985Z /sources/glibc-2.43/signal/../sysdeps/unix/
sysv/linux/x86_64/libc_sigaction.c:0
2026-03-15T11:04:18.3238067Z 0x55574f3a5aed do_mpfr_arg1
2026-03-15T11:04:18.3238156Z ../../gcc/fold-const-call.cc:137
2026-03-15T11:04:18.3238235Z 0x55574f3a5aed do_mpfr_arg1
2026-03-15T11:04:18.3238318Z ../../gcc/fold-const-call.cc:122
2026-03-15T11:04:18.3238406Z 0x55574f3a7e42 fold_const_call_ss
2026-03-15T11:04:18.3238487Z ../../gcc/fold-const-call.cc:822
2026-03-15T11:04:18.3238573Z 0x55574f3a7e42 fold_const_call_1
2026-03-15T11:04:18.3238656Z ../../gcc/fold-const-call.cc:1268
2026-03-15T11:04:18.3238739Z 0x55574f203c6e fold_builtin_1
2026-03-15T11:04:18.3238818Z ../../gcc/builtins.cc:10644
2026-03-15T11:04:18.3238896Z 0x55574f203c6e fold_builtin_n
2026-03-15T11:04:18.3239033Z ../../gcc/builtins.cc:10958
2026-03-15T11:04:18.3239141Z 0x55574ef3b84e cxx_eval_builtin_function_call
2026-03-15T11:04:18.3239221Z ../../gcc/cp/constexpr.cc:1728
2026-03-15T11:04:18.3239318Z 0x55574ef2c830 cxx_eval_constant_expression
2026-03-15T11:04:18.3239398Z ../../gcc/cp/constexpr.cc:7915
2026-03-15T11:04:18.3239491Z 0x55574ef30c2f cxx_eval_store_expression
2026-03-15T11:04:18.3239569Z ../../gcc/cp/constexpr.cc:6456
2026-03-15T11:04:18.3239663Z 0x55574ef2c1e0 cxx_eval_constant_expression
2026-03-15T11:04:18.3239741Z ../../gcc/cp/constexpr.cc:8074
2026-03-15T11:04:18.3239837Z 0x55574ef2db56 cxx_eval_constant_expression
2026-03-15T11:04:18.3239914Z ../../gcc/cp/constexpr.cc:8086
2026-03-15T11:04:18.3240010Z 0x55574ef2ca4c cxx_eval_constant_expression
2026-03-15T11:04:18.3240086Z ../../gcc/cp/constexpr.cc:8148
2026-03-15T11:04:18.3240176Z 0x55574ef2d926 cxx_eval_statement_list
2026-03-15T11:04:18.3240252Z ../../gcc/cp/constexpr.cc:7225
2026-03-15T11:04:18.3240346Z 0x55574ef2d926 cxx_eval_constant_expression
2026-03-15T11:04:18.3240426Z ../../gcc/cp/constexpr.cc:8727
2026-03-15T11:04:18.3240517Z 0x55574ef29d1a cxx_eval_call_expression
2026-03-15T11:04:18.3240593Z ../../gcc/cp/constexpr.cc:3376
2026-03-15T11:04:18.3240685Z 0x55574ef2c830 cxx_eval_constant_expression
2026-03-15T11:04:18.3240762Z ../../gcc/cp/constexpr.cc:7915
2026-03-15T11:04:18.3240873Z 0x55574ef36ecc cxx_eval_outermost_constant_expr
2026-03-15T11:04:18.3240950Z ../../gcc/cp/constexpr.cc:9238
2026-03-15T11:04:18.3241173Z Please submit a full bug report, with
preprocessed source (by using -freport-bug).
2026-03-15T11:04:18.3241321Z Please include the complete backtrace with any
bug report.
2026-03-15T11:04:18.3241454Z See <https://gcc.gnu.org/bugs/> for instructio=
ns.
2026-03-15T11:04:18.3243068Z /bin/sh ./libtool --tag=3DCC --mode=3Dcompi=
le /
sources/gcc-15.2.0/build/./gcc/xgcc -B/sources/gcc-15.2.0/build/./gcc/ -B/u=
sr/
x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_=
64-
pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -
DHAVE_CONFIG_H -I../../../libatomic/config/x86 -I../../../libatomic/config/
posix -I../../../libatomic -I. -Wall -Werror -fcf-protection -mshstk -
pthread -g -O2 -MT fxor_2_.lo -MD -MP -MF .deps/fxor_2_.lo.Ppo -DN=3D2 -c =
-o
fxor_2_.lo ../../../libatomic/fxor_n.c
2026-03-15T11:04:18.3243290Z make[5]: *** [Makefile:1942: x86_64-pc-linux-g=
nu/
bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
...
```
I'm running jhalfs on a github ations runner
https://github.com/actions/runner-images/blob/ubuntu24/20260302.42/images/u=
buntu/Ubuntu2404-Readme.md
This is lscpu on the runner host (I'm running jhalfs in a Docker container):
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: AuthenticAMD
Model name: AMD EPYC 7763 64-Core Processor
CPU family: 25
Model: 1
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Stepping: 1
BogoMIPS: 4890.85
Flags: fpu vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx
mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable
nonstop_tsc cpuid extd_apicid aperfmperf tsc_known_freq pni pclmulqdq ssse3
fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervis=
or
lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw
topoext vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap
clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves user_shstk clzero
xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid
decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq
rdpid fsrm
Virtualization: AMD-V
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 64 KiB (2 instances)
L1i cache: 64 KiB (2 instances)
L2 cache: 1 MiB (2 instances)
L3 cache: 32 MiB (1 instance)
NUMA node(s): 1
NUMA node0 CPU(s): 0-3
Marcin
------------=_1773609190-1253-16313
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
------------=_1773609190-1253-16313--