* Re: [Xenomai-help] R: Re: Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit [not found] <30575170.2609951287430146052.JavaMail.defaultUser@domain.hid> @ 2010-10-18 22:02 ` Gilles Chanteperdrix 2010-10-18 22:55 ` Cyril Wallois 0 siblings, 1 reply; 4+ messages in thread From: Gilles Chanteperdrix @ 2010-10-18 22:02 UTC (permalink / raw) To: gprizzi@domain.hid; +Cc: Xenomai help gprizzi@domain.hid wrote: > > Here below you can find my .config file. > > What have I missed? > > Thank you for your support. The problem is that we do not enable CONFIG_CC_STACKPROTECTOR in our x86_84 build test and that we got caught. Could you try the following patch? diff --git a/include/asm-x86/wrappers_64.h b/include/asm-x86/wrappers_64.h index a61f6ba..0d04b9c 100644 --- a/include/asm-x86/wrappers_64.h +++ b/include/asm-x86/wrappers_64.h @@ -78,4 +78,8 @@ typedef union thread_xstate x86_fpustate; #define x86_fpustate_ptr(t) ((t)->fpu.state) #endif +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34) +#define per_cpu_var(var) (var) +#endif /* Linux >= 2.6.34 */ + #endif /* _XENO_ASM_X86_WRAPPERS_64_H */ Also note that the configuration you posted is not suitable for running Linux with Xenomai, please have a look at this page: http://www.xenomai.org/index.php/Configuring_x86_kernels -- Gilles. ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] R: Re: Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit 2010-10-18 22:02 ` [Xenomai-help] R: Re: Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit Gilles Chanteperdrix @ 2010-10-18 22:55 ` Cyril Wallois 2010-10-18 22:59 ` Gilles Chanteperdrix 2010-10-19 7:00 ` Philippe Gerum 0 siblings, 2 replies; 4+ messages in thread From: Cyril Wallois @ 2010-10-18 22:55 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: Xenomai help, gprizzi@domain.hid [-- Attachment #1: Type: text/plain, Size: 1538 bytes --] Hi all, I'm trying to compile linux 2.6.35.7 on an x86 non 64 with Xenomai, and it return the advice to disable CONFIG_CC_STACKPROTECTOR (with an error). I'm now compiling with CONFIG_CC_STACKPROTECTOR disable. Is it the same "problem" (apparently not)? Regards, Cyril 2010/10/19 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > gprizzi@domain.hid wrote: > > > > Here below you can find my .config file. > > > > What have I missed? > > > > Thank you for your support. > > The problem is that we do not enable CONFIG_CC_STACKPROTECTOR in our > x86_84 build test and that we got caught. Could you try the following > patch? > > diff --git a/include/asm-x86/wrappers_64.h b/include/asm-x86/wrappers_64.h > index a61f6ba..0d04b9c 100644 > --- a/include/asm-x86/wrappers_64.h > +++ b/include/asm-x86/wrappers_64.h > @@ -78,4 +78,8 @@ typedef union thread_xstate x86_fpustate; > #define x86_fpustate_ptr(t) ((t)->fpu.state) > #endif > > +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34) > +#define per_cpu_var(var) (var) > +#endif /* Linux >= 2.6.34 */ > + > #endif /* _XENO_ASM_X86_WRAPPERS_64_H */ > > Also note that the configuration you posted is not suitable for running > Linux with Xenomai, please have a look at this page: > http://www.xenomai.org/index.php/Configuring_x86_kernels > > -- > Gilles. > > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help > [-- Attachment #2: Type: text/html, Size: 2377 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] R: Re: Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit 2010-10-18 22:55 ` Cyril Wallois @ 2010-10-18 22:59 ` Gilles Chanteperdrix 2010-10-19 7:00 ` Philippe Gerum 1 sibling, 0 replies; 4+ messages in thread From: Gilles Chanteperdrix @ 2010-10-18 22:59 UTC (permalink / raw) To: Cyril Wallois; +Cc: Xenomai help, gprizzi@domain.hid Cyril Wallois wrote: > Hi all, > > I'm trying to compile linux 2.6.35.7 on an x86 non 64 with Xenomai, and > it return the advice to disable CONFIG_CC_STACKPROTECTOR (with an > error). I'm now compiling with CONFIG_CC_STACKPROTECTOR disable. > > Is it the same "problem" (apparently not)? Nope. -- Gilles. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] R: Re: Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit 2010-10-18 22:55 ` Cyril Wallois 2010-10-18 22:59 ` Gilles Chanteperdrix @ 2010-10-19 7:00 ` Philippe Gerum 1 sibling, 0 replies; 4+ messages in thread From: Philippe Gerum @ 2010-10-19 7:00 UTC (permalink / raw) To: Cyril Wallois; +Cc: Xenomai help, gprizzi@domain.hid On Tue, 2010-10-19 at 00:55 +0200, Cyril Wallois wrote: > Hi all, > > I'm trying to compile linux 2.6.35.7 on an x86 non 64 with Xenomai, > and it return the advice to disable CONFIG_CC_STACKPROTECTOR (with an > error). I'm now compiling with CONFIG_CC_STACKPROTECTOR disable. > > Is it the same "problem" (apparently not)? Different issue. Xenomai does not support stack protection on x86_32. > > > Regards, > > Cyril > > 2010/10/19 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > gprizzi@domain.hid wrote: > > > > Here below you can find my .config file. > > > > What have I missed? > > > > Thank you for your support. > > The problem is that we do not enable CONFIG_CC_STACKPROTECTOR > in our > x86_84 build test and that we got caught. Could you try the > following patch? > > diff --git a/include/asm-x86/wrappers_64.h > b/include/asm-x86/wrappers_64.h > index a61f6ba..0d04b9c 100644 > --- a/include/asm-x86/wrappers_64.h > +++ b/include/asm-x86/wrappers_64.h > @@ -78,4 +78,8 @@ typedef union thread_xstate x86_fpustate; > #define x86_fpustate_ptr(t) ((t)->fpu.state) > #endif > > +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34) > +#define per_cpu_var(var) (var) > +#endif /* Linux >= 2.6.34 */ > + > #endif /* _XENO_ASM_X86_WRAPPERS_64_H */ > > Also note that the configuration you posted is not suitable > for running > Linux with Xenomai, please have a look at this page: > http://www.xenomai.org/index.php/Configuring_x86_kernels > > > -- > > Gilles. > > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help > > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help -- Philippe. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-19 7:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <30575170.2609951287430146052.JavaMail.defaultUser@domain.hid>
2010-10-18 22:02 ` [Xenomai-help] R: Re: Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit Gilles Chanteperdrix
2010-10-18 22:55 ` Cyril Wallois
2010-10-18 22:59 ` Gilles Chanteperdrix
2010-10-19 7:00 ` Philippe Gerum
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.