Bug 54811
| Summary: | gcc internal error on strlen() | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <peloy> |
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | ||
| 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-10-19 16:24:29 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
Need Real Name
2001-10-19 16:16:24 UTC
Compile what? If it is reproduceable (ie. always ICEs on the same input with the same options, you need to provide a) full gcc or g++ command line b) rerun it with -save-temps option in addition to what you used to reproduce it and attach here the .i or .ii file it creates Please use -fno-builtin switch. linux/string.h conflicts with g++ builtins. If you used <string.h> instead, it would work just fine. This problem was "solved" in gcc3 by hardcoding -fno-builtin for C++ and relying on libstdc++-v3 headers to map those functions to the __builtin_* counterparts. But libstdc++ (v2) doesn't do this and IMHO disabling builtin optimizations for C++ for all folks just to get rid of this ICE is not a good idea. BTW: Just wondering: since when are kernel modules written in C++ and use libc headers? |