Re: [Xenomai-core] gcc-4.6 issue

2011-08-12 Thread Gilles Chanteperdrix
Daniele Nicolodi wrote: > On 12/08/11 10:18, Daniele Nicolodi wrote: >> On 12/08/11 01:18, Gilles Chanteperdrix wrote: >>> The following patch seems to do the trick. It makes the assumption that >>> when compiling with -fomit-frame-pointer, we have one more register, so >>> the "R" constraint will

Re: [Xenomai-core] gcc-4.6 issue

2011-08-12 Thread Daniele Nicolodi
On 12/08/11 10:18, Daniele Nicolodi wrote: > On 12/08/11 01:18, Gilles Chanteperdrix wrote: >> The following patch seems to do the trick. It makes the assumption that >> when compiling with -fomit-frame-pointer, we have one more register, so >> the "R" constraint will always be able to avoid choos

Re: [Xenomai-core] gcc-4.6 issue

2011-08-12 Thread Gilles Chanteperdrix
Daniele Nicolodi wrote: > On 12/08/11 01:18, Gilles Chanteperdrix wrote: >> The following patch seems to do the trick. It makes the assumption that >> when compiling with -fomit-frame-pointer, we have one more register, so >> the "R" constraint will always be able to avoid choosing eax, and eax >>

Re: [Xenomai-core] gcc-4.6 issue

2011-08-12 Thread Daniele Nicolodi
On 12/08/11 01:18, Gilles Chanteperdrix wrote: > The following patch seems to do the trick. It makes the assumption that > when compiling with -fomit-frame-pointer, we have one more register, so > the "R" constraint will always be able to avoid choosing eax, and eax > will be free for the muxcode

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 10:52 PM, Gilles Chanteperdrix wrote: > On 08/11/2011 07:31 PM, Gilles Chanteperdrix wrote: >> On 08/11/2011 07:21 PM, Roland Stigge wrote: >>> Hi, >>> >>> On 08/11/2011 04:48 PM, Daniele Nicolodi wrote: I compiled linux 2.6.38.8 and xenomai-head with gcc-4.6. The obtained k

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 07:31 PM, Gilles Chanteperdrix wrote: > On 08/11/2011 07:21 PM, Roland Stigge wrote: >> Hi, >> >> On 08/11/2011 04:48 PM, Daniele Nicolodi wrote: >>> I compiled linux 2.6.38.8 and xenomai-head with gcc-4.6. The obtained >>> kernel boots fine but xenomai services do not: latency hangs

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 08:42 PM, Daniele Nicolodi wrote: > On 11/08/11 19:22, Gilles Chanteperdrix wrote: > >> Please try and find the point in the latency test where the hang happens >> (it probably happens when calling a xenomai service, so, not >> sched_setscheduler), and then post the two disassemblies

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 07:31 PM, Gilles Chanteperdrix wrote: > On 08/11/2011 07:21 PM, Roland Stigge wrote: >> Hi, >> >> On 08/11/2011 04:48 PM, Daniele Nicolodi wrote: >>> I compiled linux 2.6.38.8 and xenomai-head with gcc-4.6. The obtained >>> kernel boots fine but xenomai services do not: latency hangs

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Daniele Nicolodi
On 11/08/11 19:22, Gilles Chanteperdrix wrote: > Please try and find the point in the latency test where the hang happens > (it probably happens when calling a xenomai service, so, not > sched_setscheduler), and then post the two disassemblies of this service > implementation in libnative.so, the

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 07:21 PM, Roland Stigge wrote: > Hi, > > On 08/11/2011 04:48 PM, Daniele Nicolodi wrote: >> I compiled linux 2.6.38.8 and xenomai-head with gcc-4.6. The obtained >> kernel boots fine but xenomai services do not: latency hangs right after >> the sched_setscheduler system call. With th

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 04:48 PM, Daniele Nicolodi wrote: > On 11/08/11 13:43, Daniele Nicolodi wrote: >> I submitted the debian bug, beside what is the cause of the problem, >> binaries compiled with gcc-4.6 are not usable, but binaries compiled >> with gcc-4.4 are. I'm compiling xenomai-head right now (thi

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Roland Stigge
Hi, On 08/11/2011 04:48 PM, Daniele Nicolodi wrote: > I compiled linux 2.6.38.8 and xenomai-head with gcc-4.6. The obtained > kernel boots fine but xenomai services do not: latency hangs right after > the sched_setscheduler system call. With the same kernel I compiled user > space with gcc-4.4 and

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Daniele Nicolodi
On 11/08/11 13:43, Daniele Nicolodi wrote: > I submitted the debian bug, beside what is the cause of the problem, > binaries compiled with gcc-4.6 are not usable, but binaries compiled > with gcc-4.4 are. I'm compiling xenomai-head right now (this requires > compiling both user space and kernel spa

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Daniele Nicolodi
On 11/08/11 13:07, Gilles Chanteperdrix wrote: > On 08/11/2011 12:59 PM, Roland Stigge wrote: >> Hi, >> >> I remember the recent gcc 4.6 issue on this list, but unfortunately, >> didn't have much time for attention. Now, it found its way to the Debian >> package: http://bugs.debian.org/637425 >> >>

Re: [Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Gilles Chanteperdrix
On 08/11/2011 12:59 PM, Roland Stigge wrote: > Hi, > > I remember the recent gcc 4.6 issue on this list, but unfortunately, > didn't have much time for attention. Now, it found its way to the Debian > package: http://bugs.debian.org/637425 > > I wonder if it is a compiler bug or Xenomai's. It lo

[Xenomai-core] gcc-4.6 issue

2011-08-11 Thread Roland Stigge
Hi, I remember the recent gcc 4.6 issue on this list, but unfortunately, didn't have much time for attention. Now, it found its way to the Debian package: http://bugs.debian.org/637425 I wonder if it is a compiler bug or Xenomai's. Thanks in advance, Roland