public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/15687] New: powerpc64 abi breakage with nocancel functions
@ 2013-06-27  1:17 amodra at gmail dot com
  2013-06-27 12:40 ` [Bug nptl/15687] " schwab@linux-m68k.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: amodra at gmail dot com @ 2013-06-27  1:17 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-06-13 13:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27  1:17 [Bug nptl/15687] New: powerpc64 abi breakage with nocancel functions amodra at gmail dot com
2013-06-27 12:40 ` [Bug nptl/15687] " schwab@linux-m68k.org
2013-06-27 15:22 ` amodra at gmail dot com
2013-06-27 16:02 ` schwab@linux-m68k.org
2013-07-17 18:38 ` jingyuuiuc at gmail dot com
2013-07-17 20:48 ` schwab@linux-m68k.org
2013-08-11  2:49 ` amodra at gmail dot com
2014-06-13 13:30 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).