🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.netbsd.tech.toolchain
4 messages
4 total messages Started by Michael Tue, 20 Oct 2026 06:19
gcc 14.4 on sparc throws SIGFPE again
#1
Author: Michael
Date: Tue, 20 Oct 2026 06:19
15 lines
3846 bytes
Hello,

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.

have fun
Michael

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: gcc 14.4 on sparc throws SIGFPE again
#2
Author: Rin Okuyama
Date: Thu, 22 Oct 2026 10:59
29 lines
4625 bytes
Hi,

On 2026/10/20 15:19, Michael wrote:
> Hello,
> 
> 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.

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

Thanks,
rin

> have fun
> Michael
> 


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: gcc 14.4 on sparc throws SIGFPE again
#3
Author: Michael
Date: Thu, 22 Oct 2026 13:05
31 lines
4752 bytes
Hello,

On Thu, 22 Oct 2026 19:59:19 +0900
Rin Okuyama <rokuyama.rk@gmail.com> 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

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: gcc 14.4 on sparc throws SIGFPE again
#8
Author: Michael
Date: Sun, 22 Nov 2026 02:54
28 lines
4671 bytes
Hello,

On Thu, 22 Oct 2026 19:59:19 +0900
Rin Okuyama <rokuyama.rk@gmail.com> 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.
> 
> I started to build random pkgsrc's with GCC 14.4, and at least sudo
> successfully builds.

Sorry for the delay, I finally got around to look at this again.
Turns out the SIGFPE only happens with my local builds ( which use
-mcpu=supersparc ) and disappear when using binaries from f.n.o.

have fun
Michael

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads