public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rsa at us dot ibm dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/6824] New: Usage of __LONGDOUBLE128 instead of __LONG_DOUBLE_128__ causes PowerPC checklocal-plt make check failure
Date: Thu, 07 Aug 2008 21:59:00 -0000	[thread overview]
Message-ID: <20080807215839.6824.rsa@us.ibm.com> (raw)

Erroneous usage of __LONGDOUBLE128 (which was introduced to GCC for AIX support)
was causing mathinline.h to lack an implementation of __signbitl for powerpc32.
 This caused checklocal-plt make check failure for PowerPC.

The correct define to use is __LONG_DOUBLE_128__.

diff -X /home/ryanarn/bin/dontdiff -uNr
glibc/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h
glibc.new/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h
--- glibc/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h     2008-08-07
10:54:03.000000000 -0500
+++ glibc.new/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h 2008-08-07
16:17:36.000000000 -0500
@@ -72,7 +72,7 @@
   __extension__ union { double __d; int __i[2]; } __u = { __d: __x };
   return __u.__i[0] < 0;
 }
-#  ifdef __LONGDOUBLE128
+#  ifdef __LONG_DOUBLE_128__
 __MATH_INLINE int
 __NTH (__signbitl (long double __x))
 {

I'll post this to mainline with a ChangeLog after full testing with GCC 4.1 &
GCC 4.3 compilers and on different PowerPC arches.

-- 
           Summary: Usage of __LONGDOUBLE128 instead of __LONG_DOUBLE_128__
                    causes PowerPC checklocal-plt make check failure
           Product: glibc
           Version: 2.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: rsa at us dot ibm dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: powerpc64-linux
  GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux


http://sourceware.org/bugzilla/show_bug.cgi?id=6824

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


             reply	other threads:[~2008-08-07 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07 21:59 rsa at us dot ibm dot com [this message]
2008-08-07 23:07 ` [Bug libc/6824] " drepper at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080807215839.6824.rsa@us.ibm.com \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).