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
Selected processor does not support 'yield' in ARM mode #3861
Comments
@diehlpk @biddisco did either of you ever bump into something like this? @doraemon96 thanks for the report and the links. This looks like something we could use. |
I had a look at the fiber implementation and we can certainly copy that. I haven't had that problem, but I've not tested the pi3 for some time, so I'd need to have a look when I get home. My x-Compile tool chain is certainly not working without some maintenance as I've not touched it in ages. |
I will try to build 1.3.0-rc1 this weekend as maybe this merge: #3591 can solve some problems. Also upgrading cmake to 3.14.4 (because before 3.12 it cannot detect boost_context well). Will keep you updated |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed. Please re-open if necessary. |
Did anything come of this? has anyone tested on Raspberry Pi recently. I have a pi 4 at home and might try a build, but need to setup a toolchain for it (which might be a job for the christmas break). |
For future folks viewing - try below. Solved the same error for me on another project: |
shouldn't it be |
Explanation
Trying to
make
hpx for my Raspberry Pi 3b+ (ARMv7l) it throws an error of:/tmp/ccplVcGc.s:1123 : Error: selected processor does not support 'yield' in ARM mode
Build info
DEVICE => Raspberry Pi 3b+ with ARMv7l
OS >= Running Raspbian 9 (Stretch)
COMPILERS => gcc/g++/c++ version 6.3.0 , cmake version 3.7.2
DEPENDENCIES =>
Hpx downloaded from git (checkout 1.2.1)
Boost libraries (built from source) version 1.69.0
Hwloc libraries (from aptitude repository)
CMAKE COMMAND => (tried lots of combinations)
cmake -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=/home/pi/boost_1_69_0 -DHPX_WITH_CXX11=ON -DHPX_WITH_MALLOC=jemalloc ../hpx
Already tried
-DCMAKE_CROSSCOMPILING -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc -DHPX_WITH_GENERIC_COROUTINES=ON
(following the cmake toolchain example for crosscompilation)
Extra info
I believe the error could be located in the HPX_SMT_PAUSE definition for ARM directive, and maybe a solution could be found in this boost issue but I'm currently unavailable to fix it.
The text was updated successfully, but these errors were encountered: