[zeromq-dev] Port of ZeroMQ to QNX 6.4

Armin Steinhoff armin at steinhoff.de
Sat Mar 6 20:14:47 CET 2010


Martin Sustrik wrote:
> Armin,
>
>   
>> it seems to be a problem with the QNX libs and/or the different 
>> front-ends qcc and QCC.
>>
>> When I compile the performance tests with QCC the ZMQ stack is working !
>>     
>
> Great!
>   

OK ... the porting steps are:

- CC=qcc CXX=QCC configure --with-c --with-perf   .... if only 
C-bindings are requested

- then add to platform.hpp:

                #define rpl_malloc malloc
                #define ZMQ_FORCE_SELECT 1

That's all.

>   
>> The remaining problem is the un-gracefully termination of the test 
>> applications ...
>>     
>
> May you be more specific about the problem?
>   
That's the backtrace for that problem:

Program received signal SIGSEGV, Segmentation fault.
0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/x86/lib/libcpp.so.4
(gdb) backtrace
#0  0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/x86/lib/libcpp.so.4
#1  0xb84051e6 in __tcf_3 () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
#2  0xb0329445 in __cxa_finalize () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#3  0xb83fb624 in _btext () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
#4  0xb840c149 in _fini () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
#5  0xb033dae6 in fini () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#6  0xb033dc48 in _do_exit_fini () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#7  0xb03294e1 in _cleanup () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#8  0xb0329bd7 in exit () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#9  0x08048830 in _start ()
(gdb)         


Regards

--Armin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100306/4a2766d7/attachment.htm>


More information about the zeromq-dev mailing list