diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-07 00:42:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-07 00:42:46 +0000 |
commit | 20ff4c56d20fe8c22d6ac44c02efd1252b32ade6 (patch) | |
tree | 28d4728e399766430449fb2a7b365465d74897c7 /nuttx | |
parent | 8285ffad2245a53de14c65913b00dab5568f0afc (diff) | |
download | px4-nuttx-20ff4c56d20fe8c22d6ac44c02efd1252b32ade6.tar.gz px4-nuttx-20ff4c56d20fe8c22d6ac44c02efd1252b32ade6.tar.bz2 px4-nuttx-20ff4c56d20fe8c22d6ac44c02efd1252b32ade6.zip |
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
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/configs/qemu-i486/README.txt | 6 | ||||
-rw-r--r-- | nuttx/configs/qemu-i486/nsh/Make.defs | 1 | ||||
-rw-r--r-- | nuttx/configs/qemu-i486/ostest/Make.defs | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/configs/qemu-i486/README.txt b/nuttx/configs/qemu-i486/README.txt index 906591534..254f8a131 100644 --- a/nuttx/configs/qemu-i486/README.txt +++ b/nuttx/configs/qemu-i486/README.txt @@ -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 ============== diff --git a/nuttx/configs/qemu-i486/nsh/Make.defs b/nuttx/configs/qemu-i486/nsh/Make.defs index 8a30d09fd..d18c80293 100644 --- a/nuttx/configs/qemu-i486/nsh/Make.defs +++ b/nuttx/configs/qemu-i486/nsh/Make.defs @@ -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 = diff --git a/nuttx/configs/qemu-i486/ostest/Make.defs b/nuttx/configs/qemu-i486/ostest/Make.defs index 4cd8f5774..5851427e6 100644 --- a/nuttx/configs/qemu-i486/ostest/Make.defs +++ b/nuttx/configs/qemu-i486/ostest/Make.defs @@ -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 = |