Bug 520209
| Summary: | Problem with math.h header in glibc-2.10.90-17 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Deji Akingunola <dakingun> |
| Component: | glibc | Assignee: | Andreas Schwab <schwab> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | jakub, lpoetter, otaylor, pbrobinson, schwab, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-09-01 12:53:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Deji Akingunola
2009-08-28 22:38:53 UTC
This can be reproduced (tested on x86_64) with:
===
cat <<EOF > math-test.c
#define _XOPEN_SOURCE 600 /* C99 */
#include <features.h>
#include <math.h>
int main()
{
return 0;
}
EOF
gcc -o math-test.o math-test.c -O2
===
and is probably going to keep a large fraction of packages from building.
*** Bug 520222 has been marked as a duplicate of this bug. *** The testcase in #c1 compiles without problem. Only packages that use --std=c99 fail. *** Bug 520474 has been marked as a duplicate of this bug. *** Andreas - that testcase reproduced it for me (unless I typo'ed something putting it into the bug report.). Were you testing on x86_64? But yes, --std=c99 would also be a way of enabling the bad portions of mathinline.h. Without --std=c99 the compiler will happily accept all extensions. Fixed in 2.10.90-18. |