Bug 98200
| Summary: | gcc-2.96-113 segfaults when compiling itself with propolice patch | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Leonard den Ottolander <leonard-rh-bugzilla> |
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | CC: | goemon |
| 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: | 2004-03-22 18:35:57 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
Leonard den Ottolander
2003-06-27 21:32:21 UTC
Hm. I probably should not have added the protectonly.dif at first build, because
it introduces the -fno-stack-protector flag to the build of libgcc itself. Still
I don't understand why the compiler segfaults over this, instead of issueing an
error ("non existent compiler switch") and quits. Or is this expected behaviour?
Although this is a bug (works for gcc-2.95-3) it is outside the scope of the distribution. As this is my own bug I assume it is ok to close WONTFIX. care to share your propolice patch? Not sure if I still have the patch for "2.96" lying around. Not much use anyway, as the RH modifications obviously make it useless. I solved this problem way back then by rebuilding large parts of RHL 7.3 with gcc-2.95. The patch for that compiler can be found at http://www.research.ibm.com/trl/projects/security/ssp/ . Only serious issues I ran into were with some of the XFree86 video modules. (I don't remember if I actually patched the kernel as the howto for RHL 6.2 seems to indicate. Recently started to work on a patch for RHEL 3 (CentOS 3) which at least builds. Have to look into the standalone libssp to avoid having to patch glibc. Once I get some result from this you might want to take a look at http://www.ottolander.nl/opensource/ .) |