-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Compilation errors: bad register name #1841
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
Comments
To me this looks as if your assembler may be too old, or perhaps you need to set up AS to point to the spack version of |
You need binutils 2.25 or better and gcc 5 or better
As Martin already noted - gas or as included in binutils gets called by gcc and chokes on modern registers that compiler emits with @martin-frbg is it worth c_ceck-ing also with short assembly like |
@manavbhatia probably it is worth bringing this issue to spack developers that gcc is not functional with archaic host binutils. |
@brada4 I do not think this is a problem with spack in particular - just that sometimes updating one package is not sufficient to receive some particular new functionality. I think this assembler problem came up before, probably when the Haswell kernels brought AVX2 mnemonics (and one could not say that rpm or apt-get were at fault back then either) |
Old systems do not have right tools to do the job. I wonder how this slipped past initial AVX512 compiler detection which invokes |
@manavbhatia did you manage to solve this ? |
Hi,
I am attempting to build openblas with spack. I have tried two different compilers gcc8.2 and gcc7.3 and each time have ended up with errors concerning
bad register name
. For example,The detailed errors are in error.txt.
I would greatly appreciate advice on how to deal with them.
Thanks,
Manav
The text was updated successfully, but these errors were encountered: