generic-poky/meta
Tyler Hall b578a06564 image-mklibs: handle position independent binaries
Executables built with -fpie have the ELF type DYN rather than EXEC
which makes them difficult to distinguish from shared libraries.
Currently when building the list of executables we omit these binaries
so they might fail to run on the resultant rootfs due to missing
symbols. One of these is systemd which builds -fpie unconditionally, so
mklibs breaks images containing systemd.

Modify the search to catch all executable files that are ELF and have an
interpreter set. Omit libc and libpthread as special cases because they
have an interpreter and are directly executable but treating them as
such is antithetical to the pupose of mklibs.

(From OE-Core rev: 30da34ef032d5b4b2f694743715f2c8d64dd9849)

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-10 23:13:54 +00:00
..
classes image-mklibs: handle position independent binaries 2016-03-10 23:13:54 +00:00
conf security_flags.inc: Special flags are needed for RPM 2016-03-09 17:00:28 +00:00
files ext-sdk-prepare: Catch setscene tasks which should have run but didn't 2016-03-07 00:11:39 +00:00
lib recipetool: create: split npm module dependencies into packages 2016-03-09 17:00:29 +00:00
recipes-bsp formfactor: assume a keyboard is plugged in 2016-03-07 00:11:38 +00:00
recipes-connectivity avahi-ui: add dbus to PACKAGECONFIG 2016-03-09 16:58:11 +00:00
recipes-core systemd: binfmt should be added to SYSTEMD_PACKAGES only if binfmt is enabled 2016-03-09 16:58:12 +00:00
recipes-devtools perl-rdepends: Remove circular dependencies 2016-03-10 23:13:54 +00:00
recipes-extended libpam: define limits.conf as CONFFILES of package libpam-runtime 2016-03-10 23:13:54 +00:00
recipes-gnome gtk3+: Add missing DEPENDS on wayland-native 2016-03-07 11:55:37 +00:00
recipes-graphics fontconfig: Revert changes made to FcConfigAppFontAddDir() recently 2016-03-09 16:58:12 +00:00
recipes-kernel linux-yocto/4.4: explicitly enable ftrace in tracing fragment 2016-03-09 16:58:13 +00:00
recipes-lsb4 libpng12: Handle no static libs 2016-02-15 16:28:46 +00:00
recipes-multimedia gstreamer1.0-plugins-bad.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5 2016-03-02 22:39:42 +00:00
recipes-rt rt-tests: Fix build with non-gcc compilers 2016-01-24 09:40:28 +00:00
recipes-sato sato/images: Add ptest image 2016-03-02 22:39:42 +00:00
recipes-support db: remove the NO_UPDATE_REASON and replace it a comment about RPM 2016-03-09 17:00:28 +00:00
site site/common-linux: Add some macros to avoid sleeps during configure 2015-12-14 22:30:56 +00:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00