Commit Graph

32 Commits

Author SHA1 Message Date
Rosen Penev c8b7065f61 tools/mklibs: update to 0.1.45
Refresh 2to3 patch. Upstream partially did this against some older
python version. This is still needed.

Refreshed other patches to be python3 safe.

Remove uClibc patches as only musl is present now.

Refresh others.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-01 00:08:08 +01:00
David Bauer 9a9cf40dd9 download: add mirror alias for Debian
Add an alias for Debian packages and download them from the Debian
mirror redirector.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-26 20:41:00 +01:00
Daniel Golle 9437012b9e tools/mklibs: update to 0.1.44 and convert to Python 3
Since the switch to Python 3 build fails if CONFIG_USE_MKLIBS is set
("Strip unnecessary functions from libraries" in menuconfig) as
mklibs hasn't been converted to run on Python 3.

 * update to most recent upstream version which brings some
   reproducibility fixes
 * converted to Python 3 using 2to3
 * fixed mixed tab/spaces indentation
 * fixed use of string.* functions
 * some more minor fixes to make Python 3 happy

Fixes commit 19938c8de7 ("build: switch to Python 3")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-07-26 23:50:21 +02:00
Felix Fietkau 720b99215d treewide: clean up download hashes
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-16 22:39:22 +01:00
Jo-Philipp Wich f7e56763e1 tools: remove static linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44285
2015-02-06 00:00:43 +00:00
Felix Fietkau 6f0f50b532 Revert "[tools] mklibs: upgrade to 0.1.37"
It breaks on trying to find ldso

SVN-Revision: 36849
2013-06-05 00:21:23 +00:00
Luka Perkov bb11c68b1e mklibs: upgrade to 0.1.37
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36820
2013-06-03 01:18:45 +00:00
Luka Perkov dbe806ec61 mklibs: upgrade to 0.1.35
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35818
2013-02-26 21:49:11 +00:00
Jo-Philipp Wich cf1698c637 use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
2012-08-12 12:34:30 +00:00
Jo-Philipp Wich 74d598ea7c mklibs: link statically
SVN-Revision: 33097
2012-08-10 19:26:36 +00:00
Luka Perkov 33dadd70ab mklibs: update to 0.1.34 (v2)
SVN-Revision: 32165
2012-06-10 17:07:46 +00:00
Felix Fietkau 1e7129ca50 Revert "[tools] mklibs: update to 0.1.34"
Too much broken, needs to be reworked

SVN-Revision: 32163
2012-06-10 15:09:09 +00:00
Luka Perkov 2ecd494691 mklibs: update to 0.1.34
SVN-Revision: 32145
2012-06-09 21:22:37 +00:00
Jo-Philipp Wich c379502147 mklibs: revert r31315
SVN-Revision: 31316
2012-04-16 15:35:45 +00:00
Jo-Philipp Wich a8d663260d tools/mklibs: add missing <unistd.h> in readelf/elf.cpp
Fixes compile on my Arch Linux system, as unistd.h is needed for ::close().

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 31315
2012-04-16 15:11:32 +00:00
Mirko Vogt 1b75788451 add missing includes ('unistd.h') for mklibs
This is needed when compiling with GCC >= 4.7.0 since it doesn't implicitly include 'unistd.h' anymore (needed e.g. for file operations in this particular case)

 - Thanks to Luka Perkov

SVN-Revision: 31259
2012-04-12 12:19:56 +00:00
Felix Fietkau ad45e24bd0 mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
SVN-Revision: 25795
2011-02-28 18:17:02 +00:00
Felix Fietkau 04e3dae4ad mklibs: properly fix library linking - the relinking in some instances used static libraries instead of shared ones with the same name, that led to some nasty symbol conflicts and pic issues. fix this by always using the full path to the libraries and also fix the libc vs libpthread linking order
SVN-Revision: 25793
2011-02-28 16:17:04 +00:00
Jo-Philipp Wich 531e5e5386 mklibs: import missing symbol workaround from Freetz project (#7590)
SVN-Revision: 24984
2011-01-14 10:49:41 +00:00
Alexandros C. Couloumbis 163c424187 tools/mklibs: revert r24282
SVN-Revision: 24283
2010-12-06 13:21:09 +00:00
Alexandros C. Couloumbis be47a78299 tools/mklibs: update to version 0.1.30
SVN-Revision: 24282
2010-12-06 12:32:04 +00:00
Felix Fietkau 73384dd1ff mklibs: fix missing __pack_f symbol in uclibc after relink
SVN-Revision: 18438
2009-11-17 04:36:07 +00:00
Felix Fietkau 28d3db089d mklibs: use -Wl,--gc-sections when relinking - currently only saves a few bytes, maybe more in the future
SVN-Revision: 18123
2009-10-22 16:54:18 +00:00
Felix Fietkau 6f52504a97 mklibs: preserve the uclibc init symbol
SVN-Revision: 18085
2009-10-19 23:26:05 +00:00
Felix Fietkau 57d29edb07 mklibs: handle duplicate symbols properly
SVN-Revision: 18084
2009-10-19 23:26:00 +00:00
Felix Fietkau eeadbde8ea mklibs: fix crashes on nonexistant sections in readelf (thx, justus)
SVN-Revision: 18083
2009-10-19 23:25:42 +00:00
Felix Fietkau 76c655e96b mklibs: fix libpthread link error (#5851)
SVN-Revision: 17639
2009-09-20 12:51:48 +00:00
Felix Fietkau d9f9d74f69 mklibs: do not touch libraries that cannot be rebuilt
SVN-Revision: 17172
2009-08-08 02:24:59 +00:00
Felix Fietkau a6a83985a0 upgrade mklibs to 0.1.29 - fixes runtime errors in mklibs-readelf
SVN-Revision: 17171
2009-08-08 02:24:54 +00:00
Felix Fietkau 583f6f2d6a mklibs: do not fail on unresolved symbols, but print warnings
SVN-Revision: 17170
2009-08-08 02:24:49 +00:00
Florian Fainelli a865c9deb5 fix mklibs compilation failures on stdio.h not being included
SVN-Revision: 17164
2009-08-07 10:31:27 +00:00
Felix Fietkau 36aa20bdab add mklibs (based on a patch by florian) in preparation for optional library symbol stripping
SVN-Revision: 17154
2009-08-07 00:07:18 +00:00