buildroot/toolchain
Yann Droneaud 971479ed62 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>
2019-10-25 16:40:07 +02:00
..
toolchain toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00
toolchain-buildroot toolchain-buildroot: musl only supports 64bit variant of risc-v 2019-07-30 18:39:31 +02:00
toolchain-external toolchain/external: copy libssp.so if SSP is enabled 2019-10-25 16:40:07 +02:00
Config.in {linux, linux-headers}: bump to version 5.3.1 2019-09-28 22:44:50 +02:00
helpers.mk toolchain: generate check-headers program under $(BUILD_DIR) 2019-09-25 22:07:24 +02:00
toolchain-wrapper.c toolchain/wrapper: also dump args it was called with 2019-08-18 00:19:57 +02:00
toolchain-wrapper.mk toolchain: allow PIC/PIE without RELRO 2019-08-03 23:19:36 +02:00
toolchain.mk toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00