[Bug 1714514] Re: math.c broken on i386, when compiling with -O2 -C
Dimitri John Ledkov
launchpad at surgut.co.uk
Fri Sep 1 13:59:40 UTC 2017
frama-c package, compiles jemalloc with '-C' in CPPFLAGS and thus ftbfs.
Will try to fix frama-c to not use '-C' when compiling jemalloc sub-component.
'-C' is not default CPPFLAG for jemalloc.
** Also affects: frama-c (Ubuntu)
Importance: Undecided
Status: New
** Changed in: glibc (Ubuntu)
Status: New => Triaged
** Changed in: glibc (Ubuntu)
Importance: Undecided => High
** Also affects: jemalloc (Ubuntu)
Importance: Undecided
Status: New
** Changed in: jemalloc (Ubuntu)
Status: New => Incomplete
** Changed in: jemalloc (Ubuntu)
Status: Incomplete => Triaged
** Changed in: jemalloc (Ubuntu)
Importance: Undecided => Medium
** Tags added: ftbfs
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1714514
Title:
math.c broken on i386, when compiling with -O2 -C
Status in frama-c package in Ubuntu:
Triaged
Status in glibc package in Ubuntu:
Triaged
Status in jemalloc package in Ubuntu:
Triaged
Bug description:
# cat <<EOF >math.c
#include <math.h>
int main() {return 0;}
EOF
# gcc -O2 -C math.c
expected, no output, exit code 0, like on amd64.
Actual is exit code 1 with output:
In file included from /usr/include/math.h:472:0,
from math.c:1:
/usr/include/i386-linux-gnu/bits/mathinline.h: In function 'floor':
/usr/include/i386-linux-gnu/bits/mathinline.h:746:1: error: expected ':' or ')' before string constant
__inline_mathcodeNP (floor, __x, \
^
/usr/include/i386-linux-gnu/bits/mathinline.h: In function 'floorf':
/usr/include/i386-linux-gnu/bits/mathinline.h:746:1: error: expected ':' or ')' before string constant
__inline_mathcodeNP (floor, __x, \
^
/usr/include/i386-linux-gnu/bits/mathinline.h: In function 'floorl':
/usr/include/i386-linux-gnu/bits/mathinline.h:746:1: error: expected ':' or ')' before string constant
__inline_mathcodeNP (floor, __x, \
^
/usr/include/i386-linux-gnu/bits/mathinline.h: In function 'ceil':
/usr/include/i386-linux-gnu/bits/mathinline.h:764:1: error: expected ':' or ')' before string constant
__inline_mathcodeNP (ceil, __x, \
^
/usr/include/i386-linux-gnu/bits/mathinline.h: In function 'ceilf':
/usr/include/i386-linux-gnu/bits/mathinline.h:764:1: error: expected ':' or ')' before string constant
__inline_mathcodeNP (ceil, __x, \
^
/usr/include/i386-linux-gnu/bits/mathinline.h: In function 'ceill':
/usr/include/i386-linux-gnu/bits/mathinline.h:764:1: error: expected ':' or ')' before string constant
__inline_mathcodeNP (ceil, __x, \
^
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/frama-c/+bug/1714514/+subscriptions
More information about the foundations-bugs
mailing list