Bug 24522
| Summary: | gcc 2.96-69 fails to compile 2.2.17 checksum.S source | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Polo Talnir <polo_talnir> |
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 | CC: | polo_talnir |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-01-21 22:01:32 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
Polo Talnir
2001-01-21 22:01:28 UTC
No, the bug is in kernel which should not preprocess checksum.S with -traditional in the first case because it uses GNU preprocessor extensions which have nothing to do with original K&R. This has been fixed e.g. in 2.4 kernels simply by removing -traditional where it was not needed. You should not compile 2.2.17 kernel with gcc but kgcc (= egcs), only 2.4 kernels can be built with gcc 2.96-RH (you could get undefined memcpy/memset references as well). |