Re: [Xenomai-core] Built-in libxenomai dependency

2012-02-08 Thread Gilles Chanteperdrix
On 02/07/2012 05:36 PM, Jan Kiszka wrote:
> On 2012-02-07 17:28, Gilles Chanteperdrix wrote:
>> This causes a -L/usr/lib to be added on the link-edit command line,
>> which causes the link to fail by finding /usr/lib/libpthread.so instead
>> of the cross-compiler one, and fail.
> 
> How does libxenomai.la look like? Is it different from a native build?
> 
> Hmm, there must be some valid way to express library dependencies inside
> you package.

I would say it looks like a famous libtool bug all buildroot, ptxdist
and the like tools work around. So, I would tend to give up on this
issue, given that it fixes an issue not all that critical.

-- 
Gilles.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] [PATCH] Only export required CFLAGS via xeno-config

2012-02-08 Thread Gilles Chanteperdrix
On 02/07/2012 05:20 PM, Jan Kiszka wrote:
> On 2012-02-07 17:18, Gilles Chanteperdrix wrote:
>> On 02/03/2012 03:50 PM, Jan Kiszka wrote:
>>> -Werror-implicit-function-declaration is not compatible with C++, and
>>> also decisions about -Wall and -pipe should be left to the application.
>>>
>>> Signed-off-by: Jan Kiszka 
>>
>> Had to revert this patch, it causes a build failure when cross-compiling
>> (for ARM, I do not know if it matters).
> 
> -pipe? Or a weird compiler bug? -Wsomething can't make a difference.
> 
> Jan
> 
sighandler_t not defined, so I suspect -D_GNU_SOURCE gets lost. Anyway,
I will retry this one later, am working on other issues now.

-- 
Gilles.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core