From: Romain Naour <romain.naour@openwide.fr>
To: xenomai@xenomai.org
Subject: [Xenomai] Xenomai 2.6.2 user-space compilation error on ARM < armv6
Date: Sun, 30 Dec 2012 16:51:04 +0100 [thread overview]
Message-ID: <50E062E8.6030903@openwide.fr> (raw)
Hi Gilles,
First of all, thank you for the new release of Xenomai :)
I'm compiling Xenomai 2.6.2 and Linux kernel 3.5.3 for mini2440 with buildroot 2012.11.
During compilation I get the following error:
error: #error "SMP not supported below armv6, compile with -march=armv6 or above"
This error is caused by the SMP mode which is now enabled by default on ARM.
So I added the option --disable-smp on the buildroot's command line for ./configure
(buildroot assumes that the SMP mode is not enabled when it compile Xenomai for arm)
This option became mandatory for ARM < armv6 to pass this test: (xenomai-2.6/include/asm-arm/feature.h)
#if __LINUX_ARM_ARCH__ < 6 && defined(CONFIG_SMP)
#error "SMP not supported below armv6, compile with -march=armv6 or above"
#endif
The error message may be advisable to add the option --disable-smp ?
However, since your objective is to allow to run the same binary on UP and SMP system, it is safe to remove this test for ARM < armv6 now ?
Regards,
Romain
next reply other threads:[~2012-12-30 15:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-30 15:51 Romain Naour [this message]
2012-12-30 16:56 ` [Xenomai] Xenomai 2.6.2 user-space compilation error on ARM < armv6 Gilles Chanteperdrix
2012-12-30 22:15 ` Gilles Chanteperdrix
2012-12-31 11:30 ` Romain Naour
2013-01-02 23:38 ` Romain Naour
2013-01-03 20:12 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50E062E8.6030903@openwide.fr \
--to=romain.naour@openwide.fr \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.