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

gcc labels configure test spins forever on armv7, aarch64 #97

Open
craftyguy opened this issue Jul 13, 2021 · 3 comments
Open

gcc labels configure test spins forever on armv7, aarch64 #97

craftyguy opened this issue Jul 13, 2021 · 3 comments

Comments

@craftyguy
Copy link

craftyguy commented Jul 13, 2021

Using musl libc on Alpine Linux, this configure test seems to spin forever at 100% CPU, using the 20.06.1 src distribution.

gcc is 10.3.1

@wangp
Copy link
Member

wangp commented Jul 14, 2021

This should be fixed for aarch64 in ROTDs, though I've personally only tested it with glibc. Aarch64 was not supported as of 20.06.1.

I don't know about armv7. I don't see any changes related to it in the configure script.

@juliensf
Copy link
Member

It's possible that the fix applied for aarch64 in commit 4abc9b5 will work for armv7 as well; I don't have access to
a system on which to try it.

At last report, GCC labels were not working correctly on 32-bit ARM, so it may be easiest to simply disable the affected tests in the configuration script, e.g. invoke the configure script as:

     $ mercury_cv_asm_labels=no \
       mercury_cv_gcc_labels=no \
       ./configure

@craftyguy
Copy link
Author

Ya as a workaround, I disabled labels for aarch64 and armv7 by patching the configure script (I'm trying to package mercury for Alpine Linux, so carrying that patch is easier)

But, if aarch64 is not supported in 20.06.1, then my efforts are probably in vain.. Any chance there will be a release soon that supports this arch?

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

3 participants