Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with ARM? -msse2 tag not recognized #33

Open
MahmoudThePeltist opened this issue Jul 28, 2018 · 1 comment
Open

Not compatible with ARM? -msse2 tag not recognized #33

MahmoudThePeltist opened this issue Jul 28, 2018 · 1 comment

Comments

@MahmoudThePeltist
Copy link

MahmoudThePeltist commented Jul 28, 2018

After downloading and creating the build directory and running "cmake ../", i was unable to compile using the "make" tool. It stopped at 2% with this error:
c++: error: unrecognized command line option ‘-msse2’

I used grep and sed to remove all instances of "-msse2" from the build directory like this:
grep -rl "msse2" /home/pi/gr-dvbt/build | xargs sed -i s^-msse2^^g

This time it got as far as 42% before crashing with this error:
fatal error: xmmintrin.h: No such file or directory #include <xmmintrin.h> ^
I am at a loss here

@MahmoudThePeltist MahmoudThePeltist changed the title Not compatible with ARM Not compatible with ARM? -msse2 tag not recognized Jul 28, 2018
@PabloBen
Copy link

I was working on it last year too and lamentably it is not compatible.

In the info of the build it is said this: "The dvb-t module requires SSE2 SIMD instructions available in the processor. If the SSE2 is not available then illegal instruction will be seen at runtime."
So we can identify previously that in some devices like Raspberry-pi wont work.

The problem exists in the Viterbi code. There is when <xmmintrin.h> is used. It is a library for optimization in AMD and x86 processors architecture, so ARM architecture is not compatible. The optimization libraries of ARM are the NEON libraries, or maybe it can be solved to with VOLK (too much work!).

Hope i cleared out a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants