Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841955 - sys-devel/gcc-10.3.1_p20211126: /usr/powerpc64le-unknown-linux-gnu/bin/ld.gold: /var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by
Summary: sys-devel/gcc-10.3.1_p20211126: /usr/powerpc64le-unknown-linux-gnu/bin/ld.gol...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-01 06:55 UTC by Luke-Jr
Modified: 2024-01-08 17:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log.zst,414.21 KB, application/zstd)
2022-05-01 06:55 UTC, Luke-Jr
Details
emerge --info (emerge--info.ryuu,20.33 KB, text/plain)
2022-05-01 16:17 UTC, Luke-Jr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2022-05-01 06:55:38 UTC
Created attachment 775724 [details]
build log

/usr/powerpc64le-unknown-linux-gnu/bin/ld.gold: /var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/powerpc64le-unknown-linux-gnu/bin/ld.gold)
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1381: libgo.la] Error 1
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-01 07:05:47 UTC
emerge --info?
Comment 2 Luke-Jr 2022-05-01 16:17:50 UTC
Created attachment 775799 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-02 02:35:36 UTC
It _feels_ like it's:
1. Build binutils[gold] (or any binutils, or any package) using GCC 11 (or N)
2. Select it
3. At some point, change back to GCC N-1
4. Anything trying to use libstdc++ will fail because symbols are missing?

It's a bit more confusing because it's just built one though and it's dying at runtime rather than build time.
Comment 4 Luke-Jr 2022-05-02 02:45:52 UTC
(In reply to Sam James from comment #3)
> It _feels_ like it's:
> 1. Build binutils[gold] (or any binutils, or any package) using GCC 11 (or N)
> 2. Select it
> 3. At some point, change back to GCC N-1
> 4. Anything trying to use libstdc++ will fail because symbols are missing?
> 
> It's a bit more confusing because it's just built one though and it's dying
> at runtime rather than build time.

I didn't change back, though. GCC 11 is still my primary GCC.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-02 02:55:32 UTC
(In reply to Luke-Jr from comment #4)
> I didn't change back, though. GCC 11 is still my primary GCC.

Oh right. And not using ccache or distcc? (I don't see it in the log, but just checking).

Does your ld.gold work otherwise?
Comment 6 Luke-Jr 2022-05-02 03:02:14 UTC
(In reply to Sam James from comment #5)
> (In reply to Luke-Jr from comment #4)
> > I didn't change back, though. GCC 11 is still my primary GCC.
> 
> Oh right. And not using ccache or distcc? (I don't see it in the log, but
> just checking).
> 
> Does your ld.gold work otherwise?

ccache has been disabled since 2017, and no distcc

$ ld.gold
ld.gold: fatal error: no input files
Comment 7 Luke-Jr 2022-08-22 02:54:10 UTC
Also, I am not sure why ld.gold would be being used.