All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Gregory Gosse <gregory.gosse@domain.hid>
Cc: 'xenomai-help' <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] problem following 'xenomai quick build guide'
Date: Wed, 28 Dec 2011 12:58:14 +0100	[thread overview]
Message-ID: <4EFB0456.9010409@domain.hid> (raw)
In-Reply-To: <000301ccc556$168472e0$438d58a0$@soterem.fr>

On 12/28/2011 12:44 PM, Gregory Gosse wrote:
> Now I use:
> 
> - xenomai 2.6.0   2011-11-05
> 
> - kernel 2.6.38.8
> 
> - patch adeos-ipipe-2.6.38.8-x86-2.10-01.patch
> 
>  
> 
> The following command works well:
> 
> scripts/prepare-kernel.sh --linux=/usr/src/linux-2.6.38.8 --adeos=/usr/src/xenomai-2.6.0/ksrc/arch/x86/patches/adeos-ipipe-2.6.38.8-x86-2.10-01.patch --arch=x86
> 
> Then I enter the configuration menu with
> 
> Make menuconfig
> 
>  
> 
> I apply the changes suggested in 'hard real time linux using xenomai on intel Multi-Core processors'
> 
> Save and exit
> 
>  
> 
> When I try to compile the kernel with 'Make'  , the compilation finishes on:
> 
> CC      kernel/xenomai/nucleus/pod.o
> In file included from /usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/switch.h:2:0,
>                  from /usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod_32.h:27,
>                  from /usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod.h:2,
>                  from kernel/xenomai/nucleus/pod.c:47:
> /usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/switch_32.h:30:2: attention : #warning "Buffer overflow detection not supported in 32bit mode" [-Wcpp]
> /usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/switch_32.h:31:2: erreur: #error "Disable CONFIG_CC_STACKPROTECTOR in your kernel configuration"
> make[3]: *** [kernel/xenomai/nucleus/pod.o] Erreur 1
> make[2]: *** [kernel/xenomai/nucleus] Erreur 2
> make[1]: *** [kernel/xenomai] Erreur 2
> make: *** [kernel] Erreur 2

Then do as the message says, disable "CONFIG_CC_STACKPROTECTOR" in the
kernel configuration. But are you sure you want to compile a 32 bits
kernel, not a 64 bits one?

-- 
                                                                Gilles.


  reply	other threads:[~2011-12-28 11:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27 16:56 [Xenomai-help] problem following 'xenomai quick build guide' Gregory Gosse
2011-12-27 16:58 ` Gilles Chanteperdrix
2011-12-27 17:15   ` Gregory Gosse
2011-12-28  9:17   ` Gregory Gosse
2011-12-28  9:30     ` Philippe Gerum
2011-12-28  9:47       ` Gregory Gosse
2011-12-28 11:44       ` Gregory Gosse
2011-12-28 11:58         ` Gilles Chanteperdrix [this message]
2011-12-28 12:28           ` Gregory Gosse
2011-12-28 12:36             ` Gilles Chanteperdrix
2011-12-28 16:50               ` Gregory Gosse
2011-12-28 17:03                 ` Gilles Chanteperdrix
2011-12-29 14:04                   ` Gregory Gosse
2011-12-29 14:12                     ` Gilles Chanteperdrix
2011-12-29 14:45                       ` Gregory Gosse
2011-12-29 14:52                         ` Gilles Chanteperdrix
2011-12-29 15:13                           ` Gregory Gosse
2011-12-28 17:03               ` [Xenomai-help] TR: " Gregory Gosse

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=4EFB0456.9010409@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=gregory.gosse@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.