Port-sparc archive

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

Re: Emulated in qemu SS-20 can't compile gcc10/14?



On Wed, Jan 7, 2026 at 3:26 PM Valery Ushakov <uwe%stderr.spb.ru@localhost> wrote:
>
> On Wed, Jan 07, 2026 at 10:36:05 +0300, Andrew Randrianasulu wrote:
>
> > https://mastodon.online/@Andrew_R/115852644410054411
> [...]
> > I added 1Gb swap ..was it not enough for gcc14? gcc 10 from pkgsrc
> > failed in similar but not exact same way.
> [...]
> > Compilation time to failure: six days.
>
> 1GB sounds too little.
>
> Welcome to modern compilers :)
>
> I went through this when I wanted to build Self on sparc and it
> required cmake, so I had to build cmake.  I naively tried to build it
> on my (diskless) javastation...  Fast forward one month...  Well, long
> story short, I loaned an U1 from a friend.

It seems adding another 1Gb of swap did not helped, at least without
full rebuild

https://github.com/gcc-mirror/gcc/blob/master/libgcc/libgcc2.c

seems that _divdc3 function is for complex number divide, in case soft
float is used.

Because Linux  dropped sparc32 support it might be possible that
native compilation on sparc32 somewhat bitroted in at least gcc10 + ?


>
> -uwe


Home | Main Index | Thread Index | Old Index