| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These failures aren't GCC specific but only GCC has these warnings implemented
and it's less likely that LLVM will miscompile itself because people will test
it more, even if the issue is UB in LLVM.
Filter to avoid people hitting roadblocks on a common package when using
safe LTO flags (-Werror=...).
Closes: https://bugs.gentoo.org/917536
Closes: https://bugs.gentoo.org/926529
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
Specific binutils support isn't needed there other than a new enough
gas in general.
Bug: https://bugs.gentoo.org/916381
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Also, update the description for CET not being supported on x86 (see 21a25eb278b04b204b043bc23750eec632e3bef0).
It was originally planned upstream but has been dropped.
Bug: https://bugs.gentoo.org/916381
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
From 33056c4e55b76cfdcee02c206acbfd770d7ae378.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Fixes: e4dfb164264174461dd6ac8a826fb01b00e5dbf8
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Get tests passing when LTO is used and rework USE=pgo handling while at it, as
it's interlinked with LTO b/c of the upstream infra for it.
This follows on from:
* 1764651a4f7daf8d622db7fddeea891809cab2fb
* f900949be85e2b2b21cd68b7f5163208d0429028
* f900949be85e2b2b21cd68b7f5163208d0429028
where I kept hitting misc issues where the build for the live ebuild failed
with LTO or otherwise.
With this, I only needed one patch to libctf's tests [0] which I've now
pinged upstream. (I also had an odd single gprofng failure I haven't looked at
yet.)
* For LTO + (tests || pgo), always filter '-Wa,*'. This is an unfortunate one,
but the bootstrap test fails with it.
* USE=pgo no longer implies LTO. If -flto is being used, then we pass
--enable-pgo-build=lto. If not, we pass --enable-pgo-build=yes.
* For USE=pgo, filter out LTO after we applied the build system configuration,
because otherwise there's a risk we're going to break the tests used for profiling.
* In src_test, use a subshell to localise the filtering of flags we do.
* For tests, pass {C,CXX,LD}FLAGS_FOR_TARGET to make, as otherwise it'll use
what it found from configure (and e.g. pick up LTO again -> many tests fail
as they're not intended to be used with it).
[0] https://inbox.sourceware.org/binutils/87sf2evr35.fsf@esperi.org.uk/
Signed-off-by: Sam James <sam@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: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
|
|
|
|
| |
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
|
|
|
|
|
|
|
| |
'is_cross' fires because of hppa64 vs hppa2.0.
Closes: https://bugs.gentoo.org/925099
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
See 6a77c9a444223ba6a35a8a636848997f0b00cff0, same deal.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 456eee6e374b50a4d9108a642ca29c5573ac5cb8.
Restore the fixincludes revert. The situation has improved a bit though,
because we now only run fixincludes when it's truly needed, so having
this patch is less risky to begin with.
Caveat emptor for trying to remove this in future: make sure to test
clean builds without mingw already built, and with.
Bug: https://bugs.gentoo.org/905118
Bug: https://bugs.gentoo.org/925204
Closes: https://bugs.gentoo.org/926059
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
They fail with >=app-arch/xz-utils-5.6.0 until libbacktrace is synced upstream,
export XZ_OPT & XZ_DEFAULTS with -T1 to workaround that.
Bug: https://sourceware.org/PR31327
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this doesn't matter for non-live, because gdbserver isn't included
in the dist tarball.
I only noticed it with live before binutils-2.42 release, then forgot about
it as binutils-2.42 proper was fine. Anyway, it causes a build failure with
USE=pgo + 9999, but it's of course completely pointless for this ebuild anyway.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@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: 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: 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: Michał Górny <mgorny@gentoo.org>
|