-
Bug
-
Resolution: Unresolved
-
Normal
-
ffs riscv-64bit stages cannot be built
-
Upstream glibc incompatibility, some other riscv64 related incompatibility, or some other CLFS unknown
During this weekend's ffs live stream event, I decided to attempt to build the a ffs riscv-64bit stage1 on my Funtoo x86-64 dev system. Currently the build errors out during the cross-tools compilation of glibc-2.33 with this specific error:
In function '__rawmemchr', inlined from '__rawmemchr' at rawmemchr.c:27:1: rawmemchr.c:40:12: error: 'memchr' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overread] 40 | return memchr (s, c, (size_t)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [../o-iterator.mk:9: /root/ffs-repo/build/glibc-2.33/glibc-build/string/rawmemchr.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/root/ffs-repo/build/glibc-2.33/string' make[1]: *** [Makefile:479: string/subdir_lib] Error 2 make[1]: Leaving directory '/root/ffs-repo/build/glibc-2.33' make: *** [Makefile:9: all] Error 2 Error encountered -- exit code 512 Test failure: step cross_tools failed. real 10m30.851s