Karel,

Just out of couriosity, does this means that in 64 bit you cannot use recent (g++ 4.4) compilers to compile MICO? I've tried myself (with the current darcs) and the code compiled, but the tests (the IDL ones) did not work (idl/24 failed at least). Would it be hard to fix it?

        Regards,
        diego.

On 17/11/09 11:07, Karel Gardas wrote:

Jeff,

could you be so kind and test if older version of GNU C++ are able to go
further in compilation? I'm sure MICO is running fine on several
different 64bit OSes while compiled by several different GNU C++
versions. The problem now is that there are few reports on this mailing
list where GNU C++ 4.3.x does not like MICO that much, honestly
speaking. So I would certainly give a try to some of the Ubuntu/Debian
provided older compilers and see if this help or not.

Cheers,
Karel

Jeff Angielski wrote:

I am not sure my first attempt at sending this was successful so I am
trying again.  Sorry if it ends up being a double post.

I am unable to compile MICO on a 64bit Ubuntu 9.04 distribution.  The
idl fails with the following assertion when compiling the first idl file:

$ configure
$ make
   <..snip...>
   /home/jaa/mico/./idl/idl -B../.. --c++-skel --name CosNaming \
                 ../../include/coss/CosNaming.idl
   [1256592588846 - 47360507142816] address.cc:604: assertion failed
   make[2]: *** [CosNaming.cc] Aborted

The assertion is a size mismatch:

     assert (_ipaddr.size() == sizeof (sin.sin_addr.s_addr));


This seems like a fundamental problem with the ORB and 64bit GCC.  Does
anybody else have this running under this distro?


The gcc that fails is the 4.3.3 gcc on a 64bit machine.

$ gcc --ver
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)


We have been able to run it with this 4.3.2 gcc on a 32bit machine.

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.3.2-1ubuntu11' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-targets=all --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11)





--
Diego Sevilla Ruiz -- http://ditec.um.es/~dsevilla/ -- dsevi...@um.es _.___
Dep. Ingeniería y Tecnología de Computadores, Facultad de Informática D|TEC
Univ.de Murcia,Campus Espinardo,30080 Murcia (SPAIN),Tel.+34868887571
_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to