PF4Public / gentoo-overlay

Personal Gentoo overlay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

www-client/ungoogled-chromium-125.0.6422.141_p1: ld.lld: error: undefined symbol: QByteArray::toStdString() const

perfect7gentleman opened this issue · comments

www-client/ungoogled-chromium-125.0.6422.141_p1::pf4public  USE="clang convert-dict cups custom-cflags libcxx official optimize-thinlto optimize-webui override-data-dir proprietary-codecs pulseaudio qt5 qt6 screencast system-crc32c system-double-conversion system-ffmpeg system-harfbuzz system-icu system-libevent system-libusb system-openh264 system-openjpeg system-png system-snappy system-woff2 system-zstd thinlto vaapi wayland -X -bluetooth -cfi -cromite -debug -enable-driver -gtk4 -hangouts -headless -hevc -kerberos -nvidia -pax-kernel -pgo (-selinux) -system-abseil-cpp -system-av1 -system-brotli -system-jsoncpp -system-libvpx -system-re2 -widevine" L10N="ru -af -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -ur -vi -zh-CN -zh-TW" 
[3/20] "python3.12" "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="llvm-nm"  --sofile="./libqt6_shim.so" --tocfile="./libqt6_shim.so.TOC" --output="./libqt6_shim.so" -- clang++ -shared -Wl,-soname="libqt6_shim.so" -fuse-ld=lld -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy=cache_size=10\%:cache_size_bytes=40g:cache_size_files=100000 -flto=thin -Wl,--thinlto-jobs=all -Wl,-mllvm,-import-instr-limit=30 -Wl,-mllvm,-disable-auto-upgrade-debug-info -fwhole-program-vtables -Wl,--undefined-version -Wl,--no-call-graph-profile-sort -no-canonical-prefixes -Wl,-z,defs -Wl,--as-needed -Wl,--lto-O0 -Wl,-O3 -Wl,--as-needed -Wl,--gc-sections -Wl,--icf=all -Wl,--lto-O3 -Wl,--thinlto-jobs=9 -Wl,-z,norelro -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -s -march=native -mtune=native -O3 -pipe -mllvm -polly -femit-dwarf-unwind=no-compact-unwind -flto=thin -fomit-frame-pointer -fsplit-lto-unit -fstrict-enums -fstrict-vtable-pointers -fuse-ld=lld -fwhole-program-vtables -fno-asynchronous-unwind-tables -fno-common -fno-plt -fno-stack-protector -fno-standalone-debug -fno-unwind-tables -g0 -w -mevex512 -stdlib=libc++ -Wl,--undefined-version -Wl,--thinlto-jobs=9 -o "./libqt6_shim.so" @"./libqt6_shim.so.rsp"  
FAILED: libqt6_shim.so libqt6_shim.so.TOC 
"python3.12" "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="llvm-nm"  --sofile="./libqt6_shim.so" --tocfile="./libqt6_shim.so.TOC" --output="./libqt6_shim.so" -- clang++ -shared -Wl,-soname="libqt6_shim.so" -fuse-ld=lld -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy=cache_size=10\%:cache_size_bytes=40g:cache_size_files=100000 -flto=thin -Wl,--thinlto-jobs=all -Wl,-mllvm,-import-instr-limit=30 -Wl,-mllvm,-disable-auto-upgrade-debug-info -fwhole-program-vtables -Wl,--undefined-version -Wl,--no-call-graph-profile-sort -no-canonical-prefixes -Wl,-z,defs -Wl,--as-needed -Wl,--lto-O0 -Wl,-O3 -Wl,--as-needed -Wl,--gc-sections -Wl,--icf=all -Wl,--lto-O3 -Wl,--thinlto-jobs=9 -Wl,-z,norelro -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -s -march=native -mtune=native -O3 -pipe -mllvm -polly -femit-dwarf-unwind=no-compact-unwind -flto=thin -fomit-frame-pointer -fsplit-lto-unit -fstrict-enums -fstrict-vtable-pointers -fuse-ld=lld -fwhole-program-vtables -fno-asynchronous-unwind-tables -fno-common -fno-plt -fno-stack-protector -fno-standalone-debug -fno-unwind-tables -g0 -w -mevex512 -stdlib=libc++ -Wl,--undefined-version -Wl,--thinlto-jobs=9 -o "./libqt6_shim.so" @"./libqt6_shim.so.rsp"  
ld.lld: error: undefined symbol: QByteArray::toStdString() const
>>> referenced by qt_shim.cc
>>>               obj/ui/qt/qt6_shim/libqt6_shim.so.lto.qt_shim.o:(qt::QtShim::GetFontDescription() const)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

-stdlib=libc++

Perhaps, your qt wasn't built with libc++? Please try -libcxx.