R: Re: Error building xenomai 2.5.5.1 on kubuntu 10.10 64 bit
Quoted 6 lines · [email protected] 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?
include/asm-x86/wrappers_64.h +4 -0
@@ -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
Signature · 1 line
Gilles.
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 <[email protected]>
Quoted 39 lines
Quoted 6 lines · [email protected] 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_STACKPROTECTORin ourx86_84build test and that we got caught. Could you try the following patch?include/asm-x86/wrappers_64.h +4
-0@@ -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
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Quoted 7 lines · Cyril Wallois
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 withCONFIG_CC_STACKPROTECTORdisable.Is it the same "problem" (apparently not)?
Nope.
Signature · 1 line
Gilles.
Quoted 7 lines · Cyril Wallois
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 withCONFIG_CC_STACKPROTECTORdisable.Is it the same "problem" (apparently not)?
Different issue. Xenomai does not support stack protection on x86_32.
Quoted 56 lines
Regards,
Cyril
2010/10/19 Gilles Chanteperdrix <[email protected]>
[email protected] 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 [email protected] https://mail.gna.org/listinfo/xenomai-help_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.