https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117177
Bug ID: 117177
Summary: [15 regression] RISC-V: Error when building glibc from
source since r15-4377-gf9bac238840
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: ewlu at rivosinc dot com
Target Milestone: ---
Our postcommit is failing to build all linux targets since
r15-4377-gf9bac238840 with the error:
cp1258.c:551:13: error: size of array 'verify2' is negative
551 | typedef int verify2[(NELEMS (from_ucs4) == FROM_IDX_FF) - 1];
| ^~~~~~~
make[3]: *** [../o-iterator.mk:9:
/scratch/ewlu/ci/triage/baseline/build-failure/build-glibc-linux-rv32imafdc-ilp32d/iconvdata/cp1258.os]
Error 1
https://github.com/patrick-rivos/gcc-postcommit-ci/issues/1937
This is attempting to build glibc 2.39 at hash
ef321e23c20eebc6d6fb4044425c00e6df27b05f with the stage1 cc1/xgcc
Tested locally on r15-4393-g69b2d523b10 and confirmed error.
glibc configure:
/scratch/ewlu/ci/triage/baseline/hash-f9bac238840155e1539aa68daf1507ea63c9ed80/../glibc/configure
--host=riscv32-unknown-linux-gnu --prefix=/usr --disable-werror --enable-shared
--enable-obsolete-rpc
--with-headers=/scratch/ewlu/ci/triage/baseline/hash-f9bac238840155e1539aa68daf1507ea63c9ed80/../linux-headers/include
--enable-multilib --enable-kernel=3.0.0 --libdir=/usr/lib32/ilp32d
libc_cv_slibdir=/lib32/ilp32d libc_cv_rtlddir=/lib