All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Xenomai 2.6.1 compiler error
@ 2012-07-16  9:16 Jignesh Patel
  2012-07-16 15:53 ` Francois Touchard
  0 siblings, 1 reply; 3+ messages in thread
From: Jignesh Patel @ 2012-07-16  9:16 UTC (permalink / raw)
  To: xenomai; +Cc: rgupta108, patelilesh32

hi,

I'm trying to compile Xenomai 2.6.1 with kernel 3.2.21 that time it generate following error... 


CC      kernel/xenomai/nucleus/heap.o
 CC    
  kernel/xenomai/nucleus/intr.o
 CC      kernel/xenomai/nucleus/pod.o
In
 file included from /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/switch.h:2:0,
                from /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/bits/pod_32.h:27,
                from /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/bits/pod.h:2,
                from kernel/xenomai/nucleus/pod.c:47:
/usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/switch_32.h:30:2: warning: #warning "Buffer overflow detection not supported in 32bit 
mode" [-Wcpp]
/usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/switch_32.h:31:2: error: #error "Disable CONFIG_CC_STACKPROTECTOR in your kernel 
configuration"
make[3]: * [kernel/xenomai/nucleus/pod.o] 
Error 1
make[2]: * [kernel/xenomai/nucleus] Error 2
make[1]: * [kernel/xenomai] Error 2
make: * [kernel] Error 2


how i can enable CONFIG_CC_STACKPROTECTOR in my kernel configuration???


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] Xenomai 2.6.1 compiler error
  2012-07-16  9:16 [Xenomai] Xenomai 2.6.1 compiler error Jignesh Patel
@ 2012-07-16 15:53 ` Francois Touchard
  0 siblings, 0 replies; 3+ messages in thread
From: Francois Touchard @ 2012-07-16 15:53 UTC (permalink / raw)
  To: Jignesh Patel; +Cc: rgupta108, patelilesh32, xenomai

  Le 16/07/2012 11:16, Jignesh Patel a écrit :
> hi,
>
> I'm trying to compile Xenomai 2.6.1 with kernel 3.2.21 that time it generate following error...
>
>
> CC      kernel/xenomai/nucleus/heap.o
>   CC    
>    kernel/xenomai/nucleus/intr.o
>   CC      kernel/xenomai/nucleus/pod.o
> In
>   file included from /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/switch.h:2:0,
>                  from /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/bits/pod_32.h:27,
>                  from /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/bits/pod.h:2,
>                  from kernel/xenomai/nucleus/pod.c:47:
> /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/switch_32.h:30:2: warning: #warning "Buffer overflow detection not supported in 32bit
> mode" [-Wcpp]
> /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/switch_32.h:31:2: error: #error "Disable CONFIG_CC_STACKPROTECTOR in your kernel
> configuration"
> make[3]: * [kernel/xenomai/nucleus/pod.o]
> Error 1
> make[2]: * [kernel/xenomai/nucleus] Error 2
> make[1]: * [kernel/xenomai] Error 2
> make: * [kernel] Error 2
>
>
> how i can enable CONFIG_CC_STACKPROTECTOR in my kernel configuration???
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai
while in menuconfig:

Processor type and features
    Enable -fstack-protector buffer overflow detection

and *disable* the option

Remember that typing  "/ STACKPROTECTOR" (or any symbol) will give you 
the path in the menu

-- 
François TOUCHARD
mailto:francois.touchard@in2p3.fr
Polytech Marseille/CPPM
http://francois.touchard.perso.luminy.univmed.fr/




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] Xenomai 2.6.1 compiler error
@ 2012-07-16 20:13 everteq
  0 siblings, 0 replies; 3+ messages in thread
From: everteq @ 2012-07-16 20:13 UTC (permalink / raw)
  To: jigneshj.patel, xenomai; +Cc: rgupta108, patelilesh32

do it use make menuconfig
find it under processor selections

Sent from my HTC

----- Reply message -----
From: "Jignesh Patel" <jigneshj.patel@yahoo.com>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Cc: "rgupta108@gmail.com" <rgupta108@gmail.com>, "patelilesh32@gmail.com" <patelilesh32@gmail.com>
Subject: [Xenomai] Xenomai 2.6.1 compiler error
Date: Mon, Jul 16, 2012 02:16


hi,

I'm trying to compile Xenomai 2.6.1 with kernel 3.2.21 that time it generate following error... 


CC      kernel/xenomai/nucleus/heap.o
 CC    
  kernel/xenomai/nucleus/intr.o
 CC      kernel/xenomai/nucleus/pod.o
In
 file included from /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/switch.h:2:0,
                from /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/bits/pod_32.h:27,
                from /usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/bits/pod.h:2,
                from kernel/xenomai/nucleus/pod.c:47:
/usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/switch_32.h:30:2: warning: #warning "Buffer overflow detection not supported in 32bit 
mode" [-Wcpp]
/usr/src/linux-3.2.21/arch/x86/include/asm/xenomai/switch_32.h:31:2: error: #error "Disable CONFIG_CC_STACKPROTECTOR in your kernel 
configuration"
make[3]: * [kernel/xenomai/nucleus/pod.o] 
Error 1
make[2]: * [kernel/xenomai/nucleus] Error 2
make[1]: * [kernel/xenomai] Error 2
make: * [kernel] Error 2


how i can enable CONFIG_CC_STACKPROTECTOR in my kernel configuration???
_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-16 20:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-16  9:16 [Xenomai] Xenomai 2.6.1 compiler error Jignesh Patel
2012-07-16 15:53 ` Francois Touchard
2012-07-16 20:13 everteq

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.