| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Quoting Chewi on the PR for posterity:
"""
The first of these changes fixes two related issues with prefixed and crossdev environments.
The prefix issue is detailed in Gentoo bug #892549. The crossdev issue can be reproduced by trying something like:
USE="-python icu" aarch64-unknown-linux-gnu-emerge libxml2
The second of these changes is not essential, but it does make bfd's behaviour
in this area more consistent with the other linkers, which have not experienced these issues at all.
I'm not sure what upstream will make of these changes, particularly the second one,
but it is interesting that even gold does not behave the same way as bfd here.
Perhaps we can give them some exposure in Gentoo for a while before seeing what they think.
The second change would not be submitted upstream as-is because fully removing the ld.so.conf feature is a much bigger diff.
"""
This patch is, for now, only applied for prefix. It should be safe
on other systems but the issue is more pressing on prefix given a recent
migration.
Bug: https://bugs.gentoo.org/892549
Thanks-to: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Incompatible with CET.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This keeps them on by default, but it doesn't override the build
system disabling them for MIPS and so on.
I've asked upstream about the unexpected/counterintuitive
behaviour: https://sourceware.org/bugzilla/show_bug.cgi?id=29592#c10.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29592
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>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/865875
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can enable this by default in future, but it's brand new
in 2.39 with several bugs:
- Doesn't build on musl (https://sourceware.org/bugzilla/show_bug.cgi?id=29477)
- No man pages (https://sourceware.org/bugzilla/show_bug.cgi?id=29521)
- Broken at runtime without Java (https://sourceware.org/bugzilla/show_bug.cgi?id=29479)
- binutils-config (and this ebuild?) needs adaptation first (https://bugs.gentoo.org/865113)
Bug: https://bugs.gentoo.org/865113
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Causes collisions w/ cross-*/binutils
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/841011
Acked-by: Sam James <sam@gentoo.org>
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's not very active upstream, there's a bunch of build
failures which occur when actually using gold which
aren't fixed upstream, and we don't want to encourage
people to use it.
It's a waste of build time for most folks at
the moment.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
Otherwise src_install fails with current main branch of binutils-gdb.
This changes the 9999 ebuild to share the same behavior with the 2.38
ebuilds.
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 8ea456d072e46530ea53f04fe8935693fab59093.
This plainly didn't work. What I changed did not prevent install-time
relinking, and as far as I understand the situation now, relinking is also
correct here.
So forget about 2.37_p1-r3 and 2.38-r3, I'll add -r4 versions in a later
commit.
What is incorrect is the library search dir for relinking.
Bug: https://bugs.gentoo.org/834720
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The tooldir hack introduced to solve bug 147155 makes libtool
relink libraries during the installation phase. This fails in
enough cases to be an annoyance. Use the hack only for cross
installations.
*Untested*, needs some careful observation before regaining keywords.
Bug: https://bugs.gentoo.org/147155
Bug: https://bugs.gentoo.org/834720
Bug: https://bugs.gentoo.org/838925
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
| |
See: 2619d10984d0633e8cab4464c389ba9cc10642cb
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
| |
New in 2.39. This lays the groundworks for --enable-default-execstack
at some point, maybe even in 2.39 for us, but let's see how this goes first.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Sync more with binutils-libs by using econf instead of raw ./configure call;
means we benefit from some of the default arguments it passes, in particular
thinking of silent rules which upstream are starting to support more now too
(and enable by default) which econf disables.
Also, we use it fine in binutils-libs w/o issue.
2. Pick up changes from live ebuild.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
| |
Doh.
Reported-by: Arfrever
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/832174
Fixes: 57737c9f2a9ce3e1b2492760e98932b7b9f9eea2
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
It doesn't make sense there as we have to run the tests
(execute cross-compiled binaries).
Closes: https://bugs.gentoo.org/832174
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added upstream in 2.37, actually, but we'd missed it! Realised after seeing
the sync commit for GCC.
Sets --enable-pgo-build=lto if USE=pgo is set.
Throws in LTO for the PGO build too given it's cleaner than
e.g. having a USE=lto which only works when USE=pgo is also set,
REQUIRED_USE, or other nonsense.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
|
|
| |
Needed to avoid linker from dying on musl
on larger builds.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
See: e2d2448a60d4872646acbe9f1dd389e1f1950231
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
Needs pseudo-version since sources of generated files were changed
Bug: https://bugs.gentoo.org/808787
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/808787
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
|
| |
Reported-by: subzero_ro@yahoo.com
Bug: https://bugs.gentoo.org/770061
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Fixes one test: relro_test.sh
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/684046
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
| |
Fixed-by: Fabian Groffen
Reported-by: Jason Cooper
Closes: https://bugs.gentoo.org/754753
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
| |
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
| |
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
| |
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
|
|
| |
Sometimes Gentoo patches get stale and fail to apply to
binutils from head. Allow users to opt out.
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
Reverts: f6ce8a59558a0472d72be70e9568aa3ef566b108
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
| |
https:// scema is not supported by sourceware's git. Use git:// instead.
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Tweak only latest ~arch binutils-2.34.
Bug: https://bugs.gentoo.org/700898
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
| |
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
|