From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10401 invoked by alias); 27 Jun 2013 01:17:40 -0000 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 Received: (qmail 10362 invoked by uid 48); 27 Jun 2013 01:17:35 -0000 From: "amodra at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/15687] New: powerpc64 abi breakage with nocancel functions Date: Thu, 27 Jun 2013 01:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: 2.18 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg00223.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15687 Bug ID: 15687 Summary: powerpc64 abi breakage with nocancel functions Product: glibc Version: 2.18 Status: NEW Severity: normal Priority: P2 Component: nptl Assignee: unassigned at sourceware dot org Reporter: amodra at gmail dot com CC: drepper.fsp at gmail dot com glibc contains powerpc64 functions without functions descriptors. As seen in nptl/ptw-pause.o [snip] [ 1] .text PROGBITS 0000000000000000 000040 0000b4 00 AX 0 0 4 [snip] [ 5] .opd PROGBITS 0000000000000000 0000f8 000018 00 WA 0 0 8 [snip] 10: 0000000000000000 180 FUNC GLOBAL DEFAULT 5 __libc_pause 11: 000000000000000c 48 FUNC GLOBAL DEFAULT 1 __pause_nocancel Notice that __pause_nocancel is define in .text, ie. does not have a function descriptor. This triggered an error in powerpc64 gold --gc-sections. It looks to me like nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h is the culprit. The ENTRY macro normally is reposible for generating function descriptors, but I see no such thing for the nocancel variant entry point. -- You are receiving this mail because: You are on the CC list for the bug.