Jeff Angielski
2009-10-27 16:01:42 UTC
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)
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)
--
Jeff Angielski
The PTR Group
www.theptrgroup.com
Jeff Angielski
The PTR Group
www.theptrgroup.com