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

2021-03-18 Thread Billa Surendra
Hi everyone, Can anyone explain what is the difference between the following two approaches for rebuilding GCC SRPM on RISC-V Fedora image. Here I have changed the gcc.spec file. *Method-1:* %ifarch riscv64 --with-arch=rv64g --enable-multilib --with-multilib-list=lp64 %endif *Result:* #error

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

2021-03-17 Thread Billa Surendra
Is there any way to proceed for rebuilt gcc SRPM without C support ? ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct:

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

2021-03-16 Thread David Abdurachmanov
On Tue, Mar 16, 2021 at 5:28 PM Richard W.M. Jones wrote: > > 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]. > > > >

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

2021-03-16 Thread Richard W.M. Jones
On Tue, Mar 16, 2021 at 04:50:57PM +0100, Florian Weimer wrote: > * Richard W. M. Jones: > > >> 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

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

2021-03-16 Thread Florian Weimer
* Richard W. M. Jones: >> 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

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

2021-03-16 Thread Richard W.M. Jones
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,

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

2021-03-16 Thread Florian Weimer
* 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

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

2021-03-16 Thread Richard W.M. Jones
(As Peter said, please don't send the same email twice.) On Tue, Mar 16, 2021 at 10:20:22AM -, 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 >

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

2021-03-16 Thread 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 >

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

2021-03-16 Thread Dan Horák
On Tue, 16 Mar 2021 22:29:39 +0900 Takayuki Nagata wrote: > Hi Billa, > > I am not sure if compressed instruction support can be disabled, but > it appears to me that --with-arch= should be rv32gc or rv64gc for > multilib. It is implemented in the gcc/config.gcc file. > > Florian mentioned

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

2021-03-16 Thread Takayuki Nagata
Hi Billa, I am not sure if compressed instruction support can be disabled, but it appears to me that --with-arch= should be rv32gc or rv64gc for multilib. It is implemented in the gcc/config.gcc file. Florian mentioned that there is no glibc without compressed instruction support. Perhaps, gcc

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

2021-03-16 Thread Billa Surendra
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

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

2021-03-15 Thread Florian Weimer
* 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.

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

2021-03-15 Thread Takayuki Nagata
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

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

2021-03-11 Thread Billa Surendra
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