| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: https://bugs.gentoo.org/948113
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/949345
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
- Purely cosmetic update for the pgo patch. Since gcc and clang do
profiling differently, conditionalize the gcc part so it doesn't throw an
informative error at all when doing pgo with clang. Profiling has worked and
does work with both gcc and clang, but the informative gcc-only related error
message has been confusing when compiling with clang.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/949323
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
- use the firefox-symbolic.svg icon provided by the source tarball.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
| |
- use the firefox-symbolic.svg icon provided by the source tarball.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/947677
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- sync relevant changes from rapid:
* include gcc-pgo fix,
* wasi-toolchain bump to 25.0,
* 'wasm' use flag renamed to 'wasm-sandbox' to more accurately reflect its function.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
| |
- there might be a solution for clang <19, but will need to test it before
implementing it. (bmo#1905251)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- rename 'wasm' use flag to 'wasm-sandbox' to more accurately reflect what it
does - people have been confused about it,
- since upstream has updated their bundled icu to 76, some of icu-related
patching have been removed,
- update nss requirement to 3.107,
- update upstream wasi-sdk to 25.0 which is llvm-19 based and most likely
breaks '+wasm-sandbox' with clang <19, therefore require llvm/clang >= 19 to
compile with '+wasm-sandbox'.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
| |
- one part of 0015-gcc-lto-pgo-gentoo.patch didn't apply because it was read
as comments due to copy-pasting missing a crucial position line.
Closes: https://bugs.gentoo.org/946835
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- for some reason, even with the GGOV_* vars defined, GCC doesn't look for the
gcov data files from the instrumented/* directory, even though MOZ_OBJDIR
and OBJDIR are correctly defined. We used to have a patch that that tar'd
the gcov data files and extracted them to the build dir, which made GCC
catch and use them correctly while building the browser for 2nd time, with
the profile data. Bring back the patch for now to immediately solve pgo
issue when compiling GCC.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
- drop a redundant gcc-related patch,
- there's something weird going on when compiling with gcc, as +pgo doesn't
provide almost any performance boost unlike when compiling with clang +pgo.
This doesn't solve the problem, but should still be an enhancement when
handling gcc+pgo.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- I'm honestly surprised if it ever worked otherwise. See bugs for
discussion.
Bug: https://bugs.gentoo.org/946604
Bug: https://bugs.gentoo.org/945801
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- add python-3.13 compatibility through upstream patches,
- include a patch from bgo#944056 to (hopefully) fix compilation when using
+wasm or -system-harfbuzz use flags on llvm profile.
Closes: https://bugs.gentoo.org/944056
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
| |
- include a patch from upstream bug #1935621.
Closes: https://bugs.gentoo.org/945882
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
| |
- include a patch from upstream bug #1935621.
Bug: https://bugs.gentoo.org/945882
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
| |
- include a patch from upstream bug #1935621.
Bug: https://bugs.gentoo.org/945882
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/945238
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
- add upstream (rapid) patches for gcc-15,
- add 'wasm' use flag and functionality to 128esr,
- default back to +clang since the problems we had with it are mostly solved
by slotted rust,
- sync all relevant changes from rapid to esr (rust, lto, pgo).
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- add support for (64-bit) riscv-musl,
- require autoconf-2.71,
- restore +clang use flag since the issues that made us disable it are mostly
solved with slotted rust approach.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
- wasm-ld comes from lld which is needed to link wasm parts, even when
compiling the rest of the browser with gcc. Compiler-rt might also be a
strict requirement, but it should be present due to forced libclang
dependency anyway. (While we usually don't rely on dependency chain, I'm
not 100 % sure about the dep yet, so need to confirm that.)
Closes: https://bugs.gentoo.org/943654
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Adds "wasm" support to compile certain third-party libraries with
WebAssembly using Mozilla's RLBox.
- It requires an external wasi toolchain which is not packaged in Gentoo (and
I didn't wish to become a maintainer of a new toolchain), therefore the
ebuild currently downloads and uses a pre-built package directly from
upstream. They only provide pre-built packages for amd64 (x86_64) and arm64.
This is the first step to getting wasm sandboxed libraries to work in
Gentoo, work isn't finished but good enough to be shipped.
Currently system-graphite2 doesn't work with wasm, but building Firefox
doesn't require any user action related to this.
- Also disconnect clang pgo toolchain check from lld - it's probably a remnant
from times when lto was required to build with pgo.
Closes: https://bugs.gentoo.org/940031
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/39343
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/943358
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
| |
- adjust CHECKREQS_DISK_BUILD due to increase in size requirements,
- allow pgo to be ran without lto enabled.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We automatically enable lto in this case. But we also run some
conditionals too early, only in the `tc-is-lto` check, that do not get
run under USE=pgo. Specifically, we filter some -Werror=* due to
reasons.
This then means that people setting these -Werrors globally, but only
selecting certain packages to build with -flto, cannot build firefox.
(The fact that these -Werrors are disabled is another topic entirely.)
Fixes: 01ba4dc61965ef7658a24728841c04c9a1ce4871
Fixes: bcec88143087b45ba26f219efa76021e5acac391
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
|
|
|
|
|
|
|
| |
- dependency-chain seems fine so a working lld will always be present, and the
forcing of proper version happens later making this check counter-intuitive.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
- We don't need to `die` if using GCC and LTO; the linker is set
to bfd in `src_conifgure`.
- Set RUST_MIN_VER to 1.77.1 - LLVM_COMPAT 17 could result in
a Rust slot lower than 1.76 being selected during a GCC build.
- Be more specific about what is filtered with RUST_NEEDS_LLVM=1.
- Make 131 consistent with 128 and 132.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Force LTO with USE=pgo
LTO now comes from CFLAGS, meaning that the REQUIRED_USE
previously enforcing this was removed in favour of
`eerror`. Instead we will force LTO even if it's not detected
from CFLAGS if PGO is in use.
Drop USE=lto on 128 to bring it into line with 132.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
|
|
| |
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tidyups:
- $(cargo_crate_uris)
- Rust BDEPENDS come from the eclass except in very rare
circumstances (RUST_OPTIONAL=1)
- RUST_M{AX,IN}_VER where required.
- Suboptimal crate separator (`-` -> `@`)
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/39218
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
|
|
| |
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/940714
Bug: https://bugs.gentoo.org/942469
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
- drop 'append-ldflags "-Wl,--compress-debug-sections=zlib"'
- drop apulse-related messages - apulse[sdk] should be a 1:1 replacement for
pulseaudio,
- filter -Werror=lto-type-mismatch -Werror=odr,
- include a patch in an attempt to enhance results when using gcc to build,
- toggle the default 'clang' use flag off.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|