Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 792138

Summary: sys-devel/gcc-10.3.0: cannot be built with GCC 11.1
Product: Gentoo Linux Reporter: Adel KARA SLIMANE <adel.ks>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
emerge -pqv
emerge --info

Description Adel KARA SLIMANE 2021-05-26 01:15:41 UTC
Created attachment 711246 [details]
Build log

Hello,

I have GCC 11.1 and I wanted to compile GCC 10.3 that I deleted thinking that I no longer needed it.

It unfortunately does not want to successfully build, even with minimal USE flags (I tried a compile where I removed PGO, LTO, and few others).

The issue seems to be this one 
```
/var/tmp/portage/sys-devel/gcc-10.3.0/work/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by x86_64-pc-linux-gnu-g++)
```

I apologize in advance if this error is only specific to my machine. Although I do not have any idea what could be wrong. I do the GentooLTO overlay, but to compile GCC 11.1 and GCC 10.3 I deactivated all the extra flags it brings except O3.

Thank you.
Comment 1 Adel KARA SLIMANE 2021-05-26 01:16:36 UTC
Created attachment 711249 [details]
emerge -pqv
Comment 2 Adel KARA SLIMANE 2021-05-26 01:16:51 UTC
Created attachment 711252 [details]
emerge --info
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-26 21:24:20 UTC
That is a duplicate of bug #761220
You should be able to work it around with FEATURES="-ccache".

*** This bug has been marked as a duplicate of bug 761220 ***
Comment 4 Adel KARA SLIMANE 2021-05-27 00:29:02 UTC
Thank you very much!