[ODE] ODE and Itanium processors

Bram Stolk bram at sara.nl
Mon Jul 31 03:25:41 MST 2006


Hi,

I can confirm that OpenDE SVN version works on itanium, if the
guard for -fPIC is removed from ode/src/Makefile.am

This was tested on a 20-processor shared memory beast:
SGI Altix with itanium2 processors, using gcc 3.4.0
(a multithreaded opende would be an interesting experiment
  for this iron).

I've also tried the intel compiler icc version 9.
These are my findings:

- configure thinks its a GNU compiler (see below). Why?

- I need -lcprts on the commandline for the test programs

- drawstuf dstest works

- test_ode fails to build
   /opt/intel/cc/9.0/lib/libunwind.so.6: undefined reference to `?1__serial_memmove'
   Strangely, other tests do build, even though they are more complex.

- other ode tests give segm violation.
   See below.

- virtual func override warning. See below.


-----------------------------------------------------------


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2305843009213898160 (LWP 29352)]
0x2000000000839f20 in std::locale::_Getfacet () from 
/opt/intel/cc/9.0/lib/libcprts.so.6
Current language:  auto; currently c
(gdb) where
#0  0x2000000000839f20 in std::locale::_Getfacet () from 
/opt/intel/cc/9.0/lib/libcprts.so.6
#1  0x2000000000859eb0 in std::basic_istream<wchar_t, std::char_traits<wchar_t> 
 >::basic_istream ()
    from /opt/intel/cc/9.0/lib/libcprts.so.6
#2  0x2000000000859060 in _ZNSt6_WinitC9Ev_LEH_1_197 () from 
/opt/intel/cc/9.0/lib/libcprts.so.6
#3  0x2000000000856eb0 in std::_Winit::_Winit () from 
/opt/intel/cc/9.0/lib/libcprts.so.6
#4  0x2000000000855ad0 in __sti__$E??unw () from /opt/intel/cc/9.0/lib/libcprts.so.6
#5  0x20000000007f3b40 in __icrt_do_global_construction () from 
/opt/intel/cc/9.0/lib/libcprts.so.6
#6  0x20000000007f3e60 in __icrt_init () from /opt/intel/cc/9.0/lib/libcprts.so.6
#7  0x20000000007ee980 in _init () from /opt/intel/cc/9.0/lib/libcprts.so.6
#8  0x2000000000859eb0 in std::basic_istream<wchar_t, std::char_traits<wchar_t> 
 >::basic_istream ()
    from /opt/intel/cc/9.0/lib/libcprts.so.6
#9  0x2000000000859eb0 in std::basic_istream<wchar_t, std::char_traits<wchar_t> 
 >::basic_istream ()
    from /opt/intel/cc/9.0/lib/libcprts.so.6
#10 0x0000000000000000 in ?? ()

------------------------------------------------------------------

$ CC=icc CXX=icc ../opende/configure --prefix=$HOME/ode.icc
checking build system type... ia64-unknown-linux-gnu
checking host system type... ia64-unknown-linux-gnu
checking target system type... ia64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... icc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes

As you can see... configure thinks its a GNU compiler? Why?

-------------------------------------------------------------------

/home/bram/src/opende/OPCODE/OPC_TreeCollider.h(232): warning #1125: function 
"Opcode::Collider::InitQuery()" is hidden by 
"Opcode::AABBTreeCollider::InitQuery" -- virtual function override intended?
                                                         void 
  InitQuery(const Matrix4x4* world0=null, const Matrix4x4* world1=null);


   Bram




More information about the ODE mailing list