On Sun, Apr 15, 2012 at 10:50 AM, Joanna Rutkowska <joa...@invisiblethingslab.com> wrote: > On 04/15/12 16:46, Tom Rondeau wrote: >> Unfortunately, that doesn't narrow things down. How about running >> volk_profile under gdb? Let's see if we can find the instruction it's >> puking on. >> >> I find it odd that in your original post, it looks like volk_profile >> is running avx_64, but your proc/cpuinfo doesn't show that the >> processor has AVX. This shouldn't matter in this case since the >> deinterleave kernel doesn't have AVX, but I think something is still >> getting confused, probably through Xen. > > This is what gdb spits out (without debug symbols): > > Program received signal SIGILL, Illegal instruction. > 0x00007ffff7b4cd40 in volk_16ic_s32f_deinterleave_real_32f_a_sse4_1 () > from /rw/home/user/gnuradio/gnuradio/volk/build/lib/libvolk.so.0.0.0 > Missing separate debuginfos, use: debuginfo-install > boost-test-1.46.0-3.fc15.x86_64 glibc-2.14.1-6.x86_64 > libgcc-4.6.3-2.fc15.x86_64 libstdc++-4.6.3-2.fc15.x86_64 > orc-0.4.16-5.fc15.x86_64 > > What's the recommended way to build volk with debug symbols using cmake? > Sorry, I don't have much experience with cmake... > > joanna.
You pass the -DCMAKE_BUILD_TYPE="Debug" to cmake when configuring. That sets the -g flag when building to get us the symbols out. Tom _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio