I’m running OSX 10.8.0, Xcode 4.4, latest updates; all background
dependencies are installed as both 32 and 64 bit, and includes “orc”.
Please let me know what tests I can run to get more/better info to help
correct this issue. - MLD
% clang --version
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM
3.1svn)
Target: x86_64-apple-darwin12.0.0
Thread model: posix
% gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.11.00)
% uname -a
Darwin mld-mbp-17.comcast.net 12.0.0 Darwin Kernel Version 12.0.0: Sun
Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
% cmake …/git
[snip]
– Compiler name: GNU
– x86* CPU detected
– GCC missing xgetbv, Overruled arch avx
– CPU width is 64 bits, Overruled arch 32
– Available architectures:
generic;altivec;neon;64;3dnow;abm;popcount;mmx;sse;sse2;orc;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2
– Available machines:
generic_orc;neon_orc;sse2_64_mmx_orc;sse3_64_orc;ssse3_64_orc;sse4_a_64_orc;sse4_1_64_orc;sse4_2_64_orc;altivec
– Using install prefix: /usr/local
[snip]
% make VERBOSE=on
[snip]
/opt/local/bin/cmake -H/opt/GNURadio/source/git
-B/opt/GNURadio/source/builds/10.8 --check-build-system
CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start
/opt/GNURadio/source/builds/10.8/CMakeFiles
/opt/GNURadio/source/builds/10.8/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f volk/lib/CMakeFiles/volk.dir/build.make
volk/lib/CMakeFiles/volk.dir/depend
cd /opt/GNURadio/source/builds/10.8 && /opt/local/bin/cmake -E
cmake_depends “Unix Makefiles” /opt/GNURadio/source/git
/opt/GNURadio/source/git/volk/lib /opt/GNURadio/source/builds/10.8
/opt/GNURadio/source/builds/10.8/volk/lib
/opt/GNURadio/source/builds/10.8/volk/lib/CMakeFiles/volk.dir/DependInfo.cmake
–color=
make -f volk/lib/CMakeFiles/volk.dir/build.make
volk/lib/CMakeFiles/volk.dir/build
/opt/local/bin/cmake -E cmake_progress_report
/opt/GNURadio/source/builds/10.8/CMakeFiles
[ 0%] Building C object
volk/lib/CMakeFiles/volk.dir/volk_machine_neon_orc.c.o
cd /opt/GNURadio/source/builds/10.8/volk/lib && /usr/bin/gcc
-Dvolk_EXPORTS -DHAVE_FENV_H -DHAVE_DLFCN_H -O3 -DNDEBUG -fPIC
-I/opt/GNURadio/source/builds/10.8/volk/include
-I/opt/GNURadio/source/git/volk/include
-I/opt/GNURadio/source/builds/10.8/volk/lib
-I/opt/GNURadio/source/git/volk/lib -I/opt/local/include/orc-0.4
-I/opt/local/include -fvisibility=hidden -mfpu=neon
-mfloat-abi=softfp -funsafe-math-optimizations -o
CMakeFiles/volk.dir/volk_machine_neon_orc.c.o -c
/opt/GNURadio/source/builds/10.8/volk/lib/volk_machine_neon_orc.c
cc1: error: unrecognized command line option “-mfpu=neon”
cc1: error: unrecognized command line option “-mfloat-abi=softfp”
make[2]: *** [volk/lib/CMakeFiles/volk.dir/volk_machine_neon_orc.c.o]
Error 1
make[1]: *** [volk/lib/CMakeFiles/volk.dir/all] Error 2
make: *** [all] Error 2
I’m running OSX 10.8.0, Xcode 4.4, latest updates; all background
dependencies are installed as both 32 and 64 bit, and includes “orc”.
Please let me know what tests I can run to get more/better info to
help correct this issue. - MLD
% /usr/bin/gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.11.00)
So, I think CMake is getting confused by the different compiler names.
“/usr/bin/g++” does indeed link to GCC, while “/usr/bin/cc” links to
clang, if that helps.
I also forgot to mention that this was using the latest GIT master for
GNU Radio, and UHD is installed and seems to work w/o modification. -
MLD
% /usr/bin/gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2336.11.00)
So, I think CMake is getting confused by the different compiler names.
“/usr/bin/g++” does indeed link to GCC, while “/usr/bin/cc” links to clang, if
that helps.
I also forgot to mention that this was using the latest GIT master for GNU
Radio, and UHD is installed and seems to work w/o modification. - MLD
There should be a print out in the configure verbose, can you attach it?
set(COMPILER_NAME ${CMAKE_C_COMPILER_ID})
if(MSVC) #its not set otherwise
set(COMPILER_NAME MSVC)
endif()
% uname -a
– Using install prefix: /usr/local
/opt/local/bin/cmake -E cmake_progress_report
/opt/GNURadio/source/builds/10.8/CMakeFiles
Discuss-gnuradio mailing list [email protected] Discuss-gnuradio Info Page
I’m having this issue now. How did you get it working?
Josh checked some change(s) in, and it/they seem/s to work. I haven’t
looked further, since GNU Radio compiles for me on 10.8 now (10.8.1,
XCode 4.4.1). “make test” works again on everything except UDP, but I
have tried none of the examples or my own code yet. Sorry I cannot be
more precise. If you’re still having issues after Josh’s latest, send
me an email off-list and I’ll try to help you work it out. - MLD