Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.slackware > #35825

Re: GCC 16.2 ICE

From Henrik Carlqvist <Henrik.Carlqvist@deadspam.com>
Newsgroups alt.os.linux.slackware
Subject Re: GCC 16.2 ICE
Date 2026-09-30 05:53 +0000
Organization A noiseless patient Spider
Message-ID <119i85d$3ufuf$1@dont-email.me> (permalink)
References <875wznu05j.fsf@atr2.ath.cx>

Show all headers | View raw


On Tue, 29 Sep 2026 19:07:36 -0400, jayjwa wrote:

> protocol.h:28:44: internal compiler error: Illegal instruction

Maybe the error text is somehow misleading, but "Illegal instruction" 
output from a program usually means that the program has been compiled to 
utilize more or less unusual instructions (like some specific version of 
MMX, SSE or AVX) and now is being run on a CPU which lacks support for 
those instructions.

Assuming that you are running stable 64 bit Slackware 15.0 and studying 
how gcc was built at http://ftp.slackware.com/pub/slackware/
slackware64-15.0/source/d/gcc/gcc.SlackBuild there doesn't seem to be any 
such flags for x86_64. However, if you are running 32 bit Slackware 15.0, 
those gcc i586 packages has been compiled to require the instruction set 
of an i586 yet tuned for i686 CPUs.

So, are you running 32 bit Slackware? If so, maybe the Ryzen 9 has 
omitted some old 32 bit instructions?

But in most cases, newer CPUs support the instructions of all older CPUs 
and sometimes add some more instructions. Could it be that your CPU is 
broken, lacking support for some instruction that it were supposed to 
have?

Maybe it will work better if you recompile gcc with -march=native ?

regards Henrik

Back to alt.os.linux.slackware | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

GCC 16.2 ICE jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-09-29 19:07 -0400
  Re: GCC 16.2 ICE Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-09-30 05:53 +0000
    Re: GCC 16.2 ICE jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-09-30 10:45 -0400
      Re: GCC 16.2 ICE Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-09-30 15:26 +0000
  Re: GCC 16.2 ICE jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-09-30 21:25 -0400
    Re: GCC 16.2 ICE Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-10-01 05:37 +0000
      Re: GCC 16.2 ICE jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-10-01 11:09 -0400
        Re: GCC 16.2 ICE Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-10-01 17:15 +0000

csiph-web