Bug 4402
| Summary: | egcs can't compile Kerberos 5 - sig11 error- compiler bug? | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | wingc |
| Component: | egcs | Assignee: | Nalin Dahyabhai <nalin> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-10-05 15:05:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
wingc
1999-08-06 18:08:41 UTC
Please supply the output of gcc -E (so that we can reproduce the bug by feeding this file directly to cc1, with worrying about kerberos5 header files and so on). Of course that is assuming you always get a sig11 on this particular file - if the sig11 is intermittent or sometimes happens on another file, it is probably a hardware problem (see seg11 FAQ). The crash is 100% repeatable on i386 (tried it on 3 different machines so far). I tried it on a Red Hat 6.0/Alpha machine and it didn't crash. Here is the code which makes it fail: (gcc -E output like you requested) http://www.engin.umich.edu/caen/systems/Linux/code/misc/make_egcs_crash.c cc -fPIC -O2 -m486 -fno-strength-reduce -o die.o -c make_egcs_crash.c causes egcs to crash with a sig11 failure, but cc -fPIC -m486 -fno-strength-reduce -o die.o -c make_egcs_crash.c works okay. So I'm guessing it's a bug in the optimizer. -Chris wingc.edu See http://egcs.cygnus.com/ml/gcc-patches/1999-08/msg01007.html for a patch to egcs for this bug. There isn't a new RPM package containing this fix yet. Christopher Allen Wing <wingc.edu> writes in email: Thanks for taking a look at the bug and fixing it! I'll rebuild my egcs RPM with the patch and try it out. (in the meanwhile, I just built Kerberos 5 disabling the optimizer on that particular file) Fixed in the egcs which ships with Red Hat Linux 6.1. |