[ET Trac] [Einstein Toolkit] #1607: TestMath: undefined reference in function TestMath_CC on loewe machine

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri May 2 17:41:02 CDT 2014


#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?

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1607>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list