Bug 22852
Summary: | GCC 2.96 cannot compile GCC 2.95.2 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <gotta> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | jbednar |
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: | 2000-12-26 20:13:11 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
2000-12-26 20:13:09 UTC
From the glibc FAQ (/usr/share/doc/glibc-2.2/FAQ): 2.35. When recompiling GCC, I get compilation errors in libio. {BH} You are trying to recompile gcc 2.95.2? After upgrading to glibc 2.2, you need to apply a patch to the gcc sources, because the fpos_t type and a few libio internals have changed in glibc 2.2. The patch is at http://clisp.cons.org/~haible/gcc-glibc-2.2-compat.diff Actually, I'd rather direct you to: http://gcc.gnu.org/install/specific.html#*-*-linux-gnu It should be noted that at least the patch at http://clisp.cons.org/~haible/gcc-glibc-2.2-compat.diff works even for egcs-1.1.2, which is often more useful than GCC-2.95.2 or 2.96 (generating faster C++ code than 2.95.2, while compiling much faster than 2.96 for my applications). Since this issue is bound to come up for so many people for the next year or two, it would be very helpful if RedHat could release RPMs for GCC-2.95.2 and egcs-1.1.2 that do not conflict with the 2.96 RPMs. The egcs RPMs from e.g. RedHat 6.1 appear to conflict with gcc-2.96 and are not relocatable, so they cannot be installed in e.g. /usr/local. So instead each user needing one of these compilers has to download the source, realize that they need the patch, apply the patch, and get the compilation to work. If we just had /usr/local or relocatable RPMs for 2.95.2 or egcs-1.1.2 we could avoid all of that hassle, and perhaps RedHat wouldn't be getting flamed so much about GCC :-). |