-
Notifications
You must be signed in to change notification settings - Fork 705
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 10.3.0 fails to compile on Manjaro (GCC 12.2, binutils 2.39.0) #16235
Comments
The first error appears in line 99, reading
I just tried a few versions of GCC on an HPC, ranging from 4 to 11. With none of them Is the intended command Aha, this sheds light on the |
Once the issue regarding the unrecognized command line option |
related: |
the unrecognized command line option error is not actually an issue, it's just To me, the following looks like the actual issue :
What operating system are you building on, and what are your system compiler and binutils versions? |
I am on Manjaro, with
|
Looking at https://bbs.archlinux.org/viewtopic.php?id=278679, I believe the issue here is that the linker the build wants to use (
to set this for all your installations (probably a wise move) you can use the easybuild config file or
|
Unfortunately, I was still not successful on my system:
/tmp/eb-n9qdjdfy/easybuild-GCCcore-10.3.0-20221027.224031.hjDGl.log |
The remaining error is probably
I had run into the exact same issue when trying to install GCC 11, and @branfosj and @boegel were able to fix it: #16144 (comment) |
Unfortunately
fails with
|
@baloe Can you also share the |
I think that this is the one that is relevant. It contains
Mh, I am using
but then my system binutils 2.39.0 appears to be too new for GCCcore/10.3.0. I have binutils/2.38 in my module system. Should I try to make eb use that one? |
When using binutils/2.38 (instead of the 2.36.1, which eb would attempt to use, and instead of 2.39.0, which is my system binutils),
I still get a failure:
/tmp/eb-winj2kvt/easybuild-GCCcore-10.3.0-20221118.044301.kgzOS.log I guess that's it, uninstallable on Manjaro. |
Hmm, that's disappointing but in the EasyBuild slack today it was mentioned that this worked on Arch Linux a little while ago. Part of the problem is that the ground is shifting all the time on something like Manjaro, another is that EasyBuild is not isolated enough from the host OS (it is very hard to avoid some level of leakage though). Are you aware of the EESSI project? That uses Gentoo Prefix to provide us with a compatibility OS on top of the system. Currently that includes GCC 10.3.0 and should work on any linux OS. |
If you adopt some of the configuration used by EESSI, you can build on top of it, here's something that I use:
Of course you'd have to customise
|
I am unable to build GCC 10.3.0. Here is the output:
And here is the mentioned log file:
/tmp/eb-u4d40mvn/easybuild-GCCcore-10.3.0-20220911.094514.mAgTh.log
Is this issue possibly related to #16144 ?I think not, because the error message is very different.The log reads:
Here is the config.log file:
/soft/modules/build/GCCcore/10.3.0/system-system/gcc-10.3.0/stage1_obj/config.log
This one mentions a bunch of errors, but I have no idea how to fix them:
The text was updated successfully, but these errors were encountered: