Bug 154277
Summary: | Incorrect library path links static libstdc++ in user shared libraries | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Liviu Nicoara <nicoara> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-08 23: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: |
Description
Liviu Nicoara
2005-04-08 23:00:20 UTC
This is clearly your self-build GCC, not the one provided in RHEL4. The packaged gcc-c++ certainly provides libstdc++.so symlink in the same path as libstdc++.a and therefore the linker picks that up first, your testcase compiles on RHEL4 just fine. But for self-build GCC you are on your own to make sure it is properly installed. rpm -qf /usr/lib/gcc/x86_64-redhat-linux/3.4.3/libstdc++.so gcc-c++-3.4.3-9.EL4 Yes indeed, the compiler was built from sources coming from RedHat. We cannot afford to replace the compiler in /usr/bin thus we built the compiler ourselves and place it in a special location. I would like to know what is the RedHat recommended way of building the compiler from the sources which RedHat recommends. If our sysadmins are doing something wrong in the way they are installing the compiler, that needs to be corrected. I need to mention here that we built the 3.4.3 from GNU's repository and it works just fine w/ the same test case on EL4. If us building the compiler from your sources is not supported please let us know so that we can pursue other avenues. Thanks, Liviu Nicoara |