[oe] [meta-networking][PATCH] tsocks: use -lssp_nonshared also for glibc
Khem Raj
raj.khem at gmail.com
Thu Sep 27 18:18:53 UTC 2018
On Thu, Sep 27, 2018 at 10:44 AM Martin Jansa <martin.jansa at gmail.com> wrote:
>
> * the issue is reproducible also in glibc builds
> * fixes:
> | tsocks.c:954: error: undefined reference to '__stack_chk_fail_local'
> | tsocks.c:842: error: undefined reference to '__stack_chk_fail_local'
> | tsocks.c:339: error: undefined reference to '__stack_chk_fail_local'
> | tsocks.c:522: error: undefined reference to '__stack_chk_fail_local'
> | collect2: error: ld returned 1 exit status
> | Makefile:53: recipe for target 'libtsocks.so.1.8' failed
> | make: *** [libtsocks.so.1.8] Error 1
>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
> index 72913579af..790a6cc795 100644
> --- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
> +++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
> @@ -18,7 +18,7 @@ SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863
>
> inherit autotools-brokensep
>
> -LIBS_append_libc-musl = " -lssp_nonshared"
> +LIBS = "-lssp_nonshared"
>
hmm, now I think more it is a SECURITY_LDFLAGS element. Since
this is not needed otherwise.
> S = "${WORKDIR}/tsocks-1.8"
>
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list