Commit Graph

33 Commits

Author SHA1 Message Date
Henrik Grimler 6184e95a65 binutils: set correct /system/lib dir for 32bit arches 2018-11-01 15:05:03 +01:00
Leonid Pliushch dddcbf644c binutils: fix search dir order 2018-10-31 23:08:41 +01:00
Fredrik Fornwall 02c0668a9b Update to NDK r18 (#2827) 2018-09-19 23:29:39 +02:00
Fredrik Fornwall 988d27f1a5 binutils: Bump revision after change 2018-09-11 00:46:59 +02:00
its-pointless d6c857eee5 in android 7 and above there is a EACCESS error on readding root dir /
this causes error in ld.gold but not in ld.
this patch makes ld.gold ignore that error to match ld behaviour.
2018-09-10 22:30:42 +02:00
Fredrik Fornwall 4f784280d5 binutils: Update from 2.31 to 2.31.1 2018-07-21 04:10:21 +02:00
Fredrik Fornwall 71bf1621a9 binutils: Update from 2.30 to 2.31 2018-07-15 17:15:45 +02:00
Fredrik Fornwall 6988f30ee7 Bump c++-using packages 2018-06-26 13:29:06 +02:00
Fredrik Fornwall f0e8671e91 binutils: Fix merge issue 2018-03-20 23:15:46 +01:00
its-pointless db75340215 llvm: Update from 5.0.1 to 6.0
Also build our own libomp.
2018-03-20 23:10:53 +01:00
Fredrik Fornwall 568010dfbb binutils: Bump revision after patch 2018-03-18 21:00:14 +01:00
Buck Evan 424eac75a9 ld: set --enable-new-dtags by default (#2255)
The --enable-new-dtags option to ld causes it to emit a RUNPATH rather than RPATH entry in the elf header. Because the Android linker supports RUNPATH but not RPATH, this means many things can now Just Work. This should (eventually) eliminate the need to set LD_LIBRARY_PATH.

Prior art:

This [became the default for Linux in 2013](https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=822b8bf) but I think termux isn't getting it because it reports "Android" instead of "Linux"? Or maybe the way it works changed since then. Regardless, [Debian has been using RUNPATH by default since December 2016.](https://sources.debian.org/src/binutils/2.27.90.20161231-1/debian/patches/ld-new-dtags-by-default.diff/?hl=27#L27) Their [newest configuration](https://sources.debian.org/src/binutils/2.30-7/debian/rules/#L362) uses the newer configuration option seen in this patch. The [suse and gentoo](https://web.archive.org/web/20160101182307/http://comments.gmane.org/gmane.comp.gnu.binutils/57379) maintainers said they did the same in 2004 and 2005, respectively. So it seems well battle-tested, to me.

For the curious:
This came up because I'm working on [getting Homebrew working under Termux](https://github.com/Linuxbrew/brew/pull/621).
2018-03-18 20:51:06 +01:00
Fredrik Fornwall a83f7ab3d6 binutils: Update from 2.29.1 to 2.30 2018-01-29 10:38:02 +01:00
Fredrik Fornwall 04301bb86e binutils: Fix building on x86_64 with NDK r16
The NDK now defines elf_siginfo for x86_64.
2017-11-17 01:36:49 +01:00
Auxilus 3d5edf4e72 Update binutils to 2.29.1 2017-09-26 23:08:31 +02:00
Fredrik Fornwall 183e45b735 binutils: Update from 2.28 to 2.29 2017-08-07 20:59:09 +02:00
Fredrik Fornwall de2e69fc97 binutils: Bump package revision
The existing 2.28 version of gold linked against libgnustl in
ld.gold.
2017-07-15 10:16:39 +02:00
Fredrik Fornwall 120f533763 binutils: Update from 2.27 to 2.28 2017-03-05 03:09:16 +01:00
Fredrik Fornwall 6fa889f61a binutils: Add checksum 2017-01-11 03:02:40 -05:00
Fredrik Fornwall af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall f63405a98a binutils: Setup some arch-prefixed symlinks 2016-12-02 15:54:36 -05:00
Fredrik Fornwall 722ed12d69 Switch from ftp.gnu.org to mirrors.kernel.org 2016-09-24 18:42:39 -04:00
Fredrik Fornwall 183a88a12b binutils: Fix patch in ifndef __ANDROID__
Fixes #468.
2016-09-19 19:18:23 -04:00
Fredrik Fornwall 12458dcd28 binutils: Update from 2.26.1 to 2.27 2016-08-08 16:38:50 -04:00
Fredrik Fornwall b00543d589 binutils: Bump revision for x86_64 rebuild 2016-07-29 08:18:30 -04:00
Fredrik Fornwall 9f8453ac79 binutils: Update from 2.26 to 2.26.1 2016-07-04 17:24:25 -04:00
Fredrik Fornwall 5d4e558279 binutils: Fix x86-64 build 2016-06-16 18:40:21 -04:00
Fredrik Fornwall da4730db7f binutils: Remove arm-patch no longer needed 2016-05-18 18:40:41 -04:00
Fredrik Fornwall b7abed4fd5 binutils: Prepare for 64-bit build 2016-01-28 15:28:32 -05:00
Fredrik Fornwall d104e472bd binutils: Avoid linking to flex shared lib 2016-01-28 11:17:28 -05:00
Fredrik Fornwall fd000fc61c binutils: Update from 2.25 to 2.26 2016-01-28 10:48:48 -05:00
Fredrik Fornwall 70a744a484 More /system/bin/sh -> $PREFIX/bin/sh changes 2015-12-02 06:32:11 -05:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00