Go to file
Sebastian Kemper 6a90253c80 mysql: remove $(FPIC), fix AARCH64 builds
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>
2018-03-24 13:15:29 +01:00
.github github: adapt templates 2018-01-27 11:24:43 +08:00
.travis build,travis: fix gpg verification warning 2017-10-16 19:24:14 -04:00
admin htop: update to 2.1.0 2018-03-11 19:25:52 +02:00
devel patch: update to version 2.7.6 2018-02-13 02:29:27 -08:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6/tayga treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
kernel exfat-nofuse: set Yousong Zhou as the current maintainer 2018-01-25 09:36:20 +08:00
lang python,python3: remove `--with-system-ffi=no` config arg 2018-03-14 16:21:41 +02:00
libs Merge pull request #5766 from thess/faad2-config 2018-03-22 13:17:14 -04:00
mail mutt: bump to version 1.9.4 2018-03-14 07:04:22 +01:00
multimedia ffmpeg: Update to 3.2.10. 2018-03-22 13:54:43 -04:00
net mwan3: adjust dependency from ip-full to ip 2018-03-23 16:52:27 +02:00
sound pulseaudio: fix non-NEON ARM compiles 2018-03-19 03:45:02 +01:00
utils mysql: remove $(FPIC), fix AARCH64 builds 2018-03-24 13:15:29 +01:00
.travis.yml build,travis: do not modify .travis.yml 2017-07-24 16:32:55 -07:00
.travis_do.sh travis: allow $SDK to be a substring of the sdk filename 2018-03-14 19:07:46 +01:00
CONTRIBUTING.md treewide: use name in define and eval lines 2017-03-08 21:15:20 +01:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Fixed broken link in README.md 2015-07-10 13:51:22 -05:00

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.