-
Notifications
You must be signed in to change notification settings - Fork 50
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
Issues building on linux-rhel7-power9le with Spack (GCC 10.2.0) #3133
Comments
Thanks @stmobo for the detailed compilation error and logs. After glancing at the SDS lib, I think the code is fine. I'm going to guess that GCC 10 added a new static analysis pass, and it is getting caught up in the pointer arithmetic going on in the sds library. Unfortunately, the upstream appears to be abandoned (no PRs merged for almost a year), and I don't see any open issues about this. While we sort this out, can you try compiling with GCC 8 or older? We regularly compile with GCC 8 in our CI, so it shouldn't run into these types of issues (GCC 9 might also work). |
As far as fixing this issue, it looks like the vendored sds library is only used in one file: cmdhelp.c. Assuming that the upstream sds is abandoned, maybe we drop its usage from that file and then drop the vendored dependency entirely? |
Yeah, that seems reasonable if it is the case. I'll see if I can quickly get that done. |
Also used in an optparse unit test, but still, should be easily removed. |
@grondo That fixed the compilation error I was having with Unfortunately, I then ran into other errors building Thank you both for your quick help, though! |
Thanks @stmobo! Do you still have the compilation errors from building |
I'm trying to install
flux-sched@master+cuda
using Spack (using the instructions in the Quick Start), but I'm running into an error while buildingflux-core
. I'm using GCC 10.2.0 (installed via Spack) on alinux-rhel7-power9le
system.I get the same error when installing the latest tagged version (
[email protected]+cuda
) and when installing the latest master branch (flux-core@master+cuda
).The full error text is:
I also saved a copy of the Spack build log, if that helps: spack-build-out.txt
The text was updated successfully, but these errors were encountered: