m9s12x toolchain Ubuntu 9.10 build fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3476 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
1052df925b
commit
64d40b2993
@ -137,7 +137,11 @@ FAQ
|
||||
===
|
||||
|
||||
Q: I get the following error message, "undefined reference to '__stack_chk_fail'"
|
||||
A: Add -fno-stack-protector to ARCHCPUFLAGS in you Make.defs file.
|
||||
A: Add -fno-stack-protector to ARCHCPUFLAGS in you Make.defs file. Switch the
|
||||
commenting on the following two lines in the Make.defs file:
|
||||
|
||||
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin
|
||||
#ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin -fno-stack-protector
|
||||
|
||||
Configurations
|
||||
==============
|
||||
|
@ -61,6 +61,7 @@ else
|
||||
endif
|
||||
|
||||
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin
|
||||
#ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin -fno-stack-protector
|
||||
ARCHPICFLAGS = -fpic
|
||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
|
||||
ARCHDEFINES =
|
||||
|
@ -61,6 +61,7 @@ else
|
||||
endif
|
||||
|
||||
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin
|
||||
#ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin -fno-stack-protector
|
||||
ARCHPICFLAGS = -fpic
|
||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
|
||||
ARCHDEFINES =
|
||||
|
Loading…
Reference in New Issue
Block a user