Yes I saw your answer and understood what you were talking about.
Again, the "-march=armv4t -msoft-float" options are passed to every
package Buildroot builds since it's an option I enable in the Buildroot
config file. The problem may lie in how it passes them to Xenomai
specifically. For a fact, I can assure you they weren't passed to the
right of the ./configure script as you suggested since I double checked
the config.log for the Xenomai build. Why the "Illegal Instruction"
message wasn't showing up I don't know but it's not something that
popped up to me before for not passing the flags, at least not in the
smdk2440 target.
Facts:
1- Buildroot doesn't build correctly the Xenomai package ( test suite
fails to launch )
2- When passing the flags in Buildroot manually ( for now ) to the
Xenomai package the test suite runs normally
3- The solution is either fixing the parameter passing scheme on Xenomai
or how Buildroot passes the parameters ( I go with this last one ).
El 02/05/2013 09:59 AM, Gilles Chanteperdrix escribió:
On 02/05/2013 03:56 PM, raespi wrote:
The problem was fixed ... The buildroot system didn't pass the specific
CFLAGS and LDFLAGS for my machine. In your Getting Started guide this
is something necessary. That's what fixed the problem and allowed me to
run the tests. What I'm checking with him is how those flags are passed
to Xenomai. Perhaps he didn't notice it before since no one ran the
test suite for this machine ?? IDK ...
No, read my answer again. If buildroot did not pass correct CFLAGS or
LDFLAGS, you would get an "illegal instruction" trap. So, you have not
really understood what your problem is, and you have not understood why
passing specific CFLAGS and LDFLAGS in addition to the ones passed by
buildroot fixes it.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai