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]

 



(As Peter said, please don't send the same email twice.)

On Tue, Mar 16, 2021 at 10:20:22AM -0000, Billa Surendra wrote:
> Dear all,
> 
> From last 10 days I am struggling to rebuilding  gcc-10.2.1-9.fc33.src.rpm  SRPM on RISC-V Fedora image. Here I am planning to rebuilt this SRPM without compressed instruction support. Following changed I have done on gcc.spec file.
> 
>  %ifarch riscv64
> 	--with-arch=rv64g --with-abi=lp64
> %endif
> 
> Even by changing above two flags for different options. still i am not able to rebuilt it. Here I am listing all combinations and error result what I have tried for rebuilding gcc SRPM.
> 
> 1. %ifarch riscv64
> 	--with-arch=rv64g  --with-multilib
> 	
> 		
> 	Result: #error "rv32i-based targets are not supported"

It's hard to tell without any context, but this seems to indicate that
--with-arch had no effect.

> Can anyone please spend some time on this issue and help me out for
> successfull rebulding gcc SRPM. Please suggest perfect combination
> for sucessfull rebuilding. I hope someone faced same problem before
> i think, thier expreince will heplfull for me.

The GCC build system is legendarily opaque, very few people understand
it, and no one is going to help unless they are motivated somehow.  I
would recommend that you dive in and try to read the documentation and
the code yourself.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
_______________________________________________
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