Red Hat Bugzilla – Bug 76005
Bad Instruction Compiling glibc
Last modified: 2007-04-18 12:47:36 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
Was having a number of segmentation faults in npasswd and kylix, decided to
compile latest glibc libraries on suspicion glibc was culprit.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.configure with linuxthreads and /usr/local/gnu for path
Actual Results: In file included from ../sysdeps/ieee754/ldbl-96/strtold.c:43:
strtod.c: In function `__strtold_internal':
strtod.c:1566: internal error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make: *** [strtold.o] Error 1
make: Leaving directory `/linuxdat/tarballs/glibc-2.3.1/stdlib'
make: *** [stdlib/subdir_lib] Error 2
[root@linux glibc-2.3.1]# find ./ -name strtod.c
[root@linux glibc-2.3.1]# cd ./stdlib/
[root@linux stdlib]# emacs strtod.c
Expected Results: That I could build the package
Assume this is really a GNU problem but RedHat request for "bugzilla"
popped up. Si here it is. The real problem is "segfaults" will check Kylix site
Is it reproduceable, always on the same file same error?
I'm building glibc very often and have not seen anything like this.
Created attachment 80604 [details]
Second attempt to reproduce.. further along in make but same error
If it doesn't die on the same file all the time, it is most probably flaky
hardware. Check with memtest86 your memory etc.
Nothing to do with gcc.
gcc bug would be reproduceable always on the same file.