Felipe Magno de Almeida | 1 Apr 2011 21:41
Picon

error configuring mico with --enable-csl2

Hi,

I'm having problems building mico with --enable-csl2 option.

I use Linux 64 bits and my gcc version is the following:

[felipe <at> felipedell-arch mico]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.5-20110127/configure --prefix=/usr
--enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-gnu-unique-object --enable-lto --enable-plugin --enable-gold
--with-plugin-ld=ld.gold --enable-multilib --disable-libstdcxx-pch
--with-system-zlib --with-ppl --with-cloog
--with-cloog-include=/usr/include/cloog-ppl --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info
Thread model: posix
gcc version 4.5.2 20110127 (prerelease) (GCC)

And I get the following errors:

loading cache ./config.cache
checking for extra include and lib directories...
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
(Continue reading)

Felipe Magno de Almeida | 2 Apr 2011 21:33
Picon

Re: error configuring mico with --enable-csl2

On Fri, Apr 1, 2011 at 4:41 PM, Felipe Magno de Almeida
<eu <at> felipemagno.com.br> wrote:
> Hi,
>
> I'm having problems building mico with --enable-csl2 option.

It seems csl2 is not compatible with flex 2.5.35. I was able to
advance by regenerating the .yy
files and correcting a few include directives in the lex files. But
they still do not compile, I have
now the following errors:

accessconf.lex: In member function ‘virtual int AccessConfig::yylex()’:
accessconf.lex:41:8: error: ‘attr’ was not declared in this scope
accessconf.lex:42:43: warning: comparison between signed and unsigned
integer expressions
accessconf.lex:51:9: error: ‘attr’ was not declared in this scope
accessconf.lex:107:21: error: ‘struct Security::Right’ has no member
named ‘right’
accessconf.lex:132:36: warning: comparison between signed and unsigned
integer expressions
accessconf.lex:148:36: warning: comparison between signed and unsigned
integer expressions
accessconf.lex:159:28: error: ‘attr’ was not declared in this scope
make[1]: *** [security/AccessConfig.pic.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rightsconf.lex: In member function ‘virtual int RightsConfig::yylex()’:
rightsconf.lex:36:15: error: ‘iface_name’ was not declared in this scope
rightsconf.lex:42:12: error: ‘op_name’ was not declared in this scope
rightsconf.lex:63:13: error: ‘combinator’ was not declared in this scope
(Continue reading)

Ricardo Cosme | 4 Apr 2011 13:08
Picon

Deadlock - Mutex (_isa_cache)

Hi Karel,

I have a deadlock at line orb.cc:3093 when my ClientInterceptor::receive_exception() 
calls a _narrow() for a second time. In this case, the first calling to _narrow() threw a 
COMM_FAILURE. 

Stacktrace:
(gdb) bt
#0  0x00007fff801f6322 in semaphore_wait_signal_trap ()
#1  0x00007fff801fb96d in pthread_mutex_lock ()
#2  0x000000010007913f in MICOMT::Mutex::lock (this=0x10200b500) at pthreads.h:172
#3  0x0000000100079166 in MICOMT::AutoLock::AutoLock (this=0x7fff5fbfc4a0, m= <at> 0x10200b500) at os-thread.h:173
#4  0x000000010036311a in CORBA::ORB::is_a (this=0x10200b400, obj=0x10191f320,
repo_id=0x1000a3f3e "IDL:scs/core/IComponent:1.0") at orb.cc:3093
#5  0x000000010034b3e4 in CORBA::Object::_is_a_remote (this=0x10191f320, repoid=0x1000a3f3e
"IDL:scs/core/IComponent:1.0") at object.cc:462
#6  0x000000010005ff46 in scs::core::IComponent::_narrow (_obj=0x10191f320) at stubs/mico/scs.cc:1195
#7  0x000000010006d4be in openbus::Openbus::createProxyToIAccessControlService
(this=0x101907610) at openbus.cpp:594
#8  0x000000010000ae17 in openbus::interceptors::ClientInterceptor::receive_exception
(this=0x101919fd0, ri=0x10190f2a8) at openbus/interceptors/ClientInterceptor.cpp:158
#9  0x00000001004b5621 in PInterceptor::PI::_exec_client (ri=0x10190f2a8, m={__pfn = 0x41, __delta =
0}, ip=PInterceptor::END) at pi_impl.cc:1949
#10 0x00000001004b7b48 in PInterceptor::PI::_exec_receive_exception (ri=0x10190f2a8) at pi_impl.cc:2129
#11 0x00000001004b82a5 in PInterceptor::PI::_receive_exception_ip (cri=0x10190f030,
reply_status=1, exception=0x10191e480, reply_scl=0x10190f000) at pi_impl.cc:2259
#12 0x000000010030aab2 in CORBA::Request::get_response (this=0x10190eae0, block=1 '\001') at dii.cc:931
#13 0x000000010030b61f in CORBA::Request::invoke (this=0x10190eae0) at dii.cc:778
#14 0x00000001003633c7 in CORBA::ORB::is_a (this=0x10200b400, obj=0x10190e720,
repo_id=0x1000a3f3e "IDL:scs/core/IComponent:1.0") at orb.cc:3114
(Continue reading)


Gmane