#1607: TestMath: undefined reference in function TestMath_CC on loewe machine -----------------------------------+---------------------------------------- Reporter: bmundim | Owner: Type: defect | Status: new Priority: major | Milestone: Component: EinsteinToolkit thorn | Version: development version Keywords: TestMath | -----------------------------------+---------------------------------------- Trying to compile ET on loewe results in the following linking error:
{{{ /home/astro/mundim/tmp/einstein_test/Cactus/configs/et/lib/libthorn_TestMath.a(math_cc.cc.o): In function `TestMath_CC': /home/astro/mundim/tmp/einstein_test/Cactus/arrangements/CactusTest/TestMath/src/math_cc.cc:178: undefined reference to `__builtin_fmaxf' /home/astro/mundim/tmp/einstein_test/Cactus/arrangements/CactusTest/TestMath/src/math_cc.cc:181: undefined reference to `__builtin_fmaxl' /home/astro/mundim/tmp/einstein_test/Cactus/arrangements/CactusTest/TestMath/src/math_cc.cc:190: undefined reference to `__builtin_fminf' /home/astro/mundim/tmp/einstein_test/Cactus/arrangements/CactusTest/TestMath/src/math_cc.cc:193: undefined reference to `__builtin_fminl' }}}
loewe.cfg does set -std=c99 to CFLAGS. Any ideas on working around this error?