Uploaded image for project: 'Funtoo From Scratch'
  1. Funtoo From Scratch
  2. FFS-10

[Funtoo From Scratch] ffs stage1 riscv-64bit glibc-2.33 cross-tools compilation error

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • Hide
      Make sure you have ffs dependencies installed on your Funtoo system
      Clone the code.funtoo.org ffs repo
      cd ffs
      time ./ci/lxd-baremetal/bin/ffs gnu riscv-64bit
      Show
      Make sure you have ffs dependencies installed on your Funtoo system Clone the code.funtoo.org ffs repo cd ffs time ./ci/lxd-baremetal/bin/ffs gnu riscv-64bit
    • 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
      

       

            oleg oleg
            siris siris
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: