discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Volk build error using MacPorts GCC 4.7
Date: Fri, 25 Jan 2013 12:20:50 -0500

On Fri, Jan 25, 2013 at 11:28 AM, Michael Dickens <address@hidden> wrote:
On Jan 25, 2013, at 10:06 AM, Michael Dickens <address@hidden> wrote:
> 1) Does the target compiler's assembler support the "xgetbv" instruction?
>
> 2) Does the target CPU support the "xgetbv" instruction?

My CMake hack wasn't quite right: only execute the binary if not cross-compiling.  I'm not sure my new version is quite correct, but it's closer.  I've pushed a branch with these mods: volk_xgetbv_cmake_test in gnuradio.org/michaelld .

Some MacPorts folks did reply back to my query, and the state of Apple's "as" is the same as before.  So, GCC is correctly recognizing and generating the "xgetbv" instruction, but Apple's assembler is erroring on it.  Apple's Clang assembler recognizes this instruction correctly, but my computer's CPU does not support it.

Hope this helps. - MLD


By the way, if you grep for xgetbv in the 'next' branch, we did some work for this problem there but apparently not on 'master.' Not sure if it's for this exact problem or just a related one, but might be something to look at.

Tom


reply via email to

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