[oe] [meta-networking][PATCH] tsocks: use -lssp_nonshared also for glibc
Martin Jansa
martin.jansa at gmail.com
Sat Sep 29 07:39:28 UTC 2018
This isn't the right fix, causes:
ld: error: cannot find -lssp_nonshared
collect2: error: ld returned 1 exit status
Makefile:47: recipe for target 'inspectsocks' failed
make: *** [inspectsocks] Error 1
Sorry for sending too soon.
On Thu, Sep 27, 2018 at 7:44 PM 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"
>
> S = "${WORKDIR}/tsocks-1.8"
>
> --
> 2.17.1
>
>
More information about the Openembedded-devel
mailing list