* Richard W. M. Jones:

> On Mon, Mar 15, 2021 at 11:24:47AM +0100, Florian Weimer wrote:
>> * Takayuki Nagata:
>> 
>> > I think "--with-arch=" should be "rv64g" for gcc without compressed
>> > instruction support, because the default is RV64GC[0].
>> 
>> As far as I understand it, there is no glibc port for RISC-V without
>> compressed instruction support.  Presumably the GCC default reflects
>> this.
>
> Oh ah, is this so?  If so that's a problem for Billa because
> he's trying to rebuild Fedora for the SHAKTI chip that lacks
> compressed instructions.
>
> But I had a look through all the RISC-V asm files in current glibc and
> I can't see any compressed instructions there, nor any directives to
> turn on the rvc option.
>
>   $ egrep -i '(\bc\.|rvc)' `find sysdeps/riscv/ 
> sysdeps/unix/sysv/linux/riscv/ -name '*.S' `
>
> Do you know why glibc wouldn't understand the C extension?

There would have to be a discussion about ABI impact, whether we would
have to change the program interpreter name, etc.

I don't know if this has happened yet, probably not.  Otherwise we'd be
building this ABI variant regularly (like all the other targets).

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to