Re: [Xenomai] segfault in printer_loop()

2017-11-09 Thread Jan Kiszka
On 2017-11-10 07:58, C Smith wrote: > Agreed the segfault is inside pthread_cond_wait(), the contents of the > args are seen in previous post. > dmesg says this: > app[12316]: segfault at c ip b76fe0db sp b771c268 error 4 in > libpthread-2.15.so [b76f4000+16000] > > And

Re: [Xenomai] Won`t build on new Debian Stable

2017-11-09 Thread Jan Kiszka
On 2017-11-09 10:38, Philippe Gerum wrote: > On 10/19/2017 06:55 PM, Henning Schild wrote: >> On Thu, 19 Oct 2017 12:03:33 +0200 >> Philippe Gerum wrote: >> >>> On 10/13/2017 01:36 PM, Norbert Lange wrote: I works, because collect2 (the "compiler driver", which documents

[Xenomai-git] Philippe Gerum : cobalt/x86: use symbolic trap names

2017-11-09 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 3c0e29d83c94b4cd330f1be9938b1813eda1b6ef URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3c0e29d83c94b4cd330f1be9938b1813eda1b6ef Author: Philippe Gerum Date: Thu Nov 9 14:42:12 2017 +0100 cobalt/x86: use symbolic

Re: [Xenomai] [PATCH v2 2/3] RTDM: uapi: Define ioctl code to set an IRQ affinity.

2017-11-09 Thread Christoph Müllner
#define GPIO_TRIGGER_NONE0x0 /* unspecified */ >> #define GPIO_TRIGGER_EDGE_RISING 0x1 >> > > > -- > Philippe. ------ next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 874 bytes Des

Re: [Xenomai] [PATCH v2 2/3] RTDM: uapi: Define ioctl code to set an IRQ affinity.

2017-11-09 Thread Philippe Gerum
On 11/06/2017 10:46 AM, Christoph Muellner wrote: > This patch adds an ioctl code to set a GPIO IRQ's CPU affinity > to the RTDM user space API. > > Signed-off-by: Christoph Muellner > --- > include/rtdm/uapi/gpio.h | 6 ++ > 1 file changed, 6

Re: [Xenomai] [PATCH v2 1/3] cobalt: rtdm: Add function rtdm_irq_affinity().

2017-11-09 Thread Philippe Gerum
On 11/06/2017 10:46 AM, Christoph Muellner wrote: > This patch adds a RTDM API to set a IRQ's CPU affinity. > > Signed-off-by: Christoph Muellner > --- > include/cobalt/kernel/rtdm/driver.h | 6 ++ > kernel/cobalt/rtdm/drvlib.c | 18

Re: [Xenomai] ipipe + preempt_rt : spinlock issue

2017-11-09 Thread Cédric Perles
Hi Philippe, Thank's for your answere. Replacing spin lock calls by equivalent raw spin lock in gpio_generic did the trick. Thank's a lot. Cédric -Message d'origine- De : Philippe Gerum [mailto:r...@xenomai.org] Envoyé : mercredi 1 novembre 2017 21:57 À : Cédric Perles;

Re: [Xenomai] Won`t build on new Debian Stable

2017-11-09 Thread Philippe Gerum
On 10/19/2017 06:55 PM, Henning Schild wrote: > On Thu, 19 Oct 2017 12:03:33 +0200 > Philippe Gerum wrote: > >> On 10/13/2017 01:36 PM, Norbert Lange wrote: >>> I works, because collect2 (the "compiler driver", which documents >>> the -r option) now knows about the -r flag,

Re: [Xenomai] Xenomai cannot be built in Debian Stretch

2017-11-09 Thread Leopold Palomo-Avellaneda
On 08/11/17 16:12, Leopold Palomo-Avellaneda wrote: > Hi, > > > I'm trying to build Xenomai 3.0.5 in a Debian Stretch/Buster Amd64 env. > I'm getting this error: > > /usr/bin/ld: -r and -pie may not be used together > > > It's because the default -pie in gcc. I have tried to investigate, but