[ET Trac] [Einstein Toolkit] #1122: build problems on Ubuntu with gcc 4.6

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Oct 15 11:31:27 CDT 2012


#1122: build problems on Ubuntu with gcc 4.6
--------------------+-------------------------------------------------------
 Reporter:  rhaas   |       Owner:     
     Type:  defect  |      Status:  new
 Priority:  major   |   Milestone:     
Component:  Cactus  |     Version:     
 Keywords:          |  
--------------------+-------------------------------------------------------
 Building ET trunk on a "Linux version 3.2.0-29-generic-pae
 (buildd at roseapple) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) )
 #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012" Ubuntu virtual machine
 (32bit) I get:

 {{{
 COMPILING
 /home/lovelace/trunk/Cactus/arrangements/Carpet/CarpetLib/src/backtrace.cc
 In file included from
 /home/lovelace/trunk/Cactus/arrangements/Carpet/CarpetLib/src/dist.hh:20:0,
                  from
 /home/lovelace/trunk/Cactus/arrangements/Carpet/CarpetLib/src/backtrace.cc:405:
 /home/lovelace/trunk/Cactus/arrangements/Carpet/CarpetLib/src/defs.hh: In
 function ‘int myisinf(double)’:
 /home/lovelace/trunk/Cactus/arrangements/Carpet/CarpetLib/src/defs.hh:234:18:
 error: call of overloaded ‘isinf(const double&)’ is ambiguous
 /home/lovelace/trunk/Cactus/arrangements/Carpet/CarpetLib/src/defs.hh:234:18:
 note: candidates are:
 /usr/include/i386-linux-gnu/bits/mathcalls.h:203:1: note: int
 isinf(double)
 /usr/include/c++/4.6/cmath:534:3: note: bool std::isinf(long double)
 /usr/include/c++/4.6/cmath:530:3: note: bool std::isinf(double)
 /usr/include/c++/4.6/cmath:526:3: note: bool std::isinf(float)
 /home/lovelace/trunk/Cactus/arrangements/Carpet/CarpetLib/src/defs.hh: In
 function ‘int myisnan(double)’:
 /home/lovelace/trunk/Cactus/arrangements/Carpet/CarpetLib/src/defs.hh:249:18:
 error: call of overloaded ‘isnan(const double&)’ is ambiguous
 /home/lovelace/trunk/Cactus/arrangements/Carpet/CarpetLib/src/defs.hh:249:18:
 note: candidates are:
 /usr/include/i386-linux-gnu/bits/mathcalls.h:236:1: note: int
 isnan(double)
 /usr/include/c++/4.6/cmath:552:3: note: bool std::isnan(long double)
 /usr/include/c++/4.6/cmath:548:3: note: bool std::isnan(double)
 /usr/include/c++/4.6/cmath:544:3: note: bool std::isnan(float)
 make[3]: *** [backtrace.cc.o] Error 1
 make[2]: *** [make.checked] Error 2
 make[1]: ***
 [/home/lovelace/trunk/Cactus/configs/sim/lib/libthorn_CarpetLib.a] Error 2
 make: *** [sim] Error 2
 lovelace at ETUbuntu:~/trunk/Cactus$
 }}}

 This might be related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48891
 . The options list used was the simfactory ubuntu.cfg one.

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


More information about the Trac mailing list