Re: correct combination (arch & abi) for rebulding gcc SRPM for RV64IMAFD on top of RISC-V Fedora image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux