Bug 520222 - /usr/include/bits/mathinline.h is broken
Summary: /usr/include/bits/mathinline.h is broken
Keywords:
Status: CLOSED DUPLICATE of bug 520209
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F12Blocker, F12FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2009-08-29 03:52 UTC by Lennart Poettering
Modified: 2009-08-31 09:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-31 09:07:05 UTC


Attachments (Terms of Use)

Description Lennart Poettering 2009-08-29 03:52:19 UTC
This recent change seems to have broken builds that end up including /usr/include/bits/mathinline.h:

@@ -35,14 +35,16 @@
 __MATH_INLINE int
 __NTH (__signbitf (float __x))
 {
-  __extension__ union { float __f; int __i; } __u = { __f: __x };
-  return __u.__i < 0;
+  int __m;
+  asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x));
+  return __m & 0x8;
 }

See end of these logs:

http://koji.fedoraproject.org/koji/getfile?taskID=1642229&name=build.log

glibc-2.10.90-17.x86_64 is broken

glibc-2.10.90-15.x86_64 works fine

Comment 1 Andreas Schwab 2009-08-31 09:07:05 UTC

*** This bug has been marked as a duplicate of bug 520209 ***


Note You need to log in before you can comment on or make changes to this bug.