On 22/04/13 16:26, Sid Boyce wrote:
On 22/04/13 15:00, Guillaume Gardet wrote:
Le 22/04/2013 15:51, Sid Boyce a écrit :
On 22/04/13 13:42, Guillaume Gardet wrote:
Le 22/04/2013 14:21, Sid Boyce a écrit :
On 22/04/13 08:51, Guillaume Gardet wrote:
Hi,
Le 20/04/2013 08:35, Sid Boyce a écrit : > ODROID-X:/media/1/ghpsdr3-alex # ./configure CFLAGS='-O2 -pipe > -mfpu=neon -fno-tree-vectorize -fopenmp' CXXFLAGS='-O2 -pipe > -mfpu=neon -fno-tree-vectorize -fopenmp' > Attached text file of the errors. > > All the header files are present and it compiles fine on x86_64 > openSUSE, Ubuntu and Ubuntu 12.10 from hardkernel.com. > Regards > Sid. >
Check the config.log file to see why it cannot be compiled.
Guillaume
Many of the following "CPU does not support ARM mode" errors in config.log.
Try to remove/change flags.
I think -march option should be armv7-a and not armv7 only. You can also try to add -mcpu=cortex-A9.
Guillaume
ODROID-X:/media/1/ghpsdr3-alex # ./configure CFLAGS='march=armv7-a -O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp' CXXFLAGS='march=armv7-a -O3 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp'
it is not march=* but -march=* (with a dash).
Guillaume
.
I did all the various commands, -march=armv7/armv7-a/armv7l/armv7hl and -mpcu=cortex-a9 (with the "-") and also ./configure without any options configure:15962: result: no configure:15972: checking for library containing fftwf_malloc configure:16003: gcc -o conftest -O3 -pipe -march=armv7 -mfpu=neon -fno-tree-vectorize -fopenmp conftest.c >&5 conftest.c:1:0: error: target CPU does not support ARM mode =========================
Switching back to Ubuntu linaro 12.11 and checking the config.log to see if there is a difference apart from their system is armhf. Regards Sid.
From Ubuntu with ./configure CFLAGS='-O3 -pipe -mfpu=neon -fno-tree-vectorize -flto -fopenmp' CXXFLAGS='-O3 -pipe -mfpu=neon -fno-tree-vectorize -flto -fopenmp' ============================================================= build: armv7l-unknown-linux-gnueabihf build vendor: unknown build os: linux-gnueabihf build cpu: armv7l host: armv7l-unknown-linux-gnueabihf host cpu: armv7l host vendor: unknown host os: linux-gnueabihf target: armv7l-unknown-linux-gnueabihf target cpu: armv7l target vendor: unknown target os: linux-gnueabihf Compiler options in use: The following options are target specific: -mabi= -mabort-on-noreturn [disabled] -mandroid [disabled] -mapcs [disabled] -mapcs-float [disabled] -mapcs-frame [disabled] -mapcs-reentrant [disabled] -mapcs-stack-check [disabled] -march= armv7-a -marm [disabled] -mbig-endian [disabled] -mbionic [disabled] -mcallee-super-interworking [disabled] -mcaller-super-interworking [disabled] -mcirrus-fix-invalid-insns [disabled] -mcpu= -mfix-cortex-m3-ldrd [enabled] -mfloat-abi= hard -mfp16-format= -mfp= -mfpe [disabled] -mfpe= -mfpu= vfpv3-d16 -mglibc [enabled] -mhard-float [disabled] -mlittle-endian [enabled] -mlong-calls [disabled] -mpic-register= -mpoke-function-name [disabled] -msched-prolog [enabled] -msingle-pic-base [disabled] -msoft-float [disabled] -mstructure-size-boundary= -mthumb [enabled] -mthumb-interwork [enabled] -mtp= -mtpcs-frame [disabled] -mtpcs-leaf-frame [disabled] -mtune= -muclibc [disabled] -munaligned-access [enabled] -mvectorize-with-neon-double [disabled] -mvectorize-with-neon-quad [enabled] -mword-relocations [disabled] -mwords-little-endian [disabled] Built and up and running on Ubuntu. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org