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

Warning compiling on 32bit ARM systems: No cycleclock() definition for your platform #47347

Closed
fingolfin opened this issue Oct 27, 2022 · 1 comment · Fixed by #47358
Closed
Labels
building Build system, or building Julia or its dependencies system:arm ARMv7 and AArch64 system:32-bit Affects only 32-bit systems

Comments

@fingolfin
Copy link
Member

This doesn't seem to be a serious problem (for now, anyway), and of course this platform is Tier 3.. But I thought it would be good to highlight. Perhaps this way someone who cares about ARM 32bit sees it and is motivated to work on a fix :-)

Here is an example observed on armv6l-linux-gnueabihf-cxx11 via Yggdrasil

[14:11:19] In file included from /workspace/srcdir/julia/src/gc.h:18:0,
[14:11:19]                  from /workspace/srcdir/julia/src/gc-debug.c:3:
[14:11:19] /workspace/srcdir/julia/src/julia_internal.h: In function 'cycleclock':
[14:11:19] /workspace/srcdir/julia/src/julia_internal.h:226:6: warning: #warning No cycleclock() definition for your platform [-Wcpp]
[14:11:19]      #warning No cycleclock() definition for your platform
[14:11:19]       ^~~~~~~
@fingolfin
Copy link
Member Author

I am trying out a potential patch in JuliaPackaging/Yggdrasil#5506 (stolen from elsewhere), if that works out I'll submit a PR (but I won't try hard if it doesn't work...)

@giordano giordano added building Build system, or building Julia or its dependencies system:32-bit Affects only 32-bit systems system:arm ARMv7 and AArch64 labels Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies system:arm ARMv7 and AArch64 system:32-bit Affects only 32-bit systems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants