This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
More complex linkage failures on AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>, gdr at integrable-solutions dot net
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 10 Jun 2004 12:36:56 -0400
- Subject: More complex linkage failures on AIX
I am seeing a number of failures of complex testcases in the
testsuite due to linkage errors on AIX looking for cabs, carg, cexp:
FAIL: 26_numerics/complex/13450.cc (test for excess errors)
Excess errors:
ld: 0711-317 ERROR: Undefined symbol: .cabsf
ld: 0711-317 ERROR: Undefined symbol: .cargf
ld: 0711-317 ERROR: Undefined symbol: .cexpf
ld: 0711-317 ERROR: Undefined symbol: .cabsl
ld: 0711-317 ERROR: Undefined symbol: .cargl
ld: 0711-317 ERROR: Undefined symbol: .cexpl
ld: 0711-317 ERROR: Undefined symbol: .carg
ld: 0711-317 ERROR: Undefined symbol: .cexp
FAIL: 26_numerics/complex/pow.cc (test for excess errors)
Excess errors:
ld: 0711-317 ERROR: Undefined symbol: .carg
FAIL: 26_numerics/complex_value.cc (test for excess errors)
Excess errors:
ld: 0711-317 ERROR: Undefined symbol: .carg
libstdc++-v3/include/std/std_complex.h explicitly makes calls to
__builtin_{cabs,carg,cexp} which the compiler converts to libcalls.
What should happen here?
Thanks, David