aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* toolchain: assign PKG_CPE_IDAlexander Couzens2023-09-271-0/+1
| | | | | | | | | The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: https://github.com/openwrt/packages/issues/8534 Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* toolchain/binutils: enable zstd supportAndre Heider2023-03-171-1/+1
| | | | | | Debug sections can now be compressed using zstd. Signed-off-by: Andre Heider <a.heider@gmail.com>
* toolchain: remove installing twice in the "initial" subdirAndre Heider2023-02-191-6/+1
| | | | | | | | | | | | | | | | This was apparently introduced to recreate the toolchain (wipe staging_dir/toolchain*, but keep build_dir/toolchain*, followed by a `make toolchain/compile`). But it leaves leftovers and causes re-links to happen at src_install phase, because of the changed paths, possibly adding yet another source of issues. With the prior commits removing various hacks related to the "initial" folder we can remove installing it twice altogether. The recreated toolchain is exactly the same as before. Signed-off-by: Andre Heider <a.heider@gmail.com>
* toolchain/binutils: get rid of outdated linaro version string hackAndre Heider2023-02-191-1/+0
| | | | | | | | | | This reverts commit 9d1b619cb1a7dd18cd12cab0d9f93452b10e2e11. No Linaro binutils are supported anymore, the leftover removal commit missed one line. Fixes: b648e1c0 "binutils: remove 2.25.1 support and leftovers of older versions" Signed-off-by: Andre Heider <a.heider@gmail.com>
* toolchain/binutils: get rid of outdated libiberty hackAndre Heider2023-02-191-1/+0
| | | | | | | | | | | | | | | This reverts commit 68fcb15f90edd92ef36990c5696b9e79df07a6ec. binutils syncs libiberty from gcc, which defaults to not installing itself since [0], see also [1]. That change is apparently part of binutils 2.24, and the oldest supported version here is 2.37, hence we can remove this hack. [0] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=48d7db63ff581b026e057badf39f1f23fdf47928 [1] https://gcc.gnu.org/onlinedocs/libiberty/Using.html Signed-off-by: Andre Heider <a.heider@gmail.com>
* toolchain/binutils: get rid of ARC leftoversAndre Heider2023-02-191-6/+0
| | | | | | | | | | | | In [0] support for ARC specific binutils were added, which was later removed again [Fixes:]. Upstream binutils never had an extlib. [0] 8b5d644b "toolchain: add support of ARC architecture" Fixes: 8568dcd9 "toolchain: Remove binutils 2.29 for ARC targets" Signed-off-by: Andre Heider <a.heider@gmail.com>
* toolchain/binutils: fill in missing GRAPHITE_CONFIGUREAndre Heider2023-02-191-0/+6
| | | | | | | This var is used further down, but it's empty. Fix that with the very same values gcc uses. Signed-off-by: Andre Heider <a.heider@gmail.com>
* toolchain/binutils: use explicit configure argsAndre Heider2023-02-091-0/+4
| | | | | | | Spell out what we want to enable or disable. This prevents host libs to leak in, so everyone get the same feature set. Signed-off-by: Andre Heider <a.heider@gmail.com>
* toolchain/binutils: add support for version 2.40Linhui Liu2023-01-211-0/+4
| | | | | | | Release notes: https://sourceware.org/pipermail/binutils/2023-January/125671.html Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* toolchain/binutils: remove old sha256sumLinhui Liu2023-01-211-16/+0
| | | | | | Fixes: b3b0a25ee8cf5f508f06822d53af0b60e3116d8a Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* toolchain: binutils: add support for version 2.39Nick Hainke2022-08-131-0/+4
| | | | | | | Release notes: https://sourceware.org/pipermail/binutils/2022-August/122246.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* toolchain: binutils: add support for version 2.38Rui Salvaterra2022-03-091-0/+4
| | | | | | | | | | | | While at it, also fix the download.xs4all.nl and add ftp.gnu.org to the GNU mirrors, as it seems to be updated faster. Deleted (upstreamed): 600-Close_the_file_descriptor.patch [1] [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=5a98fb7513b559e20dfebdbaa2a471afda3b4742 Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* toolchain/binutils: add binutils 2.37Rui Salvaterra2021-07-251-0/+4
| | | | | | Tested on ath79/generic, without issues. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* toolchain/binutils: add binutils 2.36.1DENG Qingfang2021-05-011-0/+4
| | | | | | Add binutils version 2.36.1 Signed-off-by: DENG Qingfang <dqfext@gmail.com>
* toolchain/binutils: update to 2.35.2DENG Qingfang2021-05-011-2/+2
| | | | | | Update binutils 2.35 to 2.35.2 Signed-off-by: DENG Qingfang <dqfext@gmail.com>
* binutils: fix compilation with ccacheRosen Penev2021-03-191-0/+3
| | | | | | | | For some reason, one of the configure checks results in some infinite loop and ends up spawning endless gcc processes, causing OOM. Just pass a configure var to avoid it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* toolchain/binutils: update to 2.35.1DENG Qingfang2020-10-041-2/+2
| | | | | | Update binutils 2.35 to 2.35.1 Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
* toolchain/binutils: add binutils 2.35DENG Qingfang2020-08-311-0/+4
| | | | | | Add binutils version 2.35 Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
* toolchain/binutils: remove versions 2.29.1 and 2.31.1Adrian Schmutzler2020-08-031-8/+0
| | | | | | | | We currently support four versions of binutils in parallel. Let's just keep the latest two and drop the older ones before the next one comes around. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* toolchain/binutils: Add binutils 2.34Daniel Engberg2020-02-221-0/+4
| | | | | | | Refresh patches Drop 300-012_check_ldrunpath_length.patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* toolchain/binutils: use default Host/Configure ruleAlexandru Ardelean2019-05-111-26/+19
| | | | | | | | | | | | This seems to have been omitted over-time. Using the default Host/Configure seems to work fine. The last patches to have touched this in a major way were ~10 years ago: 33a0eb3613d ("cosmetic & coherency fixes") 7eb15898755 ("build system refactoring in preparation for allowing packages to do host-build steps") Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* toolchain: Remove binutils 2.29 for ARC targetsDaniel Engberg2019-03-201-9/+0
| | | | | | Remove binutils 2.29 for ARC targets Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* toolchain/binutils: Add binutils 2.32Daniel Engberg2019-02-261-0/+4
| | | | | | Add binutils 2.32 to repo Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* toolchain/binutils: Remove 2.30Daniel Engberg2019-02-171-4/+0
| | | | | | Remove binutils 2.30 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* toolchain/binutils: Add binutils 2.31.1Daniel Engberg2018-07-301-0/+4
| | | | | | Add binutils 2.31.1 to repo Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* binutils: remove version 2.27Felix Fietkau2018-07-101-5/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/binutils: Use xz tarballs where possibleDaniel Engberg2018-04-291-3/+4
| | | | | | | Switch to xz for 2.29.1 and 2.30 These tarballs are about 10Mbyte smaller than bz2. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* toolchain/binutils: exclude .rej files when unpacking the tarballFelix Fietkau2018-03-121-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/binutils: remove version 2.28Felix Fietkau2018-03-121-4/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/binutils: add support for version 2.30Felix Fietkau2018-03-121-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/arc: update to the most recent release arc-2017.09Evgeniy Didin2018-01-271-3/+3
| | | | | | | | | | | | | | | This commit finally bumps ARC tools to the most recent arc-2017.09 release version. ARC GNU tools of version arc-2017.09 bring some quite significant changes like: * Binutils v2.29 with additional ARC patches * GCC 7.1.1 with additional ARC patches More information on this release could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2017.09-release Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> CC: Alexey Brodkin <abrodkin@synopsys.com> CC: John Crispin <john@phrozen.org>
* binutils: add version 2.29.1Hauke Mehrtens2017-10-151-0/+4
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* toolchain/arc: update to the most recent release arc-2017.03Evgeniy Didin2017-07-181-3/+3
| | | | | | | | | | arc-2017.03 is the most recent release toolchain for ARC cores and it is based on upstream Binutils 2.28 and GCC 6.3.0 Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org> Cc: Hauke Mehrtens <hauke@hauke-m.de>
* build: stop overriding STAGING_DIR_HOST for toolchain buildFelix Fietkau2017-05-251-3/+1
| | | | | | | | | This causes various issues in other places that assume that host binaries are staged in STAGING_DIR_HOST. Since all the right places use HOST_BUILD_PREFIX, override that instead. This fixes some issues with quilt on toolchain dirs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/arc: update to the most recent release arc-2016.09Alexey Brodkin2017-05-021-6/+6
| | | | | | | | | | | | | | | | | | arc-2016.09 is the most recent toolchain for ARC cores and it is based on top of upstream Binutils 2.27 and GCC 6.2.1. With updated major version of GCC we copied all GCC 6.x patches for ARC as well as Bintils 2.27 patches. Note that toochain sports ARCv4 ABI and so must be used with 4.8+ Linux kernels. Even though it will build v4.4 kernel perfectly fine on attempt to run user-space apps they won't work with older kernel. That said previuosly sent RFC patches with Linux kernel update are required: [1] https://patchwork.ozlabs.org/patch/726686/ [2] https://patchwork.ozlabs.org/patch/726687/ Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* toolchain/binutils: Add binutils 2.28Daniel Engberg2017-03-201-0/+4
| | | | | | Add binutils 2.28 to repo Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* binutils: remove 2.25.1 support and leftovers of older versionsFelix Fietkau2017-02-071-17/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-161-5/+5
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/binutils: Add binutils 2.27Daniel Engberg2016-10-131-0/+4
| | | | | | | Add binutils 2.27 to toolchain Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Signed-off-by: Felix Fietkau <nbd@nbd.name> [refresh patches]
* toolchain/binutils: add 2.26.1Syrone Wong2016-07-151-0/+4
| | | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fixes/cleanup]
* toolchain: Bump ARC tools to arc-2016.03Alexey Brodkin2016-05-191-4/+4
| | | | | | | | | | | | | | | | | This change switches ARC tools to the most recent arc-2016.03 version. ARC GNU tools of version arc-2016.03 bring some quite significant changes like: * Binutils v2.26+ (upstream commit id 202ac19 with additional ARC * patches) * GCC v4.8.5 * GDB 7.10 More about changes, improvements and fixes could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* toolchain: add support of ARC architectureFelix Fietkau2015-11-101-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is "arc-2015.06") is based on upstream binutils 2.23. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06 Latest release of ARC GDB (as of today this is "arc-2015.06-gdb") is based on upstream gdb 7.9.1. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb Note that for binutils and gdb that come from unified git repository (which is the case for upstream binutils/gdb today) we need to disable building of gdb in binutils and binutils in gdb hence in binutils: ------>8------ --disable-sim --disable-gdb ------>8------ and in gdb: ------>8------ --disable-binutils --disable-ld --disable-gas ------>8------ Also in gdb we disable sim because if the following breakage while building with it: ------------>8------------ /usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \ -mono -fast -pbb -switch sem5-switch.c \ -cpu a5f -infile ./mloop5.in \ -outfile-suffix 5 unknown option: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 ------------>8------------ Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> SVN-Revision: 47438
* binutils: add binutils 2.25.1Hauke Mehrtens2015-09-111-6/+15
| | | | | | | | This adds binutils 2.25.1 as an option to OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46874
* toolchain: binutils: enhance build reproducabilitySteven Barth2015-06-291-0/+1
| | | | | | | | | built toolchain utilities will always operate in deterministic mode: https://sourceware.org/binutils/docs-2.25/binutils/ar-cmdline.html Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46137
* binutils: remove version 2.20.1 (only used by avr32)Felix Fietkau2015-03-241-15/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44960
* binutils: run install twice instead of overwriting the final toolchain with ↵Felix Fietkau2014-12-271-1/+3
| | | | | | | | | | | the initial one fixes compiler error after a binutils rebuild/reinstall without rebuilding the rest of the toolchain Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43785
* binutils: enable plugin supportFelix Fietkau2014-12-271-0/+1
| | | | | | | | | | | | | | | | --enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which must be used with GCC 4.9 for LTO to work. Without this option, gcc-ar etc. will just fail with sorry - this program has been built without plugin support Using the normal ar from binutils with GCC 4.9 and -flto will cause linking with static "convenience" libraries to fail. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 43783
* binutils: remove linaro version string, it confuses gcc lto support detectionFelix Fietkau2014-10-201-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43004
* toolchain: fix binutils broken symlinkFelix Fietkau2014-10-181-1/+1
| | | | | | | | | | The Makefile for binutils creates a broken symlink to "binutils-linaro" in "trunk/build_dir/toolchain-<target>_gcc-4.9-linaro_uClibc-0.9.33.2". Modify the Makefile to point the symlink to the correct directory. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 42954
* binutils: remove old versionsFelix Fietkau2014-10-051-6/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42776