On 04/15/12 16:52, Tom Rondeau wrote: > 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.
With dbg symbols: Starting program: /rw/home/user/gnuradio/gnuradio/volk/build/apps/volk_profile [Thread debugging using libthread_db enabled] Using Volk machine: avx_64 RUN_VOLK_TESTS: volk_16ic_s32f_deinterleave_real_32f_a Program received signal SIGILL, Illegal instruction. 0x00007ffff7b289bd in volk_16ic_s32f_deinterleave_real_32f_a_sse4_1 (iBuffer=0x7053a0, complexVector=0x7ffff7e47020, scalar=4.59163468e-41, num_points=4160742024) at /rw/home/user/gnuradio/gnuradio/volk/include/volk/volk_16ic_s32f_deinterleave_real_32f_a.h:17 17 static inline void volk_16ic_s32f_deinterleave_real_32f_a_sse4_1(float* iBuffer, const lv_16sc_t* complexVector, const float scalar, unsigned int num_points){ j.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio