Bruno MAGNE | 26 Apr 12:44 2012

Re: typecode assertion failed on gcc 4.4

Hi Karel,

It seems that there was no follow-up for this point since 2009.

Today, we are using mico 2.3.13 on RHEL6 (gcc 4.4.6) and we got the same error when building the IDLs with the command

idl -I. -Dxxx --c++-suffix cpp MyModule.idl

The output was

[3930027083 - 3077474128] typecode.cc:1877: assertion failed

The IDL contains the following declaration:

    typedef struct EventDataStruct {
        string value;
        string type;
        sequence<EventDataStruct> subDataSeq;
    } EventData;

According to my colleague, the error could be there with the second parameter.

    void NotifyEvent(in unsigned long iEventTypeID,
                     in sequence<EventData> eventDataSeq,
                     in string strEventName);

Any idea ?

Best Regards

(Continue reading)

Bruno MAGNE | 26 Apr 17:03 2012

Re: typecode assertion failed on gcc 4.4

Hi Tomás,

Thanks for your answer and help; it was fruitful. Your patch works.  

In the meantime, I have downloaded the snapshot mico-2011-03-11.tar.bz2 and made a patch for mico-2.3.13
with only the code/files impacted by the use of gcc > 4.4.

You can find enclosed the patch.

Best regards

Bruno Magne

-----Message d'origine-----
De : Tomás Staig [mailto:tomas.staig <at> gmail.com] 
Envoyé : jeudi 26 avril 2012 14:08
À : Bruno MAGNE
Objet : Re: [mico-devel] typecode assertion failed on gcc 4.4

El 26-04-2012 6:44, Bruno MAGNE escribió:
> Hi Karel,
>
> It seems that there was no follow-up for this point since 2009.
>
> Today, we are using mico 2.3.13 on RHEL6 (gcc 4.4.6) and we got the same error when building the IDLs with the command
>
> idl -I. -Dxxx --c++-suffix cpp MyModule.idl
>
> The output was
>
(Continue reading)

Nikolay Logvinov | 26 Apr 17:18 2012
Picon

cxxabi[_-]forced.h and gcc versions

Hello Karel!

Due to different file names (cxxabi_forced.h or cxxabi-forced.h) in 
other gcc versions, I suggest to use more (IMO) correct method - use 
cxxabi.h.

So, my little patch:

$ darcs whatsnew
hunk ./aclocal.m4 689
-[AC_TRY_COMPILE([#include <cxxabi-forced.h>],[
+[AC_TRY_COMPILE([#include <cxxabi.h>],[
hunk ./orb/os-thread/pthreads.cc 37
-#include <cxxabi-forced.h>
+#include <cxxabi.h>

Best regards,
Nikolay Logvinov.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane