Welcome to CRUX bug tracking.

FS#386 - Problem with kernel compilation using gcc 4.3.2

Attached to Project: CRUX
Opened by Jason Decker (jayd512) - Sunday, 07 December 2008, 05:15 GMT
Last edited by Tilman Sauerbeck (tilman) - Thursday, 18 December 2008, 19:32 GMT
Task Type Bug Report
Category ISO
Status Closed
Assigned To No-one
Operating System Linux
Severity Medium
Priority Normal
Reported Version Development
Due in Version 2.5
Due Date 1970-01-01
Percent Complete 100%
Votes 1
Private No


While attempting to compile kernel in 2.5 RC1, received error code:

scripts/basic/fixdep.c: In function 'is_defined_config':
scripts/basic/fixdep.c:399: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if available
See <> for instructions.
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** scripts_basic] Error 2
This task depends upon

Closed by  Tilman Sauerbeck (tilman)
Thursday, 18 December 2008, 19:32 GMT
Reason for closing:  Fixed
Comment by Juergen Daubert (jue) - Sunday, 07 December 2008, 10:24 GMT
Most likely your system is broken for some reason, please provide some more information:

- Are you able to compile something else?
- What's your way to 2.5-rc1, was it an upgrade from 2.4 via the CD or a fresh install from the CD?
- Have you checked the md5sum of the downloaded ISO file?
- Check the md5sum of the gcc-package (gcc#4.3.2-1.pkg.tar.gz), should be 8aba6ca999c52c4dc21f2596519b19ab
Comment by Jason Decker (jayd512) - Sunday, 07 December 2008, 20:40 GMT
Unable to compile any other program at this time using gcc 4.3.2
All md5sums were correct, both for ISO image of 2.5 and for gcc.
The way to 2.5-rc1 was an attempt at a fresh install on unallocated portion of hard drive.
Comment by K.Mandla (K.Mandla) - Monday, 08 December 2008, 01:03 GMT
I ran into the same problem using 2.5 rc1 for two fresh installations. In my case the only way I could compile anything was to download the 2.4 ISO, transplant the earlier version of gcc into the system under construction, and continue as normal.

In all cases the checksums were correct. The target machines were both Pentium IIIs (one Celeron), if that helps at all.
Comment by Juergen Daubert (jue) - Wednesday, 17 December 2008, 20:34 GMT
Please install/update to libgmp#4.2.4-1h.pkg.tar.gz obtainable from and report if that helps to fix the crash.
Comment by K.Mandla (K.Mandla) - Thursday, 18 December 2008, 02:04 GMT
Yes, that 4.2.4-1h version worked for me. I built a clean system on the same machine with the same rc1 ISO, and that error does not occur with the 1h package installed. Thanks very much!

P.S.: I just noticed that this was bug #386. :)
Comment by Jason Decker (jayd512) - Thursday, 18 December 2008, 09:28 GMT
It worked for me as well. Installation went without a hitch! Thanks for the fix!