https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113820
Bug ID: 113820
Summary: [14 Regression] libdruntime fails to build on
arm-linux-gnueabi (armv5t)
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
seen with trunk 20240107, worked with 20240201 before the last merge from D
upstream:
libtool: compile:
/home/packages/cross/14/p/gcc-cross-ports/gcc/build/./gcc/gdc -B/home/package
s/cross/14/p/gcc-cross-ports/gcc/build/./gcc/ -B/usr/arm-linux-gnueabi/bin/
-B/usr/arm-linux-gnu
eabi/lib/ -isystem /usr/arm-linux-gnueabi/include -isystem
/usr/arm-linux-gnueabi/sys-include -i
system /home/packages/cross/14/p/gcc-cross-ports/gcc/build/sys-include
-fversion=Shared -Wall -f
release -ffunction-sections -fdata-sections -O2 -g -fpreview=dip1000
-fpreview=fieldwise -fprevi
ew=dtorfields -nostdinc -I ../../../../src/libphobos/libdruntime -I . -c
../../../../src/libphob
os/libdruntime/core/stdc/stdarg.d -fPIC -fversion=Shared -o core/stdc/stdarg.o
>/dev/null 2>&1
/home/packages/cross/14/p/gcc-cross-ports/gcc/src/libphobos/libdruntime/core/internal/atomic.d:6
12:53: error: cannot evaluate unimplemented builtin '__atomic_is_lock_free' at
compile time
612 | enum IsAtomicLockFree(T) = __atomic_is_lock_free(T.sizeof, null);
| ^
../../../../src/libphobos/libdruntime/core/stdc/stdatomic.d:65:30: error:
template instance 'cor
e.internal.atomic.IsAtomicLockFree!ulong' error instantiating
65 | ATOMIC_LLONG_LOCK_FREE = IsAtomicLockFree!ulong ? 2 : 0,
| ^
checking for gethostname... make[7]: *** [Makefile:2580:
core/stdc/stdatomic.lo] Error 1