From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19741 invoked by alias); 30 Jan 2012 20:42:07 -0000 Received: (qmail 19732 invoked by uid 22791); 30 Jan 2012 20:42:05 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Jan 2012 20:41:52 +0000 From: "pcpa at mandriva dot com.br" To: glibc-bugs@sources.redhat.com Subject: [Bug math/13633] New: stripped libm drops ifunc identifiers Date: Mon, 30 Jan 2012 20:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pcpa at mandriva dot com.br X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aj at suse dot de X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00140.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13633 Bug #: 13633 Summary: stripped libm drops ifunc identifiers Product: glibc Version: 2.15 Status: NEW Severity: normal Priority: P2 Component: math AssignedTo: aj@suse.de ReportedBy: pcpa@mandriva.com.br Classification: Unclassified Both, eu-strip and binutils strip drop some identifiers from newer libm with sse4.1 optimizations. Before strip: 000000000001a980 : 1a980: e8 1b a7 fe ff callq 50a0 <__get_cpu_features@plt> 1a985: 48 89 c2 mov %rax,%rdx 1a988: 48 8d 05 11 00 00 00 lea 0x11(%rip),%rax # 1a9a0 <__floor_sse41> 1a98f: f7 42 10 00 00 08 00 testl $0x80000,0x10(%rdx) 1a996: 75 07 jne 1a99f 1a998: 48 8d 05 b1 77 02 00 lea 0x277b1(%rip),%rax # 42150 <__floor_c> 1a99f: c3 retq 000000000001a9a0 <__floor_sse41>: 1a9a0: 66 0f 3a 0b c0 01 roundsd $0x1,%xmm0,%xmm0 1a9a6: c3 retq After strip: 000000000001a980 : 1a980: e8 1b a7 fe ff callq 50a0 <__get_cpu_features@plt> 1a985: 48 89 c2 mov %rax,%rdx 1a988: 48 8d 05 11 00 00 00 lea 0x11(%rip),%rax # 1a9a0 1a98f: f7 42 10 00 00 08 00 testl $0x80000,0x10(%rdx) 1a996: 75 07 jne 1a99f 1a998: 48 8d 05 b1 77 02 00 lea 0x277b1(%rip),%rax # 42150 <__signbitl+0x6950> 1a99f: c3 retq 1a9a0: 66 0f 3a 0b c0 01 roundsd $0x1,%xmm0,%xmm0 1a9a6: c3 retq Most times this happens to work, but will break on special conditions if libm is loaded as a dependency of a dynamic module, for example, apache mod_php (using LD_PRELOAD on these special cases also "corrects" the problem). -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.