Red Hat Bugzilla – Bug 59092
gcc 3.1-0.18 miscompiles MICO 2.3.6 (www.mico.org)
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
gcc 3.1-0.10 was able to compile MICO 2.3.6 but gcc 3.1-0.18 cannot. The
(virtual inheritance) bug that crashed the idl compiler in the gcc 3.0.x
series has GNATS #3145. It should have been fixed in 3.1.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Remove all occurrences of -Werror in the configure script
3.Remove ios::noreplace from idl/codegen-c++.cc in lines 220/221
Actual Results: The just made idl compiler crashes
make: Entering directory `/root/development/mico/mico/coss/naming'
/root/development/mico/mico/./idl/idl --c++-skel --name CosNaming \
make: *** [CosNaming.cc] Segmentation fault
make: Leaving directory `/root/development/mico/mico/coss/naming'
make: *** [sublib] Error 1
make: Leaving directory `/root/development/mico/mico/coss'
Expected Results: It should compile. It works under gcc 2.96 and gcc 3.1-
0.10. It never worked under gcc 3.0.x (see above, GNATS bug #3145).
This problem is solved in gcc 3.1-0.19.