Bug 65379
| Summary: | internal compiler error building jikes1.15-1 by gcc-3.1-1 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Sergey V. Udaltsov <sergey_udaltsov> | ||||
| Component: | gcc3 | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.0 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 3.1-3 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2004-10-02 18:10:51 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 67218, 79579, 100644 | ||||||
| Attachments: |
|
||||||
|
Description
Sergey V. Udaltsov
2002-05-22 21:12:27 UTC
Can you please write here the g++ options used to reproduce it, rerun it with -save-temps in addition to that and attach here double.ii? Thanks. The command line is: i686-redhat-linux-g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -c -o double.o `test -f double.cpp || echo './'`double.cpp Created attachment 58267 [details]
The temporary file
The primary problem is that g++ 3.x defines _GNU_SOURCE unconditionally for C++, so e.g. <bits/nan.h> gets included, which colides with Jikes' NAN enum. Either Jikes should #undef NAN after including all headers, or choose another name for NAN in the enum. But of course, compiler shouldn't segfault. Looking into it. |