-
Notifications
You must be signed in to change notification settings - Fork 97
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.1 released #514
Comments
Of particular interest is the new |
As mentioned in another issue:
|
Please share all -fno-common related compile failures with https://bugs.gentoo.org/705764 |
Trying to compile media-gfx/imagemagick-7.0.10.9 which fails with gcc 10 and lto. Without LTO it compiles. |
It seems like a good spot to go back and reevaluate which workarounds are still needed. What would be the best way to do so? Just directly edit the |
pretty much yes. gcc 10 brought a lot of fixes to LTO, I'd start with that |
|
@PeeJay That looks like https://bugs.gentoo.org/708340 - you need to install sys-devel/binutils-2.34-r1 which is currently unkeyworded. |
FYI: I managed to find exactly the
If anyone knows of a way of automating the posting of that to the Bugzilla, please let me know! It seems like a rather tedious task to enter each individual package as a bug. |
OK, after re-testing each package, I narrowed it down to this list:
|
Reference #484 |
Reference #23 |
Reference #38 |
After re-testing with the |
I'll be re-testing my branch as well with the new binutils and GCC 10. Hopefully it removes all the sed replacement errors and I can just close it out. |
@petronio I'll be publishing a new |
@InBetweenNames So far looks like it'll be fine. I unmasked binutils-2.34-r1 and installed that. So far three of the packages I had lto disabled on built and installed fine. |
Related to GCC 10, libtool problems: #514, #484, #38, #23 Signed-off-by: Shane Peelar <[email protected]>
Great! I'm going to do a GCC 10 test run and if that works well, I will send out a notice saying when GentooLTO will officially change to the new compiler. |
When you say that gentooLTO will officially change to the new compiler, are you meaning that GCC 10 will be keyworded as stable? Or simply that gentooLTO will be able to work fine with GCC 10? I'm not excited about having GCC 10 made stable on my system unless the stability is from the main portage tree. |
GCC 10 will be the standard recommended configuration for GentooLTO, yes -- much like how we moved using previous releases. Note that upstream Gentoo is also very interested in using GCC 10, with many issues tracking If you're concerned about your system stability even after the switchover date is announced, you might consider holding back using GCC 9, but note that workarounds will be tested with GCC 10 only, and might not be accepted if an issue is present with GCC 9 and not with GCC 10. Alternatively, consider running |
My only concern was that GCC 10.1 not suddenly find itself stable on my system. I'm happy to accept breakage by using GCC 9 with gentooLTO if that's an unsupported configuration. |
Are the workarounds in ltoworkarounds.conf automatically applied? I am still getting fribidi pipe error that goes away with nolto forced by env |
neovim broken: |
some emerge -e @System with nolto fix that worked and some that it didn't help: # nolto fix #broken even with nolto nolto is an env that i force with /etc/portage/package.env |
The pipe error can be fixed with a new workaround introduced. I haven't documented it yet (haven't had time) but you can try setting |
I'm new to GentooLTO, but I come to say that neovim fixed by accepting keyword 9999. |
x11-libs/cairo nolto is needed. It built with lto, but was broken (missing link to pthread, I ran into libcairo.so: error: undefined reference to 'pthread_mutexattr_settype' when trying to build the second thing that required it, app-text/texlive-core-2020-r5 , the first thing that built ok was harfbuzz fyi) until I rebuilt it, and now its properly linked to pthread. |
Yes, Curl fails, any fix for it? |
@shelterx Are you having build or runtime issues? If it's runtime, check that your CURL_SSL variable matches whatever you have as the use flag in the curl package. They made changes to the package recently and it's a bit confusing and breaks things. |
Hmm... seems like it was the pipe error which @InBetweenNames provided a fix for above, I didn't see the actual error yesterday blind. EDIT: Well, it didn't help with NOCOMMON_OVERRIDE_LIBTOOL=yes.
|
You might want to bump your binutils, if it's not at the latest |
I tried with a newer binutils, didn't help. |
Now curl built fine, I don't know what fixed it but I used unstable binutils... suddenly it worked after running emerge -c after a system upgrade. |
I am new to Gentoo LTO and somewhat new to gentoo as well. How do you define NOCOMMON_OVERRIDE_LIBTOOL=yes per package from the instructions in the wiki? |
https://gcc.gnu.org/pipermail/gcc/2020-May/232334.html
This issue has been made to track GCC 10.1 as a system wide compiler. There's a few differences with GCC 10 last time I checked that might make this a not so straightforward upgrade compared to the 9 series. If you are on GCC 10 right now, you can use this thread to share your experiences.
The text was updated successfully, but these errors were encountered: