From: Philippe Gerum <rpm@xenomai.org>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] buildbot: how to setup for ppc with 2.6.19 kernel?
Date: Sun, 18 Feb 2007 16:15:16 +0100 [thread overview]
Message-ID: <1171811716.13484.6.camel@domain.hid> (raw)
In-Reply-To: <45D868C5.3000307@domain.hid>
On Sun, 2007-02-18 at 15:55 +0100, Wolfgang Grandegger wrote:
> Niklaus Giger wrote:
> > Hi
> >
> > Compiling ppc fails for me with 2.6.19 kernels.
> > ( I compile on a Pegasos PPC 601 Debian Linux).
> >
> > If I use ARCH=ppc then I get the following error:
> >> CHK include/linux/version.h
> >> CHK include/linux/utsrelease.h
> >> CHK include/linux/compile.h
> >> gcc: include/asm/byteorder.h: No such file or directory
>
> Hmm, strange.
>
> >> gcc: no input files
> >> CC arch/ppc/xenomai/hal.o
> >> arch/ppc/xenomai/hal.c: In function 'rthal_arch_init':
> >> arch/ppc/xenomai/hal.c:353: error: invalid type argument of '->'
> >> make[1]: *** [arch/ppc/xenomai/hal.o] Fehler 1
>
> That looks like an altivec problem. Does the attached patch for Xenomai
> help?
>
It does, but we also need to remain compatible with older kernels
(namely 2.6.14 since the ppc64 port is still based on it), so I fixed
this by using cpu_has_feature() instead.
--
Philippe.
next prev parent reply other threads:[~2007-02-18 15:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-18 12:51 [Xenomai-core] buildbot: how to setup for ppc with 2.6.19 kernel? Niklaus Giger
2007-02-18 14:53 ` Philippe Gerum
2007-02-18 14:55 ` Wolfgang Grandegger
2007-02-18 15:15 ` Philippe Gerum [this message]
2007-02-18 19:56 ` Wolfgang Grandegger
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=1171811716.13484.6.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=wg@domain.hid \
--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.