#1126521 glibc: FTBFS on m68k with gcc-15

Package:
src:glibc
Source:
src:glibc
Submitter:
John Paul Adrian Glaubitz
Date:
2026-02-23 17:39:22 UTC
Severity:
normal
Tags:
#1126521#5
Date:
2026-01-27 23:04:15 UTC
From:
To:
Hi,

glibc FTBFS on m68k:

make[1]: Entering directory '/<<PKGBUILDDIR>>/build-tree/m68k-libc'
/usr/bin/make -r PARALLELMFLAGS="" -C /<<PKGBUILDDIR>> objdir=`pwd` localedata/install-locale-files
make[2]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make  -C localedata install-locale-files
make[3]: Entering directory '/<<PKGBUILDDIR>>/localedata'
.././scripts/mkinstalldirs /<<PKGBUILDDIR>>/build-tree/locales-all/usr/lib/locale
mkdir -p -- /<<PKGBUILDDIR>>/build-tree/locales-all/usr/lib/locale
aa_DJ.ISO-8859-1aa_DJ.UTF-8......charmaps/UTF-8:55366: unknown character `'
 done
aa_ER.UTF-8...charmaps/UTF-8:55366: unknown character `'
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:63593: [error] symbol `U00000AE9'
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:64578: [error] symbol `U0001D58A'
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:65646: [error] symbol `U0001D66D'
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:66592: [error] symbol `U0000019C'
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:77852: [error] symbol `U00003335'
[error] no output file produced because errors were issued
make[3]: *** [Makefile:573: install-files-aa_DJ.UTF-8/UTF-8] Error 4
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:63593: [error] symbol `U00000AE9'
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:64578: [error] symbol `U0001D58A'
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:65646: [error] symbol `U0001D66D'
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:66592: [error] symbol `U0000019C'
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:54835: [error] symbol `U00000000' has the same encoding as
/<<PKGBUILDDIR>>/localedata/locales/iso14651_t1_common:77852: [error] symbol `U00003335'
[error] no output file produced because errors were issued
make[3]: *** [Makefile:573: install-files-aa_ER/UTF-8] Error 4
make[3]: Leaving directory '/<<PKGBUILDDIR>>/localedata'
make[2]: *** [Makefile:784: localedata/install-locale-files] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:20: localedata/install-locale-files] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build-tree/m68k-libc'

A quick analysis showed that this regression was introduced by the switch to gcc-15
in 2.42-6. Building the current 2.42-11 package with gcc-14 works fine.

Not sure whether it's a bug in gcc or glibc, but I reported it to glibc for now [2].