kumquat-buildroot/package/busybox
Thomas Petazzoni 8f3f28102d busybox: fix build on SPARC and SPARC64
Since we introduced the support for building Busybox as individual
binaries, Busybox started failing to build on SPARC/SPARC64 with this
feature enabled:

appletlib.c:(.text.find_applet_by_name+0x14): relocation truncated to fit: R_SPARC_GOT13 against symbol `applet_nameofs' defined in .rodata.applet_nameofs section in libbb/lib.a(appletlib.o)
appletlib.c:(.text.find_applet_by_name+0x18): relocation truncated to fit: R_SPARC_GOT13 against symbol `applet_names' defined in .rodata.applet_names section in libbb/lib.a(appletlib.o)
[...]

This commit adds two patches to Busybox to fix this issue, by adding
-fPIC to CFLAGS when building on SPARC/SPARC64. The patches have been
submitted upstream.

Fixes:

  http://autobuild.buildroot.net/results/90144369ccea8c41ec7643a79a7ebfaa9b7db95c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-25 23:34:33 +02:00
..
0001-networking-libiproute-use-linux-if_packet.h-instead-.patch
0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch
0003-Makefile-include-per-arch-Makefile-before-Makefile.f.patch busybox: fix build on SPARC and SPARC64 2017-07-25 23:34:33 +02:00
0004-arch-sparc-sparc64-Makefile-define-ARCH_FPIC.patch busybox: fix build on SPARC and SPARC64 2017-07-25 23:34:33 +02:00
busybox-minimal.config busybox: disable CONFIG_FEATURE_CLEAN_UP in default configs 2017-07-05 12:25:15 +02:00
busybox.config busybox: disable CONFIG_FEATURE_CLEAN_UP in default configs 2017-07-05 12:25:15 +02:00
busybox.hash
busybox.mk system: move remounting / to the corresponding init systems 2017-07-22 22:34:40 +02:00
Config.in
inittab
mdev.conf
S01logging
S10mdev
S15watchdog
S50telnet
udhcpc.script