Summary: | Targets defining __NO_LONG_DOUBLE_MATH should still have *l prototypes in headers. | ||
---|---|---|---|
Product: | glibc | Reporter: | Carlos O'Donell <carlos> |
Component: | libc | Assignee: | Ulrich Drepper <drepper.fsp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | glibc-bugs, jakub, jsm-csl |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | 2.10 | ||
Target Milestone: | --- | ||
Host: | hppa-linux-gnu | Target: | hppa-linux-gnu |
Build: | hppa-linux-gnu | Last reconfirmed: |
Description
Carlos O'Donell
2009-04-24 20:29:55 UTC
Carlos O'Donell has verified that this path works for HPPA here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39491#c25 I tested the following patch on hppa: http://sources.redhat.com/ml/libc-hacker/2009-04/msg00004.html No regressions. However, I don't see the long double prototypes. The port sets __NO_LONG_DOUBLE_MATH set to 1, and I verified this. The build sets NO_LONG_DOUBLE to 1 because the port sets long-double-fcts = no. Compiling test-ldouble.c with -Werror fails because of the missing prototypes. math/libm-test.c:5446: warning: implicit declaration of function ‘scalbl’ math/libm-test.c: In function ‘scalbn_test’: Fixed in master. |