public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/6824] New: Usage of __LONGDOUBLE128 instead of __LONG_DOUBLE_128__ causes PowerPC checklocal-plt make check failure
@ 2008-08-07 21:59 rsa at us dot ibm dot com
2008-08-07 23:07 ` [Bug libc/6824] " drepper at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: rsa at us dot ibm dot com @ 2008-08-07 21:59 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug libc/6824] Usage of __LONGDOUBLE128 instead of __LONG_DOUBLE_128__ causes PowerPC checklocal-plt make check failure
2008-08-07 21:59 [Bug libc/6824] New: Usage of __LONGDOUBLE128 instead of __LONG_DOUBLE_128__ causes PowerPC checklocal-plt make check failure rsa at us dot ibm dot com
@ 2008-08-07 23:07 ` drepper at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2008-08-07 23:07 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2008-08-07 23:06 -------
Applied to cvs.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-07 23:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-07 21:59 [Bug libc/6824] New: Usage of __LONGDOUBLE128 instead of __LONG_DOUBLE_128__ causes PowerPC checklocal-plt make check failure rsa at us dot ibm dot com
2008-08-07 23:07 ` [Bug libc/6824] " drepper 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).