>
> #
> # extra toolchain options
> #
> PTXCONF_TARGET_EXTRA_CPPFLAGS="-march=armv4t -mtune=arm920t"
> PTXCONF_TARGET_EXTRA_CFLAGS="-march=armv4t -mtune=arm920t"
> PTXCONF_TARGET_EXTRA_CXXFLAGS="-march=armv4t -mtune=arm920t"
> PTXCONF_TARGET_EXTRA_LDFLAGS="-march=armv4t -mtune=arm920t"
These PTXCONF_TARGET_EXTRA_* flags are not honored by all packages PTXdist
builds. That is why we are using toolchains with correct default settings. So,
if your toolchain generates code for an ARMv5 on default, your root filesystem
*must* fail.
What are the default settings of your toolchain? Mine here are:
$ touch test.c
$ arm-v4t-linux-gnueabi-gcc test.c -S -fverbose-asm
$ less test.s
.arch armv4t
.fpu softvfp
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 18, 4
.file "test.c"
@ GNU C (OSELAS.Toolchain-2011.03.0) version 4.5.2 (arm-v4t-linux-gnueabi)
@ compiled by GNU C version 4.4.3, GMP version 5.0.1, MPFR version 3.0.0,
MPC version 0.8.2
@ GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128213
@ options passed: test.c -march=armv4t -mfloat-abi=soft -mfpu=vfp
@ -fverbose-asm
@ options enabled: -falign-loops -fargument-alias -fauto-inc-dec
@ -fbranch-count-reg -fcommon -fdelete-null-pointer-checks -fdwarf2-cfi-asm
@ -fearly-inlining -feliminate-unused-debug-types -ffunction-cse -fgcse-lm
@ -fident -finline-functions-called-once -fira-share-save-slots
@ -fira-share-spill-slots -fivopts -fkeep-static-consts
@ -fleading-underscore -fmath-errno -fmerge-debug-strings
@ -fmove-loop-invariants -fpeephole -freg-struct-return
@ -fsched-critical-path-heuristic -fsched-dep-count-heuristic
@ -fsched-group-heuristic -fsched-interblock -fsched-last-insn-heuristic
@ -fsched-rank-heuristic -fsched-spec -fsched-spec-insn-heuristic
@ -fsched-stalled-insns-dep -fshow-column -fsigned-zeros
@ -fsplit-ivs-in-unroller -ftrapping-math -ftree-cselim -ftree-forwprop
@ -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize
@ -ftree-parallelize-loops= -ftree-phiprop -ftree-pta -ftree-reassoc
@ -ftree-scev-cprop -ftree-slp-vectorize -ftree-vect-loop-version
@ -funit-at-a-time -fverbose-asm -fzero-initialized-in-bss -mglibc
@ -mlittle-endian -msched-prolog -mthumb-interwork
Regards,Juergen Hello Juergen, Here are my settings, it is set for armv5te by
default. muntaqa@muntaqa-laptop:~$ cat test.s
.arch armv5te
.fpu softvfp
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 18, 4
.file "test.c"
@ GNU C (Sourcery G++ Lite 2011.03-41) version 4.5.2 (arm-none-linux-gnueabi)
@ compiled by GNU C version 4.3.2, GMP version 4.3.2, MPFR version 2.4.2,
MPC version 0.8.1
@ GGC heuristics: --param ggc-min-expand=79 --param ggc-min-heapsize=93176
@ options passed: -iprefix
@ /home/muntaqa/SourceryARMLinux/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/
@ -isysroot
@ /home/muntaqa/SourceryARMLinux/bin/../arm-none-linux-gnueabi/libc
@ -D__CS_SOURCERYGXX_MAJ__=2011 -D__CS_SOURCERYGXX_MIN__=3
@ -D__CS_SOURCERYGXX_REV__=41 test.c -march=armv5te -fverbose-asm
@ -funwind-tables
@ options enabled: -falign-loops -fargument-alias -fauto-inc-dec
@ -fbranch-count-reg -fcommon -fdelete-null-pointer-checks -fdwarf2-cfi-asm
@ -fearly-inlining -feliminate-unused-debug-types -ffunction-cse -fgcse-lm
@ -fident -finline-functions-called-once -fira-share-save-slots
@ -fira-share-spill-slots -fivopts -fkeep-static-consts
@ -fleading-underscore -fmath-errno -fmerge-debug-strings
@ -fmove-loop-invariants -fpeephole -fpromote-loop-indices
@ -freg-struct-return -fsched-critical-path-heuristic
@ -fsched-dep-count-heuristic -fsched-group-heuristic -fsched-interblock
@ -fsched-last-insn-heuristic -fsched-rank-heuristic -fsched-spec
@ -fsched-spec-insn-heuristic -fsched-stalled-insns-dep -fshow-column
@ -fsigned-zeros -fsplit-ivs-in-unroller -fstrict-volatile-bitfields
@ -ftrapping-math -ftree-cselim -ftree-forwprop -ftree-loop-im
@ -ftree-loop-ivcanon -ftree-loop-optimize -ftree-parallelize-loops=
@ -ftree-phiprop -ftree-pta -ftree-reassoc -ftree-scev-cprop
@ -ftree-slp-vectorize -ftree-vect-loop-version -funit-at-a-time
@ -funwind-tables -fverbose-asm -fzero-initialized-in-bss -mglibc
@ -mlittle-endian -msched-prolog
@ Compiler executable checksum: 87988fcd2ba0c37b722c5e8181f5588b
.ident "GCC: (Sourcery G++ Lite 2011.03-41) 4.5.2"
.section .note.GNU-stack,"",%progbits
muntaqa@muntaqa-laptop:~$
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
____________________________________________________________
53 Year Old Mom Looks 33
The Stunning Results of Her Wrinkle Trick Has Botox Doctors Worried
http://thirdpartyoffers.juno.com/TGL3131/4ec49e5a9d8a41367acst02vuc