GNU Binutils 2.38 has been released

Jim Wilson jim.wilson.gcc@gmail.com
Wed Feb 23 17:59:13 GMT 2022


On Wed, Feb 23, 2022 at 9:31 AM Waldemar Brodkorb <wbx@openadk.org> wrote:

> Traceback (most recent call last):
> File
>
>  "/home/wbx/openadk/toolchain_build_qemu-riscv64_uclibc-ng/w-gcc-11.2.0-1/gcc-11.2.0/gcc/config/riscv/arch-canonicalize",
>  line 114, in <module>
>  print (arch_canonicalize(arg))
>  File
>
>  "/home/wbx/openadk/toolchain_build_qemu-riscv64_uclibc-ng/w-gcc-11.2.0-1/gcc-11.2.0/gcc/config/riscv/arch-canonicalize",
>  line 89, in arch_canonicalize
>  long_exts = list(sorted(filter(lambda x:len(x) != 1,
>  long_exts),
>  File
>
>  "/home/wbx/openadk/toolchain_build_qemu-riscv64_uclibc-ng/w-gcc-11.2.0-1/gcc-11.2.0/gcc/config/riscv/arch-canonicalize",
>  line 81, in longext_sort
>  raise Exception("Unsupported extension `%s`" % exts)
>  Exception: Unsupported extension `zicsr`
>  --with-abi=lp64 is not supported for ISA
>  gmake[6]: *** [Makefile:4353: configure-gcc] Error 1
>

The GCC arch_canonicalize script was missed in the initial round of fixes.
There is a patch for that too.  And that patch may have to be backported to
older versions also.  This is going to be a mess for a while until we get
everything fixed.  Unfortunately us software guys can't do much about the
problem, as it is the RISC-V International ISA guys that are causing the
trouble.  They keep making changes without considering how it is going to
affect the software support.

Jim


More information about the Binutils mailing list