discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] building GNU Radio from tarball on Mac Os X with


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] building GNU Radio from tarball on Mac Os X with gcc-4.7
Date: Thu, 20 Jun 2013 21:14:29 -0400

Hi Arturo - You're getting further than I am :) .  I've just tried doing the 
build using MacPorts gcc-4.7 and gcc-4.6, with the 3.6.4.2 release as well as 
the latest maint and master branches.  Every one of them errors out as follows:

volk/lib/volk_cpu.c:54:no such instruction: `xgetbv'
make[2]: *** [volk/lib/CMakeFiles/volk.dir/volk_cpu.c.o] Error 1
make[1]: *** [volk/lib/CMakeFiles/volk.dir/all] Error 2
make: *** [all] Error 2

So, apparently these versions of GCC (4.6.4 and 4.7.3), at least on MacPorts, 
do not recognize the 'xgetbv' instruction.  We've had this issue in the past 
with OSX compilers, but obviously it has not been resolved.

Do you know how you got past this error?  Or, did you just not get it? - MLD

On Jun 19, 2013, at 5:52 PM, Arturo Rinaldi <address@hidden> wrote:

> i was wondering if i might be able to build the gnuradio tarball 
> (specifically the 3.6.4.2 version) on Mac Os X by using the gcc-4.7 compiler 
> installed with macports. I usually launch these commands from shell :
> 
> $ CC=gcc-mp-4.7 CXX=g++-mp-4.7 cmake 
> -DPYTHON_EXECUTABLE=/opt/local/bin/python 
> -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
>  
> -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
>  -DENABLE_BAD_BOOST=ON ../
> 
> $ make
> 
> but the building process breaks at 12% warning me about a tag error in the 
> swig directory.....maybe it concerns a doxygen issue. However since i need a 
> fully functional gnuradio installation I am now turning back to the 
> llvm-gcc-42 compiler so to take advantage of the volk cpu capabilities.
> 
> Has anyone ever succedeed in building the tarball with gcc-47 or gcc-46 ? 
> Please let me know.....



reply via email to

[Prev in Thread] Current Thread [Next in Thread]