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]

 



On Tue, Mar 16, 2021 at 04:34:07PM +0100, Florian Weimer wrote:
> * 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.

Oh I see.

This recompiled Fedora wouldn't be compatible with anything
else anyway :-/

> 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).

We don't intend to build this for Fedora, as there's only one
processor which doesn't support this extension, and we don't even have
a way to access the hardware.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
_______________________________________________
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