Bug 266961 - ld-linux.so.2 i?86-linux strlen issues
Summary: ld-linux.so.2 i?86-linux strlen issues
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: 3.6 SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 12:27 UTC by Jakub Jelinek
Modified: 2011-03-28 10:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
valgrind-3.6.1-x86-ldso-strlen.patch (3.19 KB, patch)
2011-02-23 12:27 UTC, Jakub Jelinek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Jelinek 2011-02-23 12:27:38 UTC
Created attachment 57464 [details]
valgrind-3.6.1-x86-ldso-strlen.patch

Version:           3.6 SVN
OS:                Linux

With glibc 2.13.90 (Fedora 15), basically all invocations of valgrind fail complaining about strlen conditional jump depending on uninitialized when called from within the dynamic linker.  Recently ld.so started even on i?86 using optimized strlen which works on 4 bytes at a time.  The attached patch fixes this
by redirecting ld.so's strlen even on i?86 like it is already redirected e.g. on x86_64.

Reproducible: Always
Comment 1 Julian Seward 2011-03-28 10:22:08 UTC
Committed, r11668.  Thanks.