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

The latest version 2.2 failed to compile #2016

Closed
simon28li opened this issue Aug 31, 2021 · 1 comment
Closed

The latest version 2.2 failed to compile #2016

simon28li opened this issue Aug 31, 2021 · 1 comment

Comments

@simon28li
Copy link

Hi,The latest version 2.2 failed to compile.
This is an error message.

  >> 104    utility/src/parasail/cpuid.c:31:5: error: impossible constraint in 'asm'
     105         __asm__ ( "cpuid" : "+b" (ebx),
     106         ^~~~~~~
     107    utility/src/parasail/cpuid.c: In function 'check_xcr0_ymm':
  >> 108    utility/src/parasail/cpuid.c:79:5: error: unknown register name '%edx' in 'asm'
     109         __asm__ ("xgetbv" : "=a" (xcr0) : "c" (0) : "%edx" );
     110         ^~~~~~~
     111    utility/src/parasail/cpuid.c: In function 'check_xcr0_zmm':
  >> 112    utility/src/parasail/cpuid.c:95:5: error: unknown register name '%edx' in 'asm'
     113         __asm__ ("xgetbv" : "=a" (xcr0) : "c" (0) : "%edx" );
     114         ^~~~~~~

my system information is as follows.

> uname -a

Linux simon28li 4.18.0-193.el8.aarch64 #1 SMP Fri May 8 11:05:12 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

> cat /etc/os-release

NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"

Is the error reported because arm is not supported? Because I've seen similar speeches.#1804

@skoren
Copy link
Member

skoren commented Sep 2, 2021

Yes, this is an issue with ARM compilation, from a third-party library canu uses. It looks like that library does have ARM support so it could be updated but you'd likely encounter other errors because we've never compiled on an ARM processor and don't have access to one to test.

I'm going to close this issue since it's redundant with the other ARM support request. If we do get access to a test machine, that issue would get updated.

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