| Summary: | Crash in _dl_fixup | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dominik Strasser <dominik.strasser> | ||||||
| Component: | glibc | Assignee: | Andreas Schwab <schwab> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-tools-bugs | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.0 | CC: | fweimer, mfranc | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-07-29 10:13:08 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 515834 [details]
Executable that crashes
Your compiler is broken. |
Created attachment 515833 [details] Source code of the binary Description of problem: I have the following setup: GCC 4.1.2 compiled on a RHEL4(CentOs 4) system. If I compile the attached C++ source with this compiler and -O3, the executable crashes with the following backtrace: #0 0x080491f0 in strlen@@GLIBC_2.0 () #1 0x00a12822 in _dl_fixup () from /lib/ld-linux.so.2 #2 0x00a18c60 in _dl_runtime_resolve () from /lib/ld-linux.so.2 #3 0x0019dd3c in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) () from /usr/lib/libstdc++.so.6 #4 0x08048a24 in main () When compiling with the binary same compiler on CentOs 4, no crash occurs. Leaving away -O3 also doesn't crash. Running the binary produced on CentOS 6, it doesn't crash but produces the warning: Symbol `strlen' has different size in shared object, consider re-linking Version-Release number of selected component (if applicable): gcc 4.1.2 glibc 2.12-1.7 libstdc++ 4.4.4 How reproducible: see above Steps to Reproduce: see above Run the attached binary. Actual results: Expected results: Additional info: