|
From: | Nick Foster |
Subject: | Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7 |
Date: | Thu, 24 Jan 2013 10:13:42 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
On 01/24/2013 07:37 AM, Michael Dickens wrote:
This is a compiler problem. xgetbv was added to vanilla GCC in 4.4. Apparently MacPorts' mutant GCC hasn't added it as of 4.7. The relevant check is line 128 of volk/lib/CMakeLists.txt. We could just disable AVX support on GCC < 4.7, but since 4.7 is basically the latest GCC out there it seems a little aggressive to disable AVX for everyone. I'd rather disable AVX on Mac. I haven't done Mac-specific platform detection in CMake; can anyone else suggest a Mac test to use here to disable AVX on Mac?[New subject line] Albert sent me the build log for: {{{ sudo port install gnuradio +full configure.compiler=macports-gcc-4.7 }}} and I can replicate the error on my computer; so, this must be a GCC 4.7 (or, MacPorts's GCC 4.7) issue. The error is: {{{ build/volk/lib/volk_cpu.c:54:no such instruction: `xgetbv' }}} VOLK folks: what other info do you need from me/us to address this issue? - MLD
--n
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |