| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://sourceware.org/PR33267
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
rcrt1.o isn't always available and static-pie support can be buggy (which
is why it's interesting to test, but if we can't rely on it being available,
we also can't rely on it at least without some checking being OK in some
glibc version too). Need to try again with a has_version check for glibc[static-pie]
at least and possibly more.
Closes: https://bugs.gentoo.org/965478
Signed-off-by: Sam James <sam@gentoo.org>
|
|
It's not clear to me why it fails but I haven't got an environment to
debug it in right now, and it's a new addition, so it's not like it's
a regression to turn off the (new) sanity check.
Closes: https://bugs.gentoo.org/965478
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Done via:
```
git grep -l virtual/zlib$ | xargs sed -i -e 's@virtual/zlib$@&:=@'
```
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Update done using:
```
git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g
git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@g
git diff --name-only | xargs copybump
git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead
pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error
```
Plus reverts in sys-libs/minizip-ng and sys-libs/zlib-ng.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
The branch is quiet now.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Use a directory in binutils-patches.git.
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: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Result of running the command:
grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Result of running the command:
grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]hppa' -l | xargs ekeyword ~hppa
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Patchset log:
e6c0416cd6a (HEAD -> gentoo/binutils-2.45, tag: gentoo/binutils-2.45-3, gentoo/gentoo/binutils-2.45) libctf: link: rejig lazy opening to not need weak symbols
2330d43c431 libctf: don't run tests requiring deduplicating linker unless one is in use
ef3b54c6da5 libctf: exclude always-emitted Solaris symbols from the symtypetab
ad51ff9367b libctf: get libctf-nobfd.ver from the right place with Solaris ld
a998d99a7ea libctf: do not use mmap on Solaris 11
7757ef4a8b0 LoongArch: Fix symbol size after relaxation
3c0c1b0482f libiberty: sync with gcc
3dbec0d8fd2 Re: resbin: don't pass NULL as printf %s arg
5f3b1671d35 PR 33229 nds32 gas segfaults on gcc output
390066f36a1 strip: Don't treat fat IR objects as plugin object
b7396b55f67 strip: Don't check target_defaulted in input BFD
3d6a0b4a3f6 Adjust testsuites for -flto and without -g
845089ce668 Apply a similar libiberty fix as in 7d53105d for libopcodes and libgprofng
ef7b999d6d7 Gentoo: Give also libctf optionally a gentoo-specific soversion
062144ba260 Gentoo: add --with-extra-soversion-suffix= option
bd82239c2a6 Gentoo: libiberty: install PIC version of libiberty.a
f3ac50887e8 Automatic date update in version.in
879eabba0fc Fix more unused variable warnings
29996106c19 Fix unused variable warnings
5541a7e7712 binutils: drop unused note_size, contents, old variables
f4290b25097 bfd: drop unused elt_no
2a07e06e269 Re: Re-enable development on the 2.45 branch
ad8cf343ab5 Re-enable development on the 2.45 branch
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
Change what I did in 3fd95a964d47d3cb017144c8da91847462d678e9 and do it
unconditionally, not just for tests, as it's not enough to do it in src_test.
Bug: https://sourceware.org/PR33267
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Filter -mno-direct-extern-access from tests to avoid:
```
FAIL: Build indirect-extern-access-1a without PIE
FAIL: Build indirect-extern-access-2a without PIE
FAIL: Build pr21997-1a
FAIL: Build pr21997-1b
FAIL: Build pr22001-1a
FAIL: Build pr22001-1b
FAIL: Build pr25749-1b (-pie -fPIE -w)
FAIL: Build property 1 (.o)
FAIL: Build property 2 (.o)
FAIL: Build property-6.o
FAIL: Build protected-data-1 without PIE
FAIL: Build protected-func-2a without PIE
FAIL: Build protected-func-2 without PIE
FAIL: S-records
FAIL: Undefined weak symbol (-fno-PIE -no-pie)
```
(I have a patch locally to add -mno-direct-extern-access to the filter-flags
whitelist which exposes this.)
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
This needed some followups in the end so let's back it out of 2.44 and
instead handle it in 2.45 (where most of it is upstream but some fixes
need to be backported).
In particular, see https://sourceware.org/PR33230 and https://sourceware.org/PR33246
which got reported post-release. This may have caused bug #960493 too.
Having 2.44 be "vanilla" in this regard will make it much easier to test
and debug.
TL;DR: Drop the backports we did, the functionality we needed from them
is in 2.45 anyway.
Bug: https://bugs.gentoo.org/960493
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Funny story. We had to update this patch for 2.41 after one line had changed. It
turns out that line was changed by accident, and the change has now been
reverted, so we just need to switch back to the earlier patch!
Closes: https://bugs.gentoo.org/960881
Closes: https://bugs.gentoo.org/960897
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
|
|
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
Signed-off-by: Andreas K. Hüttel <dilfridge@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>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Takes inspiration from sys-libs/glibc's sanity check as well as the one
I recently added for sys-libs/musl (c1078bc34bba21a2ff31289744e17f5addc07c89).
The idea is to just check that the new binutils (gas, ld) produce working
binaries for a trivial example. PR32991 is a nice example of where this
could help find a problem.
This doesn't help with all cases, but it is somewhat related to the linked
Gentoo bugs.
It's more important for the case where the user is on an odd target or has
specified some unusual flags and binutils is completely broken to avoid
merging and bricking the machine (as a fixed binutils won't be buildable).
Better safe than sorry.
Future work:
* Check all ABIs (like -m32)
* Do the same for gcc?
Bug: https://bugs.gentoo.org/622690
Bug: https://bugs.gentoo.org/802036
Bug: https://sourceware.org/PR32991
Signed-off-by: Sam James <sam@gentoo.org>
|
|
In 2.44-r2, we backported support for strip w/ LTO, but it broke stripping
non-LTO static libraries. Backport the fix for that too.
I've also extended the dot-a.eclass tests (c4695b465b2736b418c784146cc21ec6f4dcc31e)
for this.
Closes: https://bugs.gentoo.org/957882
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
... in 04f82eb996d86d0efa79b96a4f7ee3220029ea20. We want to propagate
the strip fix here especially anyway because it shows up in nasty ways
Bug: https://bugs.gentoo.org/834720
Fixes: 04f82eb996d86d0efa79b96a4f7ee3220029ea20
Signed-off-by: Sam James <sam@gentoo.org>
|
|
* EAPI 8 (which allows using dot-a)
* Use dot-a.eclass to avoid installing broken static libraries w/ LTO.
Note that we have to do it even w/ USE=-static-libs, per
b2d68e3a4bae7c7b144fabe58efdccf68c862628.
Bug: https://bugs.gentoo.org/834720
Bug: https://bugs.gentoo.org/900905
Signed-off-by: Sam James <sam@gentoo.org>
|
|
... as a handful of tests trigger -Wreturn-type and then become UNSUPPORTED.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Same rationale as a00c963757178daa0cd775d36f6fa5443516a29b. Also, overdue.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|