Discussion:
[ciao-users] $CIAO_ROOT/tools/static_configurator: Compiling static_configurator failed on SUN Solaris
(too old to reply)
Roland Schimmack
2004-08-19 14:45:55 UTC
Permalink
CIAO VERSION: 0.4.2
TAO VERSION : 1.4.2
ACE VERSION : 5.4.2

HOST MACHINE and OPERATING SYSTEM:
SunOS tristan 5.7 Generic_106541-20 sun4u sparc SUNW,Ultra-250

TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
No difference

COMPILER NAME AND VERSION (AND PATCHLEVEL):
GCC-3.4.1


AREA/CLASS/EXAMPLE AFFECTED:
$CIAO_ROOT/tools/static_configurator

DOES THE PROBLEM AFFECT:
COMPILATION?
If so, what do your $ACE_ROOT/ace/config.h and

#include "ace/config-sunos5.7.h"

$ACE_ROOT/include/makeinclude/platform_macros.GNU
contain?

include
$(ACE_ROOT)/include/makeinclude/platform_sunos5_g++.GNU

LINKING?
On Unix systems, did you run make realclean first?
EXECUTION?
OTHER (please specify)?
[Please indicate whether ACE/TAO/CIAO, your application, or both are
affected.]

SYNOPSIS:
Compiling CIAO/tools/static_configurator failed on SUN Solaris

DESCRIPTION:
Compiling Static_Assembly_Parser.cpp result in a compiler crash


REPEAT BY:

g++ -W -Wall -Wpointer-arith -O3 -pipe -fno-exceptions -fcheck-new
-D_REENTRANT -I/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers
-I/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/TAO
-I/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/TAO -DACE_NDEBUG
-DACE_USE_RCSID=0 -D__ACE_INLINE__ -I../../../.. -I../../.. -I../..
-I../../ciao -I../../../../ACEXML/common -c -o
.obj/Static_Assembly_Parser.o Static_Assembly_Parser.cpp In file
included from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/OS_NS_Thread.h:1970
,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/ACE.inl:5,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/ACE.h:787,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/Functor.inl:32,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/Functor.h:477,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/Functor_T.h:33,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/Hash_Map_Manager_T.
h:24,
from Static_Assembly_Visitors.h:27,
from Static_Assembly_Parser.cpp:3:
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/OS_NS_Thread.inl:
In function `int ACE_OS::mutex_init(ACE_mutex_t*, int, const char*,
ACE_mutexattr_t*, int, int)':
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/OS_NS_Thread.inl:67
1: warning: right-hand operand of comma has no effect
g++: Internal error: Segmentation Fault (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [.obj/Static_Assembly_Parser.o] Error 1
make[1]: Leaving directory
`/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/TAO/CIAO/tools/static_
configurator'
make: *** [Static_Assembly_Parser] Error 2




SAMPLE FIX/WORKAROUND:
--
NEU: Bis zu 10 GB Speicher f�r e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail
Balachandran Natarajan
2004-08-19 17:37:59 UTC
Permalink
Hi
Post by Roland Schimmack
CIAO VERSION: 0.4.2
TAO VERSION : 1.4.2
ACE VERSION : 5.4.2
Thanks for using the PRF!
Post by Roland Schimmack
SunOS tristan 5.7 Generic_106541-20 sun4u sparc SUNW,Ultra-250
No difference
GCC-3.4.1
$CIAO_ROOT/tools/static_configurator
COMPILATION?
If so, what do your $ACE_ROOT/ace/config.h and
#include "ace/config-sunos5.7.h"
$ACE_ROOT/include/makeinclude/platform_macros.GNU
contain?
include
$(ACE_ROOT)/include/makeinclude/platform_sunos5_g++.GNU
LINKING?
On Unix systems, did you run make realclean first?
EXECUTION?
OTHER (please specify)?
[Please indicate whether ACE/TAO/CIAO, your application, or both are
affected.]
Compiling CIAO/tools/static_configurator failed on SUN Solaris
Compiling Static_Assembly_Parser.cpp result in a compiler crash
g++ -W -Wall -Wpointer-arith -O3 -pipe -fno-exceptions -fcheck-new
-D_REENTRANT -I/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers
-I/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/TAO
-I/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/TAO -DACE_NDEBUG
-DACE_USE_RCSID=0 -D__ACE_INLINE__ -I../../../.. -I../../.. -I../..
-I../../ciao -I../../../../ACEXML/common -c -o
.obj/Static_Assembly_Parser.o Static_Assembly_Parser.cpp In file
included from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/OS_NS_Thread.h:1970
,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/ACE.inl:5,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/ACE.h:787,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/Functor.inl:32,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/Functor.h:477,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/Functor_T.h:33,
from
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/Hash_Map_Manager_T.
h:24,
from Static_Assembly_Visitors.h:27,
In function `int ACE_OS::mutex_init(ACE_mutex_t*, int, const char*,
/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/ace/OS_NS_Thread.inl:67
1: warning: right-hand operand of comma has no effect
g++: Internal error: Segmentation Fault (program cc1plus)
Please submit a full bug report.
This doesn't look nice. Could you please set optimize=0 and run the
compilation here? You could also do make optimize=0

Please let us know whether that works? This could give us an idea.

Thanks
bala
Post by Roland Schimmack
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [.obj/Static_Assembly_Parser.o] Error 1
make[1]: Leaving directory
`/db2/ACE-5.4.2+TAO-1.4.2+CIAO-0.4.2/ACE_wrappers/TAO/CIAO/tools/static_
configurator'
make: *** [Static_Assembly_Parser] Error 2
--
NEU: Bis zu 10 GB Speicher f�r e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail
Loading...