Commit Graph

30 Commits (master)

Author SHA1 Message Date
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>
5 years ago
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>
7 years ago
Jo-Philipp Wich f7e56763e1 tools: remove static linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44285
9 years ago
Felix Fietkau 6f0f50b532 Revert "[tools] mklibs: upgrade to 0.1.37"
It breaks on trying to find ldso

SVN-Revision: 36849
11 years ago
Luka Perkov bb11c68b1e mklibs: upgrade to 0.1.37
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36820
11 years ago
Luka Perkov dbe806ec61 mklibs: upgrade to 0.1.35
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35818
11 years ago
Jo-Philipp Wich cf1698c637 use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
12 years ago
Jo-Philipp Wich 74d598ea7c mklibs: link statically
SVN-Revision: 33097
12 years ago
Luka Perkov 33dadd70ab mklibs: update to 0.1.34 (v2)
SVN-Revision: 32165
12 years ago
Felix Fietkau 1e7129ca50 Revert "[tools] mklibs: update to 0.1.34"
Too much broken, needs to be reworked

SVN-Revision: 32163
12 years ago
Luka Perkov 2ecd494691 mklibs: update to 0.1.34
SVN-Revision: 32145
12 years ago
Jo-Philipp Wich c379502147 mklibs: revert r31315
SVN-Revision: 31316
12 years ago
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
12 years ago
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
12 years ago
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
13 years ago
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
13 years ago
Jo-Philipp Wich 531e5e5386 mklibs: import missing symbol workaround from Freetz project (#7590)
SVN-Revision: 24984
13 years ago
Alexandros C. Couloumbis 163c424187 tools/mklibs: revert r24282
SVN-Revision: 24283
14 years ago
Alexandros C. Couloumbis be47a78299 tools/mklibs: update to version 0.1.30
SVN-Revision: 24282
14 years ago
Felix Fietkau 73384dd1ff mklibs: fix missing __pack_f symbol in uclibc after relink
SVN-Revision: 18438
15 years ago
Felix Fietkau 28d3db089d mklibs: use -Wl,--gc-sections when relinking - currently only saves a few bytes, maybe more in the future
SVN-Revision: 18123
15 years ago
Felix Fietkau 6f52504a97 mklibs: preserve the uclibc init symbol
SVN-Revision: 18085
15 years ago
Felix Fietkau 57d29edb07 mklibs: handle duplicate symbols properly
SVN-Revision: 18084
15 years ago
Felix Fietkau eeadbde8ea mklibs: fix crashes on nonexistant sections in readelf (thx, justus)
SVN-Revision: 18083
15 years ago
Felix Fietkau 76c655e96b mklibs: fix libpthread link error (#5851)
SVN-Revision: 17639
15 years ago
Felix Fietkau d9f9d74f69 mklibs: do not touch libraries that cannot be rebuilt
SVN-Revision: 17172
15 years ago
Felix Fietkau a6a83985a0 upgrade mklibs to 0.1.29 - fixes runtime errors in mklibs-readelf
SVN-Revision: 17171
15 years ago
Felix Fietkau 583f6f2d6a mklibs: do not fail on unresolved symbols, but print warnings
SVN-Revision: 17170
15 years ago
Florian Fainelli a865c9deb5 fix mklibs compilation failures on stdio.h not being included
SVN-Revision: 17164
15 years ago
Felix Fietkau 36aa20bdab add mklibs (based on a patch by florian) in preparation for optional library symbol stripping
SVN-Revision: 17154
15 years ago