View previous topic :: View next topic |
Author |
Message |
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Sat May 18, 2024 5:45 pm Post subject: ungoogled chromium build fails with mold |
|
|
I was attempting to build ungoogled chromium and it failes during the comilation with the following error
Code: | mold: error: undefined symbol: PAPushAllRegistersAndIterateStack
>>> referenced by <artificial>
|
help appreciated |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Sat May 18, 2024 5:58 pm Post subject: |
|
|
Code: | Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/hardened, gcc-13, glibc-2.39-r6, 6.9.0-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.9.0-gentoo-x86_64-x86_64-AMD_Ryzen_7_4800H_with_Radeon_Graphics-with-glibc2.39
KiB Mem: 15784224 total, 4523452 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Sat, 18 May 2024 16:00:00 +0000
Head commit of repository gentoo: 990481112ef0f2f642ffb090150f18fe43867528
Timestamp of repository guru: Sat, 18 May 2024 00:50:45 +0000
Head commit of repository guru: e125788a624b1e9d26a93461fc46ac4fa4c49da2
Head commit of repository librewolf: 169a056a843389d850501d1ff6639b7befd59b61
Timestamp of repository pf4public: Sat, 18 May 2024 15:03:45 +0000
Head commit of repository pf4public: c11b4daf7f884dbe4424e4f9cbe034dfb0da903b
sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [disabled]
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r3::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.29.3::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.0-r1::gentoo
dev-lang/perl: 5.38.2-r5::gentoo
dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust: 1.77.1::gentoo
dev-util/ccache: 4.9.1-r1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.2.1_p20240503::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 17.0.6::gentoo
sys-kernel/linux-headers: 6.9::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-metamanifest: no
sync-rsync-verify-max-age: 3
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
librewolf
location: /var/db/repos/librewolf
sync-type: git
sync-uri: https://codeberg.org/librewolf/gentoo.git
masters: gentoo
volatile: False
pf4public
location: /var/db/repos/pf4public
sync-type: git
sync-uri: https://github.com/gentoo-mirror/pf4public.git
masters: gentoo
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64_hardened
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -flto=8 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-plt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O3 -pipe -march=native -flto=8 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-plt"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O3 -pipe -march=native -flto=8 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-plt"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=native -flto=8 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-plt"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -fuse-ld=mold"
LEX="reflex"
MAKEOPTS="-j8 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=native -C opt-level=3"
SHELL="/bin/bash"
USE="alsa amd64 crypt cuda dbus graphite hardened idn kmod lto man multilib ncurses nls openrc openssl pam pgo pie pipewire readline ssp test-rust threads udev unicode verify-sig wayland wifi xattr xtpax" ABI_X86="64" ADA_TARGET="gnat_2021" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" KERNEL="linux" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi nvidia"
YACC="yacc-reference"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YFLAGS |
|
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
|
Back to top |
|
|
lekto Apprentice
Joined: 20 Sep 2014 Posts: 207 Location: Ancient Rome
|
Posted: Sun May 19, 2024 4:53 pm Post subject: |
|
|
Code: | lekto@lapek ~ $ doas grep -r "PAPushAllRegistersAndIterateStack" /usr/lib*
doas (lekto@lapek) password:
grep: /usr/lib64/qt6/libexec/qwebengine_convert_dict: binary file matches
grep: /usr/lib64/libQt6WebEngineCore.so.6.7.0: binary file matches
lekto@lapek ~ $ equery b /usr/lib64/qt6/libexec/qwebengine_convert_dict /usr/lib64/libQt6WebEngineCore.so.6.7.0
* Searching for /usr/lib64/qt6/libexec/qwebengine_convert_dict,/usr/lib64/libQt6WebEngineCore.so.6.7.0 ...
dev-qt/qtwebengine-6.7.0 (/usr/lib64/libQt6WebEngineCore.so.6.7.0)
dev-qt/qtwebengine-6.7.0 (/usr/lib64/qt6/libexec/qwebengine_convert_dict) |
Looks like this symbol might be in qtwebengine, do you have it installed? |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Wed May 22, 2024 6:50 am Post subject: |
|
|
I ended up reinstalling the system and now my nodejs won't build with mold it just hangs during the compilation process. Although this does seem to already be a bug. I'm going to try and build the latest (unstable) version of node and see if it builds. If it won't build I'll switch to gold and then try to compile the web engine although it'll take a while. |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Wed May 22, 2024 4:34 pm Post subject: |
|
|
I rebuilt it and it failed on mold: error undefined: symbol: sf_parser_init |
|
Back to top |
|
|
lekto Apprentice
Joined: 20 Sep 2014 Posts: 207 Location: Ancient Rome
|
Posted: Wed May 22, 2024 4:52 pm Post subject: |
|
|
Code: | lekto@lapek ~ $ doas grep -r "sf_parser_init" /usr/lib*
doas (lekto@lapek) password:
grep: /usr/lib64/libnghttp2.so.14.28.0: binary file matches
lekto@lapek ~ $ equery b /usr/lib64/libnghttp2.so.14.28.0
* Searching for /usr/lib64/libnghttp2.so.14.28.0 ...
net-libs/nghttp2-1.61.0 (/usr/lib64/libnghttp2.so.14.28.0) |
Are you trying to compile it yourself? There are ebuilds for it in pf4public (https://github.com/PF4Public/gentoo-overlay/tree/master/www-client/ungoogled-chromium). |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Wed May 22, 2024 7:47 pm Post subject: |
|
|
I'm building with one of their ebuilds but It failed hanging on nodejs which I fixed by building an unstable package but now it errors with the aforementioned. |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Thu May 23, 2024 6:34 am Post subject: |
|
|
I built nodejs by changing a couple of use flags. Now the ungoogled chromium build failed.
https://paste.mozilla.org/LHWgNbsF.
Maybe a problem with my vulkan drivers. |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Thu May 23, 2024 5:35 pm Post subject: |
|
|
I've now fixed the Vulcan error and am back to page one. I'm going to try and emerge qtwebengine as suggested |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Thu May 23, 2024 8:40 pm Post subject: |
|
|
Is there any reason why i would need qtwebengine as it's a massive binary and I don't think chromium builds with it natively |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22657
|
Posted: Thu May 23, 2024 9:10 pm Post subject: |
|
|
You need it if you use a package which needs it. What is the output of emerge --pretend --verbose --depclean qtwebengine? |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Fri May 24, 2024 5:17 pm Post subject: |
|
|
It says its no installed.
output of emerge --info www-client/ungoogled-chromium
Code: |
Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/hardened, gcc-13, glibc-2.39-r6, 6.8.0-31-generic x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.8.0-31-generic-x86_64-AMD_Ryzen_7_4800H_with_Radeon_Graphics-with-glibc2.39
KiB Mem: 15773988 total, 4501816 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Tue, 21 May 2024 16:00:00 +0000
Head commit of repository gentoo: a926d0e864946aed6e260802f59147c61e6babe4
Timestamp of repository pf4public: Tue, 21 May 2024 12:33:36 +0000
Head commit of repository pf4public: 985519baf17e504029bdc6457fab9aa452575146
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.28.5::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.0-r1::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust-bin: 1.77.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-metamanifest: no
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
pf4public
location: /var/db/repos/pf4public
sync-type: git
sync-uri: https://github.com/gentoo-mirror/pf4public.git
masters: gentoo
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64_hardened
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -flto=8 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-plt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O3 -pipe -march=native -flto=8 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-plt"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O3 -pipe -march=native -flto=8 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-plt"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=native -flto=8 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-plt"
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/"
LANG="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -fuse-ld=mold -O3"
LEX="reflex"
MAKEOPTS="-j8 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=native -C opt-level=3"
SHELL="/bin/bash"
USE="alsa amd64 crypt custom-cflags dbus graphite hardened idn kmod lto man multilib ncurses network nls openrc openssl pam pgo pie pipewire readline ssp test-rust threads udev unicode vdpau verify-sig vulkan wayland wifi xattr xtpax" ABI_X86="64" ADA_TARGET="gnat_2021" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" KERNEL="linux" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi nvidia"
YACC="yacc-reference"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YFLAGS
|
package.use
Code: |
www-client/ungoogled-chromium -pgo nvidia optimize-webui cromite system-icu vdpau hevc proprietary-codecs system-ffmpeg qt6 qt5 system-libvpx system-av1 system-crc32c system-jsoncpp convert-dict system-libevent system-double-conversion system-openh264 system-libusb
# required by www-client/ungoogled-chromium-125.0.6422.60_p1::pf4public
# required by www-client/ungoogled-chromium (argument)
>=net-libs/nodejs-20.12.1 inspector icu system-icu ssl system-ssl
net-libs/nghttp2 static-libs utils 32
#net-libs/nghttp3 static-libs utils ABI_X86="64 32"
net-libs/nghttp3 static-libs
media-video/ffmpeg chromium encode vdpau cuda nvec opus
# required by www-client/ungoogled-chromium-125.0.6422.60_p1::pf4public[system-libvpx]
# required by ungoogled-chromium (argument)
>=media-libs/libvpx-1.13.1-r1 postproc
# required by dev-qt/qtwayland-6.7.0::gentoo
>=dev-qt/qtbase-6.7.0-r2 widgets gui opengl
# required by dev-qt/qtgui-5.15.13::gentoo[-gles2-only]
# required by dev-qt/qtwidgets-5.15.13::gentoo
# required by www-client/ungoogled-chromium-125.0.6422.60_p1::pf4public[qt5,-headless]
# required by ungoogled-chromium (argument)
>=media-libs/libglvnd-1.7.0 X
# required by dev-qt/qtwayland-5.15.13::gentoo
>=dev-qt/qtgui-5.15.13 egl libinput
# required by dev-qt/qtbase-6.7.0-r2::gentoo
# required by dev-qt/qttools-6.7.0::gentoo
# required by dev-qt/qttranslations-6.7.0::gentoo
>=dev-libs/libpcre2-10.43 pcre16
# required by dev-qt/qtbase-6.7.0-r2::gentoo
# required by dev-qt/qttools-6.7.0::gentoo
# required by dev-qt/qttranslations-6.7.0::gentoo
>=app-arch/libarchive-3.7.3 zstd
# required by dev-qt/qttranslations-6.7.0::gentoo
# required by dev-qt/qtbase-6.7.0-r2::gentoo[nls]
# required by dev-qt/qtwayland-6.7.0::gentoo
>=dev-qt/qttools-6.7.0 linguist
|
I have tried building it both with and without the qt flags and the build fails like the initial build log |
|
Back to top |
|
|
lukascobber n00b
Joined: 28 Oct 2021 Posts: 9
|
Posted: Sun May 26, 2024 12:59 pm Post subject: |
|
|
I've run into some similar problems. I tried building 3 different versions and every one failed at the different file. What I found after looking at my build.log is that some flag isn't supported (in GCC), which lead me to the discovery that Ungoogled-Chromium can't be built with GCC. If I read your emerge --info correctly, you have clang turned off as well (therefore GCC is enabled).
Relevant link:
https://github.com/ungoogled-software/ungoogled-chromium/issues/2815#issuecomment-2094927516
Hope this helps _________________ Gentoo is awesome |
|
Back to top |
|
|
user Apprentice
Joined: 08 Feb 2004 Posts: 211
|
Posted: Mon May 27, 2024 9:05 pm Post subject: |
|
|
Ever tried without mold and with reduced CFLAGS?
Code: | CFLAGS="-march=native"
CFLAGS="${CFLAGS} -O2"
CFLAGS="${CFLAGS} -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"
LDFLAGS="${LDFLAGS} -Wl,--as-needed"
LDFLAGS="${LDFLAGS} -Wl,--enable-new-dtags"
LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu"
LDFLAGS="${LDFLAGS} -Wl,--sort-common"
LDFLAGS="${LDFLAGS} -Wl,-z,combreloc"
LDFLAGS="${LDFLAGS} -Wl,-z,noexecstack"
LDFLAGS="${LDFLAGS} -Wl,-z,pack-relative-relocs"
LDFLAGS="${LDFLAGS} -Wl,-z,relro"
LDFLAGS="${LDFLAGS} -Wl,-z,now"
|
Code: | www-client/ungoogled-chromium X
www-client/ungoogled-chromium custom-cflags
www-client/ungoogled-chromium clang
www-client/ungoogled-chromium convert-dict
www-client/ungoogled-chromium libcxx
www-client/ungoogled-chromium -pgo
www-client/ungoogled-chromium system-crc32c
www-client/ungoogled-chromium system-double-conversion
www-client/ungoogled-chromium system-harfbuzz
www-client/ungoogled-chromium system-icu
www-client/ungoogled-chromium system-libevent
www-client/ungoogled-chromium system-libusb
www-client/ungoogled-chromium system-openh264
www-client/ungoogled-chromium system-openjpeg
www-client/ungoogled-chromium system-png
www-client/ungoogled-chromium system-zstd
www-client/ungoogled-chromium thinlto
|
compile time: ~2 hours at ~140 watt-hour.
Code: | # qlop -v ungoogled-chromium
2024-05-13T07:28:40 >>> www-client/ungoogled-chromium-124.0.6367.155_p1: 1:59:10
2024-05-13T09:53:05 >>> www-client/ungoogled-chromium-124.0.6367.155_p1: 1:59:12
2024-05-13T12:10:18 >>> www-client/ungoogled-chromium-124.0.6367.155_p1: 1:59:48
2024-05-13T15:21:54 >>> www-client/ungoogled-chromium-124.0.6367.155_p1: 2:01:00
2024-05-13T17:56:39 >>> www-client/ungoogled-chromium-124.0.6367.155_p1: 2:00:18
2024-05-13T20:32:36 >>> www-client/ungoogled-chromium-124.0.6367.155_p1: 2:00:46
2024-05-14T16:36:30 >>> www-client/ungoogled-chromium-124.0.6367.155_p1: 1:59:23
2024-05-15T12:03:46 >>> www-client/ungoogled-chromium-124.0.6367.207_p1: 2:00:07
2024-05-17T12:38:16 >>> www-client/ungoogled-chromium-124.0.6367.207_p1: 2:06:12
2024-05-19T14:37:24 >>> www-client/ungoogled-chromium-124.0.6367.207_p1: 1:58:53
2024-05-23T12:31:01 >>> www-client/ungoogled-chromium-125.0.6422.60_p1: 2:00:55
|
|
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 18
|
Posted: Fri May 31, 2024 11:34 pm Post subject: |
|
|
I ended up just building it with clang. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|