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]

 



Hi,

I think "--with-arch=" should be "rv64g" for gcc without compressed
instruction support, because the default is RV64GC[0].

If you want to rebuild gcc for compiling linux applications, I think
"--with-newlib" should be removed . If you want to rebuild gcc for
compiling both 64-bit/32-bit linux applications, "--enable-multilib"
should be added.

I have tried to build gcc as a cross-compiler from upstream repo[1],
but I have never rebuilt gcc srpms. In addition, I am not an expert of
gcc/RISC-V.

[0] https://github.com/riscv/riscv-gnu-toolchain#installation-linux
[1] https://github.com/riscv/riscv-gnu-toolchain

Regards,
Takayuki Nagata

2021年3月12日(金) 14:55 Billa Surendra <billa.iitmadras@xxxxxxxxx>:
>
> Dear All,
> I am trying to rebuild gcc SRPM for RISC-V architecture (without compressed instruction support). Can any one please give some clarity, about which combination is correct for native compiler without compressed instruction support.
>
> These are the combinations:
> 1. --with-arch=rv64g --with-multilib
> 2. --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d  (Default : not working)
> 3. --with-arch=rv64gc  --with-newlib
> 4.--with-arch=rv64gc  --with-newlib --disable-multilib
>
> If a perfect combination is not listed above, Please help me out which one is the correct combination. I am planning to rebuld gcc SRPM for RV64IMAFD
>
> Thanks in advance
> Billa
> _______________________________________________
> 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
_______________________________________________
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