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

Make error #189

Open
Shivankit99 opened this issue May 12, 2020 · 3 comments
Open

Make error #189

Shivankit99 opened this issue May 12, 2020 · 3 comments

Comments

@Shivankit99
Copy link

Shivankit99 commented May 12, 2020

make fails after 4% on the raspberry pi 4b
/tmp/cc7z1u8E.s: Assembler messages:
/tmp/cc7z1u8E.s:277: Error: selected processor does not support `yield' in ARM mode
make[2]: *** [deps/pthreadpool/CMakeFiles/pthreadpool.dir/build.make:122: deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/pthreads.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1579: deps/pthreadpool/CMakeFiles/pthreadpool.dir/all] Error 2
make: *** [Makefile:161: all] Error 2

CPU ARCHITECTURE INFO:
cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

Hardware : BCM2835
Revision : b03111
Serial : 10000000a74a2635
Model : Raspberry Pi 4 Model B Rev 1.1

@Maratyszcza
Copy link
Owner

You should build for at least -march=armv6k

@Shivankit99
Copy link
Author

Didnt quite understand you, could you please elaborate it a bit ?

@Maratyszcza
Copy link
Owner

You should specify at least -march=armv6k target architecture in compiler flags. E.g. by passing -DCMAKE_C_FLAGS=-march=armv6k when configuring the project.

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