65 Commits

Author SHA1 Message Date
Natanael Copa
52c531d4b9 main/binutils: use mmap 2019-01-02 15:57:10 +01:00
J0WI
d2bfb22c8e main: (Bulk change) Update source urls to https using HTTPS Everywhere 2018-10-06 17:10:04 +00:00
Natanael Copa
6c1b85d566 main/binutils: backport fixes
add fixes from upstream to fix `gcc -static -no-pie` with gcc 8.
2018-09-26 06:03:38 +00:00
Natanael Copa
cbce38c775 main/binutils: remove unused patch 2018-09-04 11:37:21 +00:00
Natanael Copa
99f7553af1 main/binutils: add missing patch 2018-08-20 11:01:25 +00:00
Natanael Copa
d98b65e958 main/binutils: upgrade to 2.31.1 2018-08-20 06:37:36 +00:00
Natanael Copa
1eb25a288e main/binutils: install libiberty.a
fixes #8992
2018-06-12 20:21:13 +00:00
Natanael Copa
b870dd8c4e main/binutils: build --with-pic and --enable-shared
add --enable-shared unless we are making a cross compiler

shared libs reduces size

The --with-pic fixes the error: relocation R_X86_64_PC32 against symbol
`_bfd_std_section' can not be used when making a shared object;

Also modernize a bit while at it
2018-06-06 14:19:35 +00:00
Natanael Copa
8c51780fa4 main/binutils: add fix from upstream for aarch64
downstream issue:
https://github.com/linuxkit/linuxkit/pull/3056
2018-06-06 12:30:22 +00:00
Natanael Copa
5bede98ffd main/binutils: backport fix for ppc64le
This fixes clang testsuite.

Patch was taken from upstream binutils-2_30-branch
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=shortlog;h=refs/heads/binutils-2_30-branch

Upstream report:
https://sourceware.org/ml/binutils/2018-03/msg00183.html
2018-05-18 09:08:41 +00:00
Natanael Copa
77db7ffb18 main/binutils: disable shared libs
fixes #8856
2018-05-07 11:44:31 +00:00
Natanael Copa
1699ed48b8 main/binutils: upgrade to 2.30 2018-04-30 11:44:56 +00:00
Jakub Jirutka
63f5e7d295 [various]: unify names of licenses according to SPDX
This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.

Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").

Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.

GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.

Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!

[1]: https://spdx.org/licenses/
2017-12-30 21:05:50 +01:00
Jakub Jirutka
730cdcef69 main/*: fix homepage url and source from http:// to https://
Most of these updates is based on data from https://repology.org/,
detection based on permanent redirect from http:// to https://.

$source urls are updated when they contain $url as substring.
2017-11-19 14:16:51 +01:00
Nils Andreas Svee
30e67c63db main/binutils: add mips support
* Remove hash-style-gnu.patch in favor of the patch adding a configure flag for it from upstream
* Add gold-mips.patch from Debian, which makes gold configure correctly for MIPS64 targets
* Use CTARGET_ARCH instead of CARCH to correctly determine whether to enable the x86_64-pep target or not
2017-10-20 05:29:46 +00:00
William Johansson
1e88af3fad main/binutils: enable x86_64-pep target
On x86_64, enable the additional target x86_64-pep. This will allow Xen
to build it's EFI bootloader.
2017-05-15 06:35:44 +00:00
Jakub Jirutka
f741c9ab82 main/binutils: fix invalid source when cross-compiling 2017-05-03 01:47:59 +02:00
Leonardo Arena
88c575c673 main/binutils: security fixes #7168 (CVE-2017-7614) 2017-04-25 13:49:58 +00:00
Sören Tempel
bae49db117 main/binutils: upgrade to 2.28 2017-03-18 15:48:39 +01:00
Timo Teräs
f9110e603a scripts/bootstrap.sh, main/{binutils,gcc,musl}: no more options="toolchain"
abuild has been updated to figure this one out from $BOOTSTRAP.
2017-02-27 06:23:05 +00:00
Timo Teräs
a95a079d7a scripts/bootstrap.sh, binutils, gcc, musl: improve bootstrap
- requires new abuild (from git until 2.30 is tagged)
- properly build initial musl-dev before c-compiler is available
- mark core aports with options=toolchain, and fix all makedepends
- bootstrap.sh: reorganize and use set -e there
- bootstrap.sh: use new EXTRADEPENDS_* to pull in implicit dependencies
  during bootstrap to simplify the script
2017-02-17 08:22:03 +00:00
Przemyslaw Pawelczyk
e5af917464 main/binutils: Enable deterministic archives.
"GNU ar and other tools from binutils have a deterministic mode which
will use zero for UIDs, GIDs, timestamps, and use consistent file modes
for all files.  It can be made the default by passing the
--enable-deterministic-archives option to ./configure."

Quoted from:
https://reproducible-builds.org/docs/archives/
2016-12-26 09:59:56 +00:00
Timo Teräs
b9f08c4bb8 main/binutils: fix cross-compile dependencies 2016-11-17 07:18:00 +00:00
Natanael Copa
8bf75a4b89 main/binutils: upgrade to 2.27 2016-08-04 10:01:39 +02:00
Timo Teräs
8ac74adb0c main/binutils: new bootstrap, cleanups 2016-07-27 12:11:24 +00:00
Natanael Copa
f1a61d1427 main/binutils: upgrade to 2.26.1 2016-07-12 15:38:28 +00:00
Timo Teräs
f7bf2ccff0 main/binutils: remove libiberty from cross builds 2016-07-08 08:14:39 +00:00
Timo Teräs
04384a8e37 main/binutils: fix automatic so dependencies for cross builds 2016-07-06 10:29:54 +00:00
Natanael Copa
41a2ea4851 main/binutils: upgrade to 2.26 2016-03-29 08:16:43 +00:00
Bartłomiej Piotrowski
b4a13e7314 Do not delete *.la files manually
Since abuild v2.22.0, these are removed automatically unless 'libtool'
option has been specified.
2015-09-10 13:59:03 +02:00
Natanael Copa
3c87791c8f main/binutils: upgrade to 2.25.1 2015-08-14 12:11:48 +02:00
Timo Teräs
ecd6d7d10f main/binutils: default to 'gnu' hash style 2015-05-28 16:58:17 +03:00
William Pitcock
57e9072f7c main/binutils: do not use $pkgname for computing $_srcdir. 2015-05-18 19:03:15 -05:00
Natanael Copa
9dc337abcc main/binutils: install libiberty and split -dev 2015-04-22 07:05:36 +00:00
Natanael Copa
769e8abc92 main/binutils: add sysroot support
without sysroot support it's hard to build against a local glibc and do
libc comparisions.
2015-04-14 12:04:18 +00:00
Natanael Copa
8d6982ebe3 main/binutils: upgrade to 2.25 2014-12-25 13:17:33 +00:00
Timo Teräs
2596706365 main/binutils: revert to ld.bfd as default
ref #3616 - Seems gold produces invalid libstdc++ for x86, and cannot
be yet enabled as default linker.

Keep building it, and split it to a separate package.
2014-12-12 11:03:26 +02:00
Timo Teräs
9070b3ef74 main/binutils: enable gold, and make it default linker 2014-12-10 16:55:14 +02:00
Natanael Copa
6e866d5d89 main/binutils: various security fixes
ref #3544

Adresses:
CVE-2014-8484
CVE-2014-8485
CVE-2014-8501
CVE-2014-8502
CVE-2014-8503
CVE-2014-8504
CVE-2014-8737
CVE-2014-8738
2014-12-08 14:49:06 +00:00
Natanael Copa
b8cb931e31 main/binutils: remove bash dependency
found patch:
http://git.proteanos.com/pkg/gdb.git/plain/patches/02_fix-opcodes-configure-bfd-version-on-busybox-ash.patch
2014-05-07 06:44:59 +00:00
Natanael Copa
cca61def77 main/binutils: work around issue with configure.lineno
Seems like the version of autoconf that generated the tarballs was
buggy and generates broken configure.lineno script.

We workaround this by using bash as shell which has support for LINENO.

https://sourceware.org/bugzilla/show_bug.cgi?id=16370
2014-05-06 08:09:08 +00:00
Natanael Copa
137560ac0c main/binutils: upgrade to 2.24 2014-04-25 13:01:12 +00:00
Fabian Affolter
7fdaf929b7 main/binutils: specify license 2013-12-03 14:39:33 +00:00
Timo Teräs
b3cd6c73bb main/binutils: keep libiberty.a in normal build
some applications need it
2013-10-20 20:09:50 +03:00
Timo Teräs
057d88bfea main/binutils: fix crosscompiler packaging 2013-09-23 12:56:33 +00:00
Timo Teräs
1c618e9658 main/binutils: fix crosscompiler generation 2013-09-20 13:48:16 +00:00
Natanael Copa
92bab6529c main/binutils: add replaces to -libs 2013-09-10 12:50:15 +00:00
Natanael Copa
6a32c55e54 main/binutils: split out -libs 2013-09-10 09:04:16 +00:00
Timo Teräs
9feea1bff9 main/binutils: fix musl build, support crosscompiler creation 2013-09-10 08:56:20 +00:00
Timo Teräs
5c90471732 [all autotools packages]: normalize ./configure 2013-07-30 08:54:53 +00:00