------- Additional Comments From bkoz at gcc dot gnu dot org 2004-11-03 00:18 ------- Simple grep:
/include/std/std_complex.h: __complex_arg(__complex__ float __z) { return __builtin_cargf(__z); } Simple theory: on targets without __builtin_cargf, cargf gets referenced with this call. However, no checking for cargf or provided function in libmath stubs for this. So, the failure. In fact, in 2000 cargf was taken out of libmath, because it was unused. I think this is related, in general, to the meta-issue of what the hell libmath is supposed to do, and if perhaps it's time for fortran, java, c++ etc to all punt to a top-level C99 math library for this stuff if native libc/libm can't hack it. And why stop there... just import all of glibc + GSL? Ack. That's my vote, at the moment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17243