[Bug libstdc++/54757] FAIL: ext/random/beta_distribution/cons/default.cc (test for excess errors)
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sun Sep 30 15:33:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54757
--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-09-30 15:33:18 UTC ---
(In reply to comment #7)
> > include/c++/4.8.0/cmath for darwin
>
> Dominique, it would be more useful if you could show your libstdc++ config.log,
> and in particular the error message you got for the test "for ISO C99 support
> to TR1 in <math.h>", to know what functions are missing on darwin (or hppa or
> others), assuming there isn't already a PR somewhere about it.
I see
...
configure:18907: checking for ISO C99 support to TR1 in <math.h>
configure:19031: /opt/gcc/build_w/./gcc/xgcc -shared-libgcc
-B/opt/gcc/build_w/./gcc -nostdinc++
-L/opt/gcc/build_w/x86_64-apple-darwin10.8.0/libstdc
++-v3/src -L/opt/gcc/build_w/x86_64-apple-darwin10.8.0/libstdc++-v3/src/.libs
-B/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/bin/ -B/opt/gcc/gcc4.8w/x86
_64-apple-darwin10.8.0/lib/ -isystem
/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/include -isystem
/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/sys-includ
e -c -g -O2 -std=c++98 conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:129:15: error: 'llrint' was not declared in this scope
llrint(0.0);
^
conftest.cpp:130:17: error: 'llrintf' was not declared in this scope
llrintf(0.0f);
^
conftest.cpp:131:17: error: 'llrintl' was not declared in this scope
llrintl(0.0l);
^
conftest.cpp:132:16: error: 'llround' was not declared in this scope
llround(0.0);
^
conftest.cpp:133:18: error: 'llroundf' was not declared in this scope
llroundf(0.0f);
^
conftest.cpp:134:18: error: 'llroundl' was not declared in this scope
llroundl(0.0l);
^
configure:19031: $? = 1
configure: failed program was:
...
configure:19040: result: no
configure:19052: checking for ISO C99 support to TR1 in <inttypes.h>
configure:19072: /opt/gcc/build_w/./gcc/xgcc -shared-libgcc
-B/opt/gcc/build_w/./gcc -nostdinc++
-L/opt/gcc/build_w/x86_64-apple-darwin10.8.0/libstdc++-v3/src
-L/opt/gcc/build_w/x86_64-apple-darwin10.8.0/libstdc++-v3/src/.libs
-B/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/bin/
-B/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/lib/ -isystem
/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/include -isystem
/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/sys-include -c -g -O2 -std=c++98
conftest.cpp >&5
configure:19072: $? = 0
configure:19079: result: yes
...
configure:19127: checking stdbool.h usability
...
configure:21386: result: no
configure:21408: checking for hypot declaration
configure:21433: /opt/gcc/build_w/./gcc/xgcc -shared-libgcc
-B/opt/gcc/build_w/./gcc -nostdinc++
-L/opt/gcc/build_w/x86_64-apple-darwin10.8.0/libstdc++-v3/src
-L/opt/gcc/build_w/x86_64-apple-darwin10.8.0/libstdc++-v3/src/.libs
-B/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/bin/
-B/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/lib/ -isystem
/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/include -isystem
/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/sys-include -c -fno-builtin
-D_GNU_SOURCE conftest.cpp >&5
configure:21433: $? = 0
configure:21449: result: yes
configure:21455: checking for hypot
configure:21455: /opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/
-B/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/bin/
-B/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/lib/ -isystem
/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/include -isystem
/opt/gcc/gcc4.8w/x86_64-apple-darwin10.8.0/sys-include -o conftest -g -O2
conftest.c -lm >&5
conftest.c:134:6: warning: conflicting types for built-in function 'hypot'
[enabled by default]
char hypot ();
^
configure:21455: $? = 0
configure:21455: result: yes
configure:21529: checking for float trig functions
...
+ the same for hypotf and hypotl.
Is it enough or should I attach the full log?
More information about the Gcc-bugs
mailing list