clang++ -shared -fPIC -o /var/tmp/portage/x11-libs/wxGTK-3.2.8/work/wxWidgets-3.2.8-abi_x86_64.amd64/lib/libwx_baseu-3.2-gtk3.so.0.4.1 basedll_any.o basedll_appbase.o basedll_arcall.o basedll_arcfind.o basedll_archive.o basedll_arrstr.o basedll_base64.o basedll_clntdata.o basedll_cmdline.o basedll_config.o basedll_convauto.o basedll_datetime.o basedll_datetimefmt.o basedll_datstrm.o basedll_dircmn.o basedll_dynlib.o basedll_dynload.o basedll_encconv.o basedll_evtloopcmn.o basedll_extended.o basedll_ffile.o basedll_file.o basedll_fileback.o basedll_fileconf.o basedll_filefn.o basedll_filename.o basedll_filesys.o basedll_filtall.o basedll_filtfind.o basedll_fmapbase.o basedll_fs_arc.o basedll_fs_filter.o basedll_hash.o basedll_hashmap.o basedll_init.o basedll_intl.o basedll_ipcbase.o basedll_languageinfo.o basedll_list.o basedll_log.o basedll_longlong.o basedll_memory.o basedll_mimecmn.o basedll_module.o basedll_mstream.o basedll_numformatter.o basedll_object.o basedll_platinfo.o basedll_powercmn.o basedll_process.o basedll_regex.o basedll_stdpbase.o basedll_sstream.o basedll_stdstream.o basedll_stopwatch.o basedll_strconv.o basedll_stream.o basedll_string.o basedll_stringimpl.o basedll_stringops.o basedll_strvararg.o basedll_sysopt.o basedll_tarstrm.o basedll_textbuf.o basedll_textfile.o basedll_threadinfo.o basedll_time.o basedll_timercmn.o basedll_timerimpl.o basedll_tokenzr.o basedll_translation.o basedll_txtstrm.o basedll_unichar.o basedll_uri.o basedll_ustring.o basedll_variant.o basedll_wfstream.o basedll_wxcrt.o basedll_wxprintf.o basedll_xlocale.o basedll_xti.o basedll_xtistrm.o basedll_zipstrm.o basedll_zstream.o basedll_fswatchercmn.o basedll_fswatcherg.o basedll_common_secretstore.o basedll_lzmastream.o basedll_common_uilocale.o basedll_fdiodispatcher.o basedll_selectdispatcher.o basedll_appunix.o basedll_unix_dir.o basedll_dlunix.o basedll_epolldispatcher.o basedll_evtloopunix.o basedll_fdiounix.o basedll_unix_snglinst.o basedll_unix_stackwalk.o basedll_timerunx.o basedll_threadpsx.o basedll_utilsunx.o basedll_wakeuppipe.o basedll_fswatcher_kqueue.o basedll_unix_mimetype.o basedll_fswatcher_inotify.o basedll_unix_stdpaths.o basedll_unix_secretstore.o basedll_unix_uilocale.o basedll_event.o basedll_fs_mem.o basedll_msgout.o basedll_utilscmn.o -L/var/tmp/portage/x11-libs/wxGTK-3.2.8/work/wxWidgets-3.2.8-abi_x86_64.amd64/lib -Wl,-soname,libwx_baseu-3.2-gtk3.so.0 -fuse-ld=lld -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -pthread -fuse-ld=lld -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -pthread -fuse-ld=lld -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -Wl,--version-script,/var/tmp/portage/x11-libs/wxGTK-3.2.8/work/wxWidgets-3.2.8-abi_x86_64.amd64/version-script -Wl,--undefined-version -lz -llzma -lm -lpcre2-32 -lz -llzma -lm ld.lld: error: basedll_datetime.o <inline asm>:2:1: default version symbol _ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE@@WXU_3.0.3 must be defined .symver _ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE, _ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE@@WXU_3.0.3 ^ ld.lld: error: basedll_datetime.o <inline asm>:4:1: default version symbol _ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE@@WXU_3.0.3 must be defined .symver _ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE, _ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE@@WXU_3.0.3 ^ ld.lld: error: basedll_intl.o <inline asm>:2:1: default version symbol _ZN10wxUILocale17GetSystemLocaleIdEv@@WXU_3.0.2 must be defined .symver _ZN10wxUILocale17GetSystemLocaleIdEv, _ZN10wxUILocale17GetSystemLocaleIdEv@@WXU_3.0.2 ^ clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:14300: /var/tmp/portage/x11-libs/wxGTK-3.2.8/work/wxWidgets-3.2.8-abi_x86_64.amd64/lib/libwx_baseu-3.2-gtk3.so.0.4.1] Error 1
Created attachment 928979 [details] emerge info
> Timestamp of repository gentoo: Tue, 08 Apr 2025 10:45:00 +0000 > Head commit of repository gentoo: f0b66d4cea4d2b266acb8298c7b9496d2addf04c Please emerge --sync. *** This bug has been marked as a duplicate of bug 955865 ***
*** This bug has been marked as a duplicate of bug 955902 ***
Created attachment 928980 [details] Correct emerge info
(In reply to Sam James from comment #2) > > Timestamp of repository gentoo: Tue, 08 Apr 2025 10:45:00 +0000 > > Head commit of repository gentoo: f0b66d4cea4d2b266acb8298c7b9496d2addf04c > > Please emerge --sync. > > *** This bug has been marked as a duplicate of bug 955865 *** Sorry, Sam. I mistakenly added the emerge info to the previous emerge info and have revised. Could you look into the issue again? Is this issue indeed a duplicate of 955902?
Thanks. Can you show the full build.log?
Created attachment 928981 [details] full build log
Gah, it's not the same, just related.
(In reply to Sam James from comment #6) > Thanks. Can you show the full build.log? Oops. The first attachment was that but disappeared due to the size limitation. Uploaded a compressed version. Thanks.
Could you try comment out the botch patch and also the "versionsator" sed in the ebuild and see if that works? I suspect it will.
(In reply to Sam James from comment #10) > Could you try comment out the botch patch and also the "versionsator" sed in > the ebuild and see if that works? I suspect it will. I tested the ebuild as you suggested but different errors occur. --- Line 84: # Please DO NOT rebase this without handling the underlying problem # in bug #955902 properly first. #"${FILESDIR}/${PN}-3.2.8-bodge-version-script.patch" ... Line 113: #sed -i \ # -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ # -e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\ # -e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\ # -e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \ # "${versioned_makefiles[@]}" || die # XXX: The WX_VERSION_TAG especially here is *radioactive* # and must be removed in a new revision after 3.2.8. See bug #955902. #sed -i \ # -e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \ # -e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \ # -e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \ # -e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \ # configure || die ---- # ebuild wxGTK-3.2.8.ebuild clean test install ... clang++ -shared -fPIC -o /var/tmp/portage/x11-libs/wxGTK-3.2.8/work/wxWidgets-3.2.8-abi_x86_64.amd64/lib/libwx_baseu-3.2.so.0.4.1 basedll_any.o basedll_appbase.o basedll_arcall.o basedll_arcfind.o basedll_archive.o basedll_arrstr.o basedll_base64.o basedll_clntdata.o basedll_cmdline.o basedll_config.o basedll_convauto.o basedll_datetime.o basedll_datetimefmt.o basedll_datstrm.o basedll_dircmn.o basedll_dynlib.o basedll_dynload.o basedll_encconv.o basedll_evtloopcmn.o basedll_extended.o basedll_ffile.o basedll_file.o basedll_fileback.o basedll_fileconf.o basedll_filefn.o basedll_filename.o basedll_filesys.o basedll_filtall.o basedll_filtfind.o basedll_fmapbase.o basedll_fs_arc.o basedll_fs_filter.o basedll_hash.o basedll_hashmap.o basedll_init.o basedll_intl.o basedll_ipcbase.o basedll_languageinfo.o basedll_list.o basedll_log.o basedll_longlong.o basedll_memory.o basedll_mimecmn.o basedll_module.o basedll_mstream.o basedll_numformatter.o basedll_object.o basedll_platinfo.o basedll_powercmn.o basedll_process.o basedll_regex.o basedll_stdpbase.o basedll_sstream.o basedll_stdstream.o basedll_stopwatch.o basedll_strconv.o basedll_stream.o basedll_string.o basedll_stringimpl.o basedll_stringops.o basedll_strvararg.o basedll_sysopt.o basedll_tarstrm.o basedll_textbuf.o basedll_textfile.o basedll_threadinfo.o basedll_time.o basedll_timercmn.o basedll_timerimpl.o basedll_tokenzr.o basedll_translation.o basedll_txtstrm.o basedll_unichar.o basedll_uri.o basedll_ustring.o basedll_variant.o basedll_wfstream.o basedll_wxcrt.o basedll_wxprintf.o basedll_xlocale.o basedll_xti.o basedll_xtistrm.o basedll_zipstrm.o basedll_zstream.o basedll_fswatchercmn.o basedll_fswatcherg.o basedll_common_secretstore.o basedll_lzmastream.o basedll_common_uilocale.o basedll_fdiodispatcher.o basedll_selectdispatcher.o basedll_appunix.o basedll_unix_dir.o basedll_dlunix.o basedll_epolldispatcher.o basedll_evtloopunix.o basedll_fdiounix.o basedll_unix_snglinst.o basedll_unix_stackwalk.o basedll_timerunx.o basedll_threadpsx.o basedll_utilsunx.o basedll_wakeuppipe.o basedll_fswatcher_kqueue.o basedll_unix_mimetype.o basedll_fswatcher_inotify.o basedll_unix_stdpaths.o basedll_unix_secretstore.o basedll_unix_uilocale.o basedll_event.o basedll_fs_mem.o basedll_msgout.o basedll_utilscmn.o -L/var/tmp/portage/x11-libs/wxGTK-3.2.8/work/wxWidgets-3.2.8-abi_x86_64.amd64/lib -Wl,-soname,libwx_baseu-3.2.so.0 -fuse-ld=lld -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -pthread -fuse-ld=lld -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -pthread -fuse-ld=lld -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -Wl,--version-script,/var/tmp/portage/x11-libs/wxGTK-3.2.8/work/wxWidgets-3.2.8-abi_x86_64.amd64/version-script -Wl,--undefined-version -lz -llzma -lm -lpcre2-32 -lz -llzma -lm llvm-ranlib /var/tmp/portage/x11-libs/wxGTK-3.2.8/work/wxWidgets-3.2.8-abi_x86_64.amd64/lib/libwxscintilla-3.2.a ld.lld: error: basedll_datetime.o <inline asm>:2:1: default version symbol _ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE@@WXU_3.2.3 must be defined .symver _ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE, _ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE@@WXU_3.2.3 ^ ld.lld: error: basedll_datetime.o <inline asm>:4:1: default version symbol _ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE@@WXU_3.2.3 must be defined .symver _ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE, _ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE@@WXU_3.2.3 ^ ld.lld: error: basedll_intl.o <inline asm>:2:1: default version symbol _ZN10wxUILocale17GetSystemLocaleIdEv@@WXU_3.2.2 must be defined .symver _ZN10wxUILocale17GetSystemLocaleIdEv, _ZN10wxUILocale17GetSystemLocaleIdEv@@WXU_3.2.2 ^ clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:14300: /var/tmp/portage/x11-libs/wxGTK-3.2.8/work/wxWidgets-3.2.8-abi_x86_64.amd64/lib/libwx_baseu-3.2.so.0.4.1] Error 1 .. --- I will attach a full build log immediately after posting.
Created attachment 929122 [details] build.log after commenting out the bodge patch and both of two seds
Thank you! I've reported it upstream at https://github.com/wxWidgets/wxWidgets/issues/25438. I managed to reproduce it with just clang/lld/lto.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e87d63f74ba906ee2e21488ef6eeec25e3f46c commit a9e87d63f74ba906ee2e21488ef6eeec25e3f46c Author: Sam James <sam@gentoo.org> AuthorDate: 2025-05-26 07:37:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-05-26 07:38:57 +0000 x11-libs/wxGTK: add 3.2.8.1 This drops the sed & patching which broke ABI (see bug #955936) and cranks the subslot to force a rebuild of reverse dependencies. soap's already added := everywhere needed. Bug: https://bugs.gentoo.org/955865 Closes: https://bugs.gentoo.org/955936 Closes: https://bugs.gentoo.org/956114 Signed-off-by: Sam James <sam@gentoo.org> x11-libs/wxGTK/Manifest | 2 + x11-libs/wxGTK/wxGTK-3.2.8.1.ebuild | 225 ++++++++++++++++++++++++++++++++++++ 2 files changed, 227 insertions(+)