[zeromq-dev] ZMQ vs SPI: FD shenanigans

KIU Shueng Chuan nixchuan at gmail.com
Wed Jan 21 22:31:17 CET 2015


Are you sure that the ioctl call failed? You are printing out errno without
having checked the return code of the ioctl call.
 Hello,

Am 20.01.2015 22:02, schrieb Arnaud Kapp:
-Snipp-
>> On Tue, Jan 20, 2015 at 11:32 AM, Olaf Mandel <o.mandel at menlosystems.com>
>> wrote:
-Snipp-
>>> Good point, my machine and version numbers are:
>>>
>>> CPU:   Freescale i.MX537 (Cortex-A8, NEON)
>>> GCC:   4.8.1, cross-compiling
>>> Linux: 3.10.28 + many platform patches
>>> ZMQ:   zeromq/libzmq.git @ be23e699c
>>>
-Snipp-
> I see two things to try:
>   * Try with a more stable version of libzmq -
> https://github.com/zeromq/zeromq4-1
>   * Upgrading to a more recent kernel and to gcc 4.9 if those are
available.
>

this took a while, but I have now recompiled the complete system
(including kernel) with GCC 4.9.2. I will not be able to go for a newer
kernel: that has quite a few patches and porting those is a somewhat
daunting task for me.

The behaviour seems the same with the following combinations of ZeroMQ
and GCC:

ZeroMQ w/ GCC:
4.0.5  w/ 4.8.1
HEAD   w/ 4.8.1
HEAD   w/ 4.9.2
4.1.0  w/ 4.9.2

I want to check a bit why C and C++ behave differently tomorrow. Any
further suggestions anyone could make?

Best regards,
Olaf Mandel
--
Olaf Mandel
phone: +49-89-189166-250
fax:   +49-89-189166-111
Menlo Systems GmbH
Am Klopferspitz 19a, D-82152 Martinsried
Amtsgericht München HRB 138145
Geschäftsführung: Dr Michael Mei, Dr Ronald Holzwarth
USt-IdNr. DE217772017, St.-Nr. 14316170324


_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150122/9d5c9577/attachment.htm>


More information about the zeromq-dev mailing list