[opensuse-arm] Header files problem
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. -- 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
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 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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. | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pthread_create (); | int | main () | { | return pthread_create (); | ; | return 0; | } configure:15904: result: no configure:15914: checking for library containing Pa_Initialize configure:15945: 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 configure:15945: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ghpsdr3" | #define PACKAGE_TARNAME "ghpsdr3" | #define PACKAGE_VERSION "iw0hdv" | #define PACKAGE_STRING "ghpsdr3 iw0hdv" | #define PACKAGE_BUGREPORT "andrew att montefusco dott com" | #define PACKAGE_URL "" | #define PACKAGE "ghpsdr3" | #define VERSION "iw0hdv" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char Pa_Initialize (); | int | main () | { | return Pa_Initialize (); | ; | return 0; | } configure:15945: gcc -o conftest -O3 -pipe -march=armv7 -mfpu=neon -fno-tree-vectorize -fopenmp conftest.c -lportaudio >&5 conftest.c:1:0: error: target CPU does not support ARM mode configure:15945: $? = 1 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
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 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
FYI, I've done some tests on signal processing software and those flags don't make a measurable difference for the programs I benchmarked. This page has a wordy explanation why they make little difference unless the code is written for neon. http://wiki.debian.org/ArmHardFloatPort/VfpComparison I believe gnuradio had some issue where I had to set the flag to use hardware floating point else the code wouldn't compile. It had something to do with how cmake set the flags. Sent via BlackBerry from T-Mobile -----Original Message----- From: Guillaume Gardet <guillaume.gardet@free.fr> Date: Mon, 22 Apr 2013 14:42:51 To: <sboyce@blueyonder.co.uk> Reply-To: guillaume.gardet@free.fr Cc: <opensuse-arm@opensuse.org> Subject: Re: [opensuse-arm] Header files problem 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 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 22/04/13 14:38, lists@lazygranch.com wrote:
FYI, I've done some tests on signal processing software and those flags don't make a measurable difference for the programs I benchmarked.
This page has a wordy explanation why they make little difference unless the code is written for neon. http://wiki.debian.org/ArmHardFloatPort/VfpComparison
I believe gnuradio had some issue where I had to set the flag to use hardware floating point else the code wouldn't compile. It had something to do with how cmake set the flags.
Sent via BlackBerry from T-Mobile
-----Original Message----- From: Guillaume Gardet <guillaume.gardet@free.fr> Date: Mon, 22 Apr 2013 14:42:51 To: <sboyce@blueyonder.co.uk> Reply-To: guillaume.gardet@free.fr Cc: <opensuse-arm@opensuse.org> Subject: Re: [opensuse-arm] Header files problem
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
Something is quite different with openSUSE ARM as the code compiles cleanly under Ubuntu linaro 12.11. ODROID-X:/media/1/ghpsdr3-alex # ./configure CFLAGS='mcpu=cortex-A9 -O3 -pipe -fno-tree-vectorize -fopenmp' CXXFLAGS='mcpu=cortex-A9 -O3 -pipe -fno-tree-vectorize -fopenmp' configure: loading site script /usr/share/site/armv7l-unknown-linux-gnueabihf checking build system type... armv7l-suse-linux-gnueabihf checking host system type... armv7l-suse-linux-gnueabihf checking target system type... armv7l-suse-linux-gnueabihf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... no configure: error: in `/media/1/ghpsdr3-alex': configure: error: C++ compiler cannot create executables See `config.log' for more details I'll check config.log later. 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
Le 22/04/2013 15:59, Sid Boyce a écrit :
On 22/04/13 14:38, lists@lazygranch.com wrote:
FYI, I've done some tests on signal processing software and those flags don't make a measurable difference for the programs I benchmarked.
This page has a wordy explanation why they make little difference unless the code is written for neon. http://wiki.debian.org/ArmHardFloatPort/VfpComparison
I believe gnuradio had some issue where I had to set the flag to use hardware floating point else the code wouldn't compile. It had something to do with how cmake set the flags. Sent via BlackBerry from T-Mobile
-----Original Message----- From: Guillaume Gardet <guillaume.gardet@free.fr> Date: Mon, 22 Apr 2013 14:42:51 To: <sboyce@blueyonder.co.uk> Reply-To: guillaume.gardet@free.fr Cc: <opensuse-arm@opensuse.org> Subject: Re: [opensuse-arm] Header files problem
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
Something is quite different with openSUSE ARM as the code compiles cleanly under Ubuntu linaro 12.11.
ODROID-X:/media/1/ghpsdr3-alex # ./configure CFLAGS='mcpu=cortex-A9 -O3 -pipe -fno-tree-vectorize -fopenmp' CXXFLAGS='mcpu=cortex-A9 -O3 -pipe -fno-tree-vectorize -fopenmp'
dash - missing before mcpu Guillaume
configure: loading site script /usr/share/site/armv7l-unknown-linux-gnueabihf checking build system type... armv7l-suse-linux-gnueabihf checking host system type... armv7l-suse-linux-gnueabihf checking target system type... armv7l-suse-linux-gnueabihf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... no configure: error: in `/media/1/ghpsdr3-alex': configure: error: C++ compiler cannot create executables See `config.log' for more details
I'll check config.log later. Regards Sid.
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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' configure: loading site script /usr/share/site/armv7l-unknown-linux-gnueabihf checking build system type... armv7l-suse-linux-gnueabihf checking host system type... armv7l-suse-linux-gnueabihf checking target system type... armv7l-suse-linux-gnueabihf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... no configure: error: in `/media/1/ghpsdr3-alex': configure: error: C++ compiler cannot create executables See `config.log' for more details I'll check config.log later. 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
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 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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
.
./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' From config.log ============ configure:15521: result: ${prefix}/lib/python2.7/site-packages configure:15530: checking for python extension module directory configure:15558: result: ${exec_prefix}/lib/python2.7/site-packages configure:15760: Platform: ARM 7 configure:15766: -O3 -pipe -march=armv7 -mfpu=neon -fno-tree-vectorize -fopenmp configure:15768: -O3 -pipe -march=armv7 -mfpu=neon -fno-tree-vectorize -fopenmp configure:15798: checking for library containing round configure:15829: 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 ------------------------------------------------------------------------------------------------------------------- NEXT --- cortex-a9 =============== It was created by ghpsdr3 configure iw0hdv, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure CFLAGS=-mcpu=cortex-a9 -O3 -pipe -fno-tree-vectorize -fopenmp CXXFLAGS=-mcpu=cortex-a9 -O3 -pipe -fno-tree-vectorize -fopenmp ## --------- ## ## Platform. ## ## --------- ## hostname = ODROID-X.site uname -m = armv7l uname -r = 3.6.6 uname -s = Linux uname -v = #8 SMP PREEMPT Sun Nov 11 12:43:43 EST 2012 /usr/bin/uname -p = armv7l /bin/uname -X = unknown /bin/arch = armv7l /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /opt/qt5/qtbase/bin PATH: /usr/lib/mpi/gcc/openmpi/bin PATH: /sbin PATH: /usr/sbin PATH: /usr/local/sbin PATH: /root/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/bin/X11 PATH: /usr/X11R6/bin PATH: /usr/games PATH: /usr/local/mybin PATH: /usr/local/bin PATH: /usr/lib/java/jre/bin PATH: /opt/netbeans/bin Header files problem again ================= checking sys/ioctl.h presence... yes configure: WARNING: sys/ioctl.h: present but cannot be compiled configure: WARNING: sys/ioctl.h: check for missing prerequisite headers? configure: WARNING: sys/ioctl.h: see the Autoconf documentation configure: WARNING: sys/ioctl.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/ioctl.h: proceeding with the compiler's result configure: WARNING: ## --------------------------------------------- ## configure: WARNING: ## Report this to andrew att montefusco dott com ## configure: WARNING: ## --------------------------------------------- ## etc., etc. From config.log ----------------------- | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pthread_create (); | int | main () | { | return pthread_create (); | ; | return 0; | } configure:15887: gcc -o conftest -O3 -pipe -march=armv7 -mfpu=neon -fno-tree-vectorize -fopenmp conftest.c -lpthread >&5 conftest.c:1:0: error: target CPU does not support ARM mode configure:15887: $? = 1 configure: failed program was: ---------------------------------------------------------------------------------------------------------------------------------- ODROID-X:/media/1/ghpsdr3-alex # uname -a Linux ODROID-X.site 3.6.6 #8 SMP PREEMPT Sun Nov 11 12:43:43 EST 2012 armv7l armv7l armv7l GNU/Linux I cloned a fresh repository "autoreconf -i && ./configure" without options. configure:15829: gcc -o conftest -O3 -pipe -march=armv7 -mfpu=neon -fno-tree-vectorize -fopenmp conftest.c -lm >&5 conftest.c:1:0: error: target CPU does not support ARM mode configure:15829: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ghpsdr3" | #define PACKAGE_TARNAME "ghpsdr3" | #define PACKAGE_VERSION "iw0hdv" | #define PACKAGE_STRING "ghpsdr3 iw0hdv" | #define PACKAGE_BUGREPORT "andrew att montefusco dott com" | #define PACKAGE_URL "" | #define PACKAGE "ghpsdr3" | #define VERSION "iw0hdv" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char round (); | int | main () | { | return round (); | ; | return 0; | } configure:15846: result: no configure:15856: checking for library containing pthread_create configure:15887: 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 ======================== I am switching back to Ubuntu linaro 12.11 to see if I can spot a difference in config.log other than it's armv7hf. 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
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. -- 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
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
participants (3)
-
Guillaume Gardet
-
lists@lazygranch.com
-
Sid Boyce