[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 301204] infinite loop in canonicaliseSymtab with ifunc symbol
From:       Chantry Xavier <shiningxc () gmail ! com>
Date:       2012-06-05 11:06:15
Message-ID: bug-301204-17878-zlaKRq6qgb () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=301204

--- Comment #2 from Chantry Xavier <shiningxc@gmail.com> ---
If I build with -Wl,-x , valgrind works fine on the resulting binary.

Binary linked with -Wl,-x :
% readelf -Ws ./a.out | grep test
    20: 0000000000400568    11 IFUNC   GLOBAL DEFAULT   14 test

Binary linked with default ldflags :
% readelf -Ws ./a.out | grep test 
    11: 0000000000400544    36 FUNC    LOCAL  DEFAULT   14 mytest
    12: 0000000000400568    11 FUNC    LOCAL  DEFAULT   14 resolve_test
    37: 0000000000400568    11 IFUNC   GLOBAL DEFAULT   14 test

Versions used:
valgrind-3.7.0
gcc (Debian 4.6.3-1) 4.6.3 
GNU gold (GNU Binutils for Debian 2.22) 1.11

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic