summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sys-devel/binutils: apply linker search path fixes from Chewi for prefixSam James2023-02-221-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* sys-devel/binutils: filter -mindirect-branch w/ CETSam James2023-01-271-0/+2
| | | | | | Incompatible with CET. Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: bdepend on pkgconfig when neededAndreas K. Hüttel2023-01-151-0/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-devel/binutils: fix build with lld-16WANG Xuerui2023-01-141-1/+8
| | | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: drop default-gold useflag in 9999Andreas K. Hüttel2023-01-141-5/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Move {virtual -> app-alternatives}/yaccSam James2022-12-021-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: drop forced exec stack warnings for alt-archesSam James2022-10-171-6/+6
| | | | | | | | | | | 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>
* sys-devel/binutils: sort IUSESam James2022-09-291-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: add zstd support to liveSam James2022-09-291-1/+4
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: fix UnusedInherits (elisp-common)Sam James2022-09-061-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: fix automagic msgpack depSam James2022-09-061-2/+4
| | | | | Closes: https://bugs.gentoo.org/865875 Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: drop USE=emacs (moved to app-emacs/dwarf-mode)Sam James2022-09-061-13/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: make gprofng optional (masked USE flag)Sam James2022-08-261-1/+9
| | | | | | | | | | | | 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>
* sys-devel/binutils: update execstack commentSam James2022-08-161-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: disable emacs build for crossSam James2022-08-101-4/+4
| | | | | | Causes collisions w/ cross-*/binutils Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: add the "emacs" USE flagMaciej Barć2022-08-101-2/+14
| | | | | | Closes: https://bugs.gentoo.org/841011 Acked-by: Sam James <sam@gentoo.org> Signed-off-by: Maciej Barć <xgqt@gentoo.org>
* sys-devel/binutils: Bump 2.39 patchset to 3 (no revbump)Andreas K. Hüttel2022-08-071-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-devel/binutils: fix typo in commentSam James2022-08-061-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: don't default-enable gold in 2.39+Sam James2022-08-051-1/+1
| | | | | | | | | | | | 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>
* sys-devel/binutils: 9999: don't die on already clean installed treeWANG Xuerui2022-07-291-2/+2
| | | | | | | | 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>
* Revert "sys-devel/binutils: Prevent relinking on install, try 1"Andreas K. Hüttel2022-07-091-18/+3
| | | | | | | | | | | | | | | | 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>
* sys-devel/binutils: Prevent relinking on install, try 1Andreas K. Hüttel2022-06-121-3/+18
| | | | | | | | | | | | | | 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>
* sys-devel/binutils: sync output; more verbose logsSam James2022-05-301-4/+9
| | | | | See: 2619d10984d0633e8cab4464c389ba9cc10642cb Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: add --enable-warn-{execstack,rwx-segments} to 9999 onlySam James2022-05-261-0/+14
| | | | | | | 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>
* sys-devel/binutils: use econf; sync from liveSam James2022-05-261-4/+2
| | | | | | | | | | | | | 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>
* sys-devel/binutils: consistent style in 9999Sam James2022-04-191-33/+36
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: simplify PGO logicSam James2022-02-141-4/+0
| | | | | | | Doh. Reported-by: Arfrever Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: fix DoubleEmptyLineSam James2022-01-281-1/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: really fix PGO for cross (disable it)Sam James2022-01-281-2/+9
| | | | | | Closes: https://bugs.gentoo.org/832174 Fixes: 57737c9f2a9ce3e1b2492760e98932b7b9f9eea2 Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: disable PGO for cross compilesSam James2022-01-271-1/+1
| | | | | | | | 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>
* sys-devel/binutils: respect CFLAGS for PGOSam James2022-01-211-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: add USE=pgo for 2.37_p1-r2Sam James2022-01-211-1/+3
| | | | | | | | | | | | | 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>
* sys-devel/binutils: use simpler shell testMike Frysinger2022-01-061-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* sys-devel/binutils: remove uclibcDavid Seifert2022-01-011-7/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* sys-devel/binutils: [QA] fix IndirectInherits/UnusedInheritsDavid Seifert2022-01-011-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* sys-devel/binutils: grow stack size for muslSam James2021-12-061-0/+2
| | | | | | | Needed to avoid linker from dying on musl on larger builds. Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: sync template with -hppa64Sam James2021-09-161-3/+6
| | | | | See: e2d2448a60d4872646acbe9f1dd389e1f1950231 Signed-off-by: Sam James <sam@gentoo.org>
* sys-devel/binutils: 2.37 patchset bumpAndreas K. Hüttel2021-08-171-2/+5
| | | | | | | | 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>
* sys-devel/binutils: Enable new dtags via configure, not broken patchAndreas K. Hüttel2021-08-171-0/+2
| | | | | | 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>
* sys-devel/binutils: make CET optional (and disabled by default)Sergei Trofimovich2021-02-111-1/+6
| | | | | | | 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>
* sys-devel/binutils: add 'bc' to test dependsSergei Trofimovich2021-01-311-1/+4
| | | | | | | | | 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>
* sys-devel/binutils: expliictly disable debuginfodSergei Trofimovich2021-01-031-1/+5
| | | | | | | | 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>
* sys-devel/binutils: Remove ~sh from keywords templateAndreas K. Hüttel2020-09-251-1/+1
| | | | | Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-devel/binutils: Version bump, untested, no keywordsAndreas K. Hüttel2020-07-251-4/+4
| | | | | Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-devel/binutils: Update live version for separate patches repoAndreas K. Hüttel2020-07-251-48/+48
| | | | | Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-devel/binutils: add USE=vanilla to skip live patchesSergei Trofimovich2020-06-181-3/+5
| | | | | | | | 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>
* sys-devel/binutils: Use https:// again for git repository.Arfrever Frehtes Taifersar Arahesis2020-03-161-4/+2
| | | | | | Reverts: f6ce8a59558a0472d72be70e9568aa3ef566b108 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* sys-devel/binutils: fix live ebuild linkSergei Trofimovich2020-03-101-2/+4
| | | | | | | 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>
* sys-devel/binutils: move deps to BDEPEND for EAPI 7David Michael2020-03-091-1/+2
| | | | | | | | | 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>
* sys-devel/binutils: [QA] inherit toolchain-funcs.eclass directlyDavid Seifert2020-02-131-2/+2
| | | | | Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>