[PATCH] build-many-glibcs: Add a RISC-V config with most of the B extensions

Florian Weimer fweimer@redhat.com
Wed Sep 6 20:43:08 GMT 2023


* Palmer Dabbelt:

> +        self.add_config(arch='riscv64',
> +                        os_name='linux-gnu',
> +                        variant='rv64imafdcb-lp64d',
> +                        gcc_cfg=['--with-arch=rv64imafdc_zba_zbb_zbs', '--with-abi=lp64d',
> +                                 '--disable-multilib'])

I doubt we need a separate GCC configuration, you should be able to use
the existing compiler for that and just change the glibc build flags.

I expect we need some sort of version check because these flags are
rather recent, right?  To what extend do they actually impact code
generation for glibc?

Thanks,
Florian



More information about the Libc-alpha mailing list