Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923799 - games-emulation/pcsx2-1.7.5312 doesn't link against gcc compiled dev-qt/qtbase-6.6.1-r4
Summary: games-emulation/pcsx2-1.7.5312 doesn't link against gcc compiled dev-qt/qtbas...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-04 21:13 UTC by Christian Apeltauer
Modified: 2024-02-06 07:23 UTC (History)
4 users (show)

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


Attachments
build.log (build.log.bz2,30.49 KB, application/x-bzip2)
2024-02-04 21:15 UTC, Christian Apeltauer
Details
emerge --info (info,7.36 KB, text/plain)
2024-02-04 21:15 UTC, Christian Apeltauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Apeltauer 2024-02-04 21:13:24 UTC
The final linkage of games-emulation/pcsx2-1.7.5312 fails due to unresolved symbols belonging to libQt6Core.so, which is part of dev-qt/qtbase, if dev-qt/qtbase-6.6.1-r4 was compiled using GCC compiler. The issue disappears if qtbase is rebuild using CLANG compiler.

Reproducible: Always
Comment 1 Christian Apeltauer 2024-02-04 21:15:16 UTC
Created attachment 884244 [details]
build.log
Comment 2 Christian Apeltauer 2024-02-04 21:15:34 UTC
Created attachment 884245 [details]
emerge --info
Comment 3 Ionen Wolkens gentoo-dev 2024-02-04 21:39:12 UTC
Odd, my qtbase is built with gcc and I do not have that problem. It's also been nearly 3 weeks since pcsx2 started to force clang but this is the first time I hear of issues. I'd assume there's something unusual happening here (maybe related to hardened somehow?).

What does `emerge -pvqO clang-common` say?
Comment 4 Ionen Wolkens gentoo-dev 2024-02-04 22:24:25 UTC
(In reply to Ionen Wolkens from comment #3)
> What does `emerge -pvqO clang-common` say?
Oh.. on that note I think I know what's happening.

Did you set USE=default-libcxx on clang-common despite this *not* being a libcxx system? This is a system-changing option and shouldn't be casually enabled. This would break any packages using clang and c++ libraries that were linked against libstdc++ rather than libc++.
Comment 5 Ionen Wolkens gentoo-dev 2024-02-04 22:27:41 UTC
And uh, please rebuild your qtbase with gcc again because this is going to be a mess if it stays linked with libc++
Comment 6 Christian Apeltauer 2024-02-06 07:23:50 UTC
(In reply to Ionen Wolkens from comment #4)
> (In reply to Ionen Wolkens from comment #3)
> > What does `emerge -pvqO clang-common` say?
> Oh.. on that note I think I know what's happening.
> 
> Did you set USE=default-libcxx on clang-common despite this *not* being a
> libcxx system? This is a system-changing option and shouldn't be casually
> enabled. This would break any packages using clang and c++ libraries that
> were linked against libstdc++ rather than libc++.

Thank yo, removing degault-libcxx fixed the issur