6a90253c80
mysql already makes sure that the compiler emits position-independent code when appropriate, namely when compiling shared objects. The mysql build system puts its own flag behind the CFLAGS, overriding whatever was set before. Additionally, forcing applications into PIC mode will just slow them down (mysql not only provides shared objects but also applications). Last but not least OpenWrt's $(FPIC) can cause build failures. This is the case currently for AARCH64: net_serv.o: In function `my_net_init': net_serv.cc:(.text+0x28): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against symbol `my_malloc' defined in .text section in ../mysys/libmysys.a(my_malloc.o) net_serv.cc:(.text+0x28): warning: Too many GOT entries for -fpic, please recompile with -fPIC /data/bowl-builder/aarch64_cortex-a53/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.3.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/7.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: final link failed: Symbol needs debug section which does not exist collect2: error: ld returned 1 exit status Makefile:955: recipe for target 'mysqld' failed make[7]: *** [mysqld] Error 1 Remove $(FPIC) from TARGET_CFLAGS to address all of the above. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> |
||
---|---|---|
.github | ||
.travis | ||
admin | ||
devel | ||
fonts/dejavu-fonts-ttf | ||
ipv6/tayga | ||
kernel | ||
lang | ||
libs | ||
multimedia | ||
net | ||
sound | ||
utils | ||
.travis.yml | ||
.travis_do.sh | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md |
README.md
OpenWrt packages feed
Description
This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.
Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.
Usage
This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot – Installation on the OpenWrt support site.
This feed is enabled by default. To install all its package definitions, run:
./scripts/feeds update packages
./scripts/feeds install -a -p packages
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.