Bug 145689
| Summary: | Unaligned stack pointer while initializing dynamic library | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Phuc LeHong <phuc.lehong> | ||||||
| Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 3 | CC: | roland | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 2.3.4-10 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2005-02-14 17:52:31 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: | |||||||||
| Attachments: |
|
||||||||
Created attachment 110022 [details]
Test case using SSE2
Created attachment 110023 [details]
Proposed glibc patch
The glibc patch solved the problem for me, but I'm not a glibc expert so there might be better ways to solve the problem. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-096.html |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020 Firefox/0.10.1 Description of problem: Dynamic libraries are initialized with a stack pointer that is not aligned to a 16 bytes boundary. This is unfortunate for those who are using SSE2 instructions. Version-Release number of selected component (if applicable): glibc-2.3.4-2.fc3 How reproducible: Always Steps to Reproduce: 1. untar the attached PR.tar and run make 2. set LD_LIBRARY_PATH=<PR directory> 3. Actual Results: ./main gives "Memory fault" while ./s-main completes with no error. Expected Results: Both executables should run Ok. Additional info: The test case requires SSE2 CPUs, ie Pentium 4 or x86_64 in 32 bits compatibility mode. The problem doesn't occur in x86_64 in 64 bits mode.