Comments (14)
it's copy from your overlay
from gentoo-overlay.
You're using custom-cflags
, try building without.
from gentoo-overlay.
I assume, this solves the issue
from gentoo-overlay.
USE="-custom-cflags" won't help
from gentoo-overlay.
Then, if you want me to help you, please provide more information. Aborted
is not enough.
I've inspected your USE flags once more and I see that you're trying to build with libcxx
, new-tcmalloc
and tcmalloc
. There is a problem with libcxx
, but I wonder how could you build it successfully. Try disabling libcxx
and new-tcmalloc
.
BTW: what is the point in copying into your overlay?
from gentoo-overlay.
USE="-custom-cflags -libcxx -new-tcmalloc" helped. thanx.
BTW: what is the point in copying into your overlay?
Really, there is no any sensible reason.
But now I'll enable your repo.
from gentoo-overlay.
I have actually tried building with libcxx and new-tcmalloc, but it failed with re2 library being not build with libcxx… How did you manage to build it? Did you do anything special?
from gentoo-overlay.
I build all deps and related packages with -stdlib=libc++
from gentoo-overlay.
Do you do this by default in your system, or specifically for ungoogled-chromium?
from gentoo-overlay.
It's default for most packages built with Clang
~ $ cat /etc/portage/env/clang_compiler
CC="clang"
CXX="clang++"
COMMON_FLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-plt -fno-stack-protector -flto=thin"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS} -stdlib=libc++"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--strip-debug -Wl,--thinlto-jobs=9 -flto=thin -fuse-ld=lld"
AR="llvm-ar"
NM="llvm-nm"
RANLIB="llvm-ranlib"
from gentoo-overlay.
before it was possible to build working UGC with USE="custom-cflags libcxx new-tcmalloc"
from gentoo-overlay.
Then I would suggest building it again with libcxx
and new-tcmalloc
and enable symbols in gn args. Run chromium with gdb and show backtrace to see, what is failing. Unfortunately I cannot promise that I will do this in an immediate future due to the lack of time at present, but if you eager, you may try, but don't enable custom-flags
, as it could potentially spoil the result. It could probably give us a clue on what is wrong or what else do we need to patch to make it work.
I will edit and reopen this bug for anyone, who also is trying to build it this way. If you don't mind.
from gentoo-overlay.
libcxx doesn't seem to be used much, so I drop it from ebuild.
One could make this locally if desired.
from gentoo-overlay.
www-client/ungoogled-chromium-80.0.3987.87_p1::pf4public was built with the following:
USE="clang convert-dict cups custom-cflags optimize-thinlto optimize-webui pdf proprietary-codecs pulseaudio system-ffmpeg system-harfbuzz system-icu system-jsoncpp system-libevent system-libvpx system-openh264 system-openjpeg tcmalloc thinlto vaapi -cfi -closure-compile -enable-driver -gnome -gnome-keyring -hangouts -kerberos (-selinux) -suid -widevine" L10N="ru -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 -vi -zh-CN -zh-TW" PYTHON_TARGETS="python2_7 python3_8 -python3_6 -python3_7"
CFLAGS="-march=native -mtune=native -O3 -pipe -flto=thin -fomit-frame-pointer -fno-plt -fno-stack-protector -fno-unwind-tables -Wno-unknown-warning-option -Wno-builtin-macro-redefined"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -flto=thin -fomit-frame-pointer -fno-plt -fno-stack-protector -fno-unwind-tables -stdlib=libc++ -Wno-unknown-warning-option -Wno-builtin-macro-redefined"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--strip-debug -Wl,--discard-all -Wl,--thinlto-jobs=9 -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -s -march=native -mtune=native -O3 -pipe -flto=thin -fomit-frame-pointer -fno-plt -fno-stack-protector -fno-unwind-tables -stdlib=libc++ -Wl,-plugin-opt,-import-instr-limit=30 -Wl,--thinlto-jobs=9"
It works finally.
from gentoo-overlay.
Related Issues (20)
- www-client/unoogle-chromium-bin crashes at sturtup because "missing libpulse" HOT 7
- www-client/ungoogled-chromium-121.0.6167.184_p1: no audio HOT 5
- wayland support in www-client/ungoogled-chromium-bin HOT 2
- www-client/ungoogled-chromium-122.0.6261.69: build fails with error: invalid argument '-fno-split-lto-unit' not allowed with '-fsanitize=cfi' HOT 20
- www-client/ungoogled-chromium-121.0.6167.184_p1 build fails with useflag system-ffmpeg enabled HOT 3
- www-client/ungoogled-chromium-121.0.6167.184_p1 build fails throwing error [1mclang frontend command failed with exit code 134] HOT 3
- ungoogled-chromium-122.0.6261.69_p1 fails while applying fmpeg-nb_coded_side_data.patch HOT 1
- www-client/ungoogled-chromium-122.0.6261.69_p1: data_sharing_network_loader.h:18:34: error: no member named 'unique_ptr' in namespace 'std' HOT 1
- www-client/ungoogled-chromium-122.0.6261.69_p1: plus_address_types.h:47:8: error: no template named 'optional' in namespace 'std' HOT 1
- www-client/ungoogled-chromium: screencasting not working HOT 6
- New package suggestion: Thorium HOT 2
- www-client/ungoogled-chromium-bin: fails to relaunch after setting flags HOT 4
- www-client/ungoogled-chromium:122.0.6261.111 (and at least 121 too) crash at start with “Assertion 'this->_M_is_engaged()' failed.” HOT 17
- www-client/ungoogled-chromium-122.0.6261.111_p1: fails to build HOT 4
- dev-util/electron-29.1.1: chromium-118-ffmpeg.patch fails to apply HOT 3
- www-client/ungoogled-chromium-122.0.6261.111_p1 compilation error HOT 7
- remove dependency on libpulse in ungoogled-chromium-bin HOT 5
- app-misc/font-manager-0.8.8: build failure due to multiple `buildtype` directives HOT 1
- www-client/ungoogled-chromium-122.0.6261.111_p1: `bubble_contents_wrapper.h:153:9: error: static assertion expression is not an integral constant expression` HOT 1
- net-im/element-desktop-1.11.63: electron v28 removed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gentoo-overlay.