kumquat-buildroot/toolchain
Yann Droneaud 2e6f417d7e toolchain/external: copy libssp.so if SSP is enabled
In Buildroot, the internal toolchain backend uses the SSP support from
the C library, not that of gcc.

Some external toolchains come with SSP suport in gcc, which is
implemented in libssp.so, rather than in the C library.

When a toolchain even has both, it is up to the compiler to decide
whether it will link to libssp or use the support from the C library.

However, in the latter case, a (incorrectly written) package may decide
to explicitly link with libssp.so when it is available (even though the
compiler may have decided otherwise if left by itself). This is the case
for example with sox, which results in runtime failures, such as:

    $ sox
    sox: error while loading shared libraries: libssp.so.0: cannot open
    shared object file: No such file or directory

Even if sox is wrong in doing so, the case for libssp-only toolchains is
still valid, and we must copy it as we copy other libs.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 971479ed62)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-10-30 13:42:04 +01:00
..
toolchain toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00
toolchain-buildroot toolchain/toolchain-buildroot: enable glibc for all little-endian ARCs with atomic ops 2018-11-09 22:02:16 +01:00
toolchain-external toolchain/external: copy libssp.so if SSP is enabled 2019-10-30 13:42:04 +01:00
Config.in toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_68485 2019-10-04 21:02:12 +02:00
helpers.mk toolchain: generate check-headers program under $(BUILD_DIR) 2019-09-30 18:02:07 +02:00
toolchain-wrapper.c toolchain/toolchain-wrapper: add BR2_SSP_* support 2018-10-20 12:51:21 +02:00
toolchain-wrapper.mk toolchain/toolchain-wrapper: add BR2_SSP_* support 2018-10-20 12:51:21 +02:00
toolchain.mk toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00