From: Jan Kiszka <jan.kiszka@siemens.com>
To: Jean-Baptiste Tredez <jean-baptiste.tredez@basystemes.fr>,
"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] xsave/xrstor compilation error
Date: Thu, 24 Oct 2013 11:06:54 +0100 [thread overview]
Message-ID: <5268F13E.4020402@siemens.com> (raw)
In-Reply-To: <5268DCEA.7000202@basystemes.fr>
On 2013-10-24 09:40, Jean-Baptiste Tredez wrote:
> Hi,
>
> I tried to upgrade to xenomai 2.6.3 and compilation failed with :
>
> linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod.h: Assembler messages:
> linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod.h:305: Error: no
> such instruction: `xrstor (%ebx)'
> linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod.h:245: Error: no
> such instruction: `xsave (%esi)'
> linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod.h:305: Error: no
> such instruction: `xrstor (%ecx)'
> linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod.h:245: Error: no
> such instruction: `xsave (%ecx)'
> linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod.h:245: Error: no
> such instruction: `xsave (%ecx)'
> linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod.h:245: Error: no
> such instruction: `xsave (%ebx)'
>
> I am using kernel 2.6.38.8 with adeos-ipipe-2.6.38.8-x86-2.11-03.patch.
> I used binutils-2.18.1 and gcc-4.3.2.
> With a more recent toolchain, there is no compilation failure.
> Is there a new minimal binutils/gcc version for xenomai 2.6.3 ?
For x86, some binutils released about 5 years ago (2.20 should be fine,
maybe even 2.19). Is upgrading the toolchain not feasible for you? We
can, of course, replace the instructions with their obcodes (like the
kernel does), just makes the code more ugly.
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2013-10-24 10:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-24 8:40 [Xenomai] xsave/xrstor compilation error Jean-Baptiste Tredez
2013-10-24 10:06 ` Jan Kiszka [this message]
2013-10-24 15:48 ` Gilles Chanteperdrix
2013-10-24 16:40 ` Jan Kiszka
2013-10-24 17:26 ` Jan Kiszka
2013-10-25 7:47 ` Jean-Baptiste Tredez
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=5268F13E.4020402@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=jean-baptiste.tredez@basystemes.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.