tech-toolchain archive

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

Re: gcc 14.4 on sparc throws SIGFPE again



Hello,

On Thu, 22 Oct 2026 19:59:19 +0900
Rin Okuyama <rokuyama.rk%gmail.com@localhost> wrote:

> > this seems vaguely familiar - didn't we have something like this a few
> > years ago?
> > Anyway, on sparc gcc 14.4 ICEs on a SIGFPE when compiling
> > othersrc/usr.bin/gooeymux/draw.c with any kind of optimization enabled.
> > It gets through with -O0, and it works just fine with 14.3.
> > I doubt this is the only file that triggers it.  
> 
> Hmm, it builds for me with -O2 on real hardware (SS10 with UP kernel).
> Unfortunately, my machine is headless, and I cannot try compiled binary.

Mine's an SS20 with a pair of SM81, the only other thing I have in
CFLAGS is -pipe -mcpu=supersparc

> I started to build random pkgsrc's with GCC 14.4, and at least sudo
> successfully builds.

I have an SS5 here, I'll check on that one. Thanks for testing!
I guess I'll try an extra clean rebuild as well, maybe there's some
hackery in my tree from the previous SIGFPE thing.

have fun
Michael


Home | Main Index | Thread Index | Old Index