Bug 52877
| Summary: | In gcc3-c++-3.0-6, g++3 -frepo fails to find #include stddef.h | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | jorma.laaksonen |
| Component: | gcc3 | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.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: | 2006-04-10 15:24:22 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: | |||
See http://gcc.gnu.org/ml/gcc/2001-09/msg00032.html for some analysis. Fixed in gcc3 3.0.1-2. Closing due to inactivity. Please feel free to reopen this bug or refile this bug against the latest release Fedora Core if you feel this bug is still relevant today. Thank you |
From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.7 i686) Description of problem: When I run g++3 of gcc3-c++-3.0-6 first with -c -frepo and then with the .o file generated in the first phase, g++ fails to find /usr/lib/gcc-lib/i386-redhat-linux/3.0.1/include/stddef.h . Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Here is my main.C: #include "myclass.h" main() { myclass<int> x("Hello"); } 2. Here is my myclass.h: #include <iostream> template <class T> class myclass { public: myclass(const char *t); }; template <class T> myclass<T>::myclass(const char *t) { std::cout << t << std::endl; } 3. When I run "g++3 -c -frepo main.C" it goes OK. 4. When I then run "g++3 main.o" it fails. Actual Results: collect: recompiling main.C In file included from /usr/include/g++-v3/bits/std_cstdio.h:38, from /usr/include/g++-v3/cstdio:31, from /usr/include/g++-v3/i386-redhat-linux/bits/c++io.h:35, from /usr/include/g++-v3/bits/fpos.h:39, from /usr/include/g++-v3/bits/std_iosfwd.h:41, from /usr/include/g++-v3/bits/std_ios.h:39, from /usr/include/g++-v3/bits/std_ostream.h:39, from /usr/include/g++-v3/bits/std_iostream.h:40, from /usr/include/g++-v3/iostream:31, from myclass.h:1, from main.C:1: /usr/include/g++-v3/bits/std_cstddef.h:38:25: stddef.h: No such file or directory ... ... Expected Results: a.out should have appeared. Additional info: