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
bd12973b36
commit
ddd3738720
@ -137,7 +137,11 @@ FAQ
|
|||||||
===
|
===
|
||||||
|
|
||||||
Q: I get the following error message, "undefined reference to '__stack_chk_fail'"
|
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
|
Configurations
|
||||||
==============
|
==============
|
||||||
|
@ -61,6 +61,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin
|
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin
|
||||||
|
#ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin -fno-stack-protector
|
||||||
ARCHPICFLAGS = -fpic
|
ARCHPICFLAGS = -fpic
|
||||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
|
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
|
||||||
ARCHDEFINES =
|
ARCHDEFINES =
|
||||||
|
@ -61,6 +61,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin
|
ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin
|
||||||
|
#ARCHCPUFLAGS = -march=i486 -mtune=i486 -fno-builtin -fno-stack-protector
|
||||||
ARCHPICFLAGS = -fpic
|
ARCHPICFLAGS = -fpic
|
||||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
|
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
|
||||||
ARCHDEFINES =
|
ARCHDEFINES =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user