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

Add support for ARM devices; Raspberry Pi, etc. #184

Open
ritiek opened this issue Jan 1, 2019 · 3 comments
Open

Add support for ARM devices; Raspberry Pi, etc. #184

ritiek opened this issue Jan 1, 2019 · 3 comments

Comments

@ritiek
Copy link

ritiek commented Jan 1, 2019

wdt currently does not compile on ARM devices. I tried disabling -msse4.2 and -mpclmul compiler flags in CMakeLists.txt which are not supported on ARM but then it gave me:

$ make
...
[ 31%] Building CXX object CMakeFiles/wdt_min.dir/ErrorCodes.cpp.o
[ 34%] Building CXX object CMakeFiles/wdt_min.dir/util/FileByteSource.cpp.o
[ 36%] Building CXX object CMakeFiles/wdt_min.dir/util/FileCreator.cpp.o
/tmp/ccaKjm1j.s: Assembler messages:
/tmp/ccaKjm1j.s:1365: Error: selected processor does not support `yield' in ARM mode
/tmp/ccaKjm1j.s:4125: Error: selected processor does not support `yield' in ARM mode
/tmp/ccaKjm1j.s:4355: Error: selected processor does not support `yield' in ARM mode
CMakeFiles/wdt_min.dir/build.make:206: recipe for target 'CMakeFiles/wdt_min.dir/util/FileCreator.cpp.o' failed
make[2]: *** [CMakeFiles/wdt_min.dir/util/FileCreator.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/wdt_min.dir/all' failed
make[1]: *** [CMakeFiles/wdt_min.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Specifically:

Error: selected processor does not support `yield' in ARM mode

I've hit a wall here.

@ldemailly
Copy link
Contributor

I guess you could try to conditionally exclude the yield call but you may need to have to replace that by an arm specific way ?

@ritiek
Copy link
Author

ritiek commented Jan 9, 2019

Yep, I guess so but I am not sure how the code is supposed to be replaced to work on ARM devices.

@ldemailly
Copy link
Contributor

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