-
Notifications
You must be signed in to change notification settings - Fork 2
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
Failed to build ksim-stub@sha/avx-builder.c.o #1
Comments
This looks like a problem with the arch package. The header here on fedora says: /* DO NOT EDIT! -- buffer-read-only: t -- This file is automatically Maybe there's a problem with how they generate the header when they build bfd. |
Sorry for the delayed response. I'm currently on vacation with no access to an Arch system. I remember Arch having a similar header comment. I'll look into it more when I get back. |
Looks like this error is avoided in Fedora because they patch bfd to exclude the check for PACKAGE : http://pkgs.fedoraproject.org/cgit/rpms/binutils.git/tree/binutils-2.22.52.0.4-no-config-h-check.patch . For reference, here's another software project similarly affected by a more vanilla copy of the header: mlpack/mlpack#574 |
I see, for better or worse, the fedora maintainers are shielding fedora users from binutils upstream... I'll add a similar workaround for ksim. Thanks for digging into this! |
Thanks. No problem! |
I get the following error attempting to build ksim on Arch Linux:
I'm not sure what the appropriate fix is, but defining PACKAGE above the include avoids the error.
The text was updated successfully, but these errors were encountered: