All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH 1/2] tsocks: Link with libc_nonshared.a
@ 2018-10-02 16:25 Khem Raj
  2018-10-02 16:25 ` [meta-oe][PATCH 2/2] yasm: Switch to cmake and use 1.3.0 release Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2018-10-02 16:25 UTC (permalink / raw)
  To: openembedded-devel

Link step uses -nostdlib which means all defaults from gcc spec file are
not used and it results in errors when using stack protector options

e.g.
in function `send_socksv5_connect':
| /usr/src/debug/tsocks/1.8beta5-r0/tsocks-1.8/tsocks.c:954: undefined reference to `__stack_chk_fail_local'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
index 72913579af..725ba189c6 100644
--- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
+++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
@@ -19,6 +19,7 @@ SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863
 inherit autotools-brokensep
 
 LIBS_append_libc-musl = " -lssp_nonshared"
+LIBS_append_libc-glibc = " -lc_nonshared"
 
 S = "${WORKDIR}/tsocks-1.8"
 
-- 
2.19.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [meta-oe][PATCH 2/2] yasm: Switch to cmake and use 1.3.0 release
  2018-10-02 16:25 [meta-networking][PATCH 1/2] tsocks: Link with libc_nonshared.a Khem Raj
@ 2018-10-02 16:25 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2018-10-02 16:25 UTC (permalink / raw)
  To: openembedded-devel

latest master might have issues, so revert to using 1.3.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-devtools/yasm/yasm_git.bb | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/yasm/yasm_git.bb b/meta-oe/recipes-devtools/yasm/yasm_git.bb
index b685b42412..ebb14a8831 100644
--- a/meta-oe/recipes-devtools/yasm/yasm_git.bb
+++ b/meta-oe/recipes-devtools/yasm/yasm_git.bb
@@ -4,14 +4,20 @@ HOMEPAGE = "http://www.tortall.net/projects/yasm/"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=a12d8903508fb6bfd49d8d82c6170dd9"
 
+DEPENDS += "flex-native bison-native xmlto-native"
+
 PV = "1.3.0+git${SRCPV}"
-SRCREV = "35af9720e36df19382a57be26643b0d6bb48a363"
+# v1.3.0
+SRCREV = "ba463d3c26c0ece2e797b8d6381b161633b5971a"
 SRC_URI = "git://github.com/yasm/yasm.git"
 
 S = "${WORKDIR}/git"
 
-inherit autotools gettext
+inherit cmake gettext pythonnative
 
 export CCLD_FOR_BUILD = "${CC_FOR_BUILD}"
 
 BBCLASSEXTEND = "native"
+SOLIBS = ".so"
+FILES_SOLIBSDEV = ""
+
-- 
2.19.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-02 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-02 16:25 [meta-networking][PATCH 1/2] tsocks: Link with libc_nonshared.a Khem Raj
2018-10-02 16:25 ` [meta-oe][PATCH 2/2] yasm: Switch to cmake and use 1.3.0 release Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.