From patchwork Wed Jan 30 05:29:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157025 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5516691jaa; Tue, 29 Jan 2019 21:29:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN7IDUaa+tbuGoWmEmNbl8nRYW/NnjyZQKNtZHk3XfJDB58fcq7AryUd9zsLusBjPoT2rPlp X-Received: by 2002:a63:9712:: with SMTP id n18mr25962716pge.295.1548826169135; Tue, 29 Jan 2019 21:29:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548826169; cv=none; d=google.com; s=arc-20160816; b=X8LVUYqQOnXMomati+mZJmZIE/TB5+OWQO+o3WJi9pEuqPnIRkkxwUEYtdgFkseQz+ GKvrDGhJ9fi/Bftsg0Lcrh6/YntHqvRbVaPcJ42XxIfkPAGnltIxu6XfsThPaG0VNIMe KXhM5m1jFTIAO15r3tt979XUr/fCHG49VheZxQxL/uUpDmpL69cCfjalW/zqURVU4WPz Fztr8n9j/+Edm5QsQ4MaF2udD9sNbV8yNU/o6hh3aVoV681kIL6M7Bm+48AIFDJKsEal PpFARxm07wWWVbO2Zm4l2vUGJhNp6isFQJoecDyf9Rum7y/SDFDYJ7GjpVYuoacCwM+U PhQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=CRlaAmFHUx5CA0FzeHM7r8QLhc+R/00CbssMTw3eDrc=; b=Le5mWHdg4QW4xMuNWPRzfXAfkzXEqns7kBPCD1HCD29tenTwsKrSdc2k5PN0C8UNu3 0SXBxcI9TRiAJieTNS82fPN6pAmD5OxVGoZEZ7AVMqZxbjU7/nIO0Li4+O4vLmnp6CrT syZe/szLXyFayoY0ZSIxBFb/0/bwrxStlGCAlmSJXOM6fe2mpRYDsOf0A/HIYRkXxfA4 5vIEHSMUmtVdyq2MMMjtNDl4zafC+ilW5fM9el8/AQ/4c8iPCJEo9FUrevmxxSL+vzfm xMnqZPzISM2nM/aZgR34vRN9YUBqCz28UjMldbqeVWR6c7+sTiHayLur59rQWcOJupr1 smpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Up44TAEG; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id q8si611061pli.284.2019.01.29.21.29.28; Tue, 29 Jan 2019 21:29:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Up44TAEG; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E1EC17C208; Wed, 30 Jan 2019 05:29:21 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mail.openembedded.org (Postfix) with ESMTP id 1463D6C4E6 for ; Wed, 30 Jan 2019 05:29:19 +0000 (UTC) Received: by mail-pl1-f173.google.com with SMTP id b5so10518115plr.4 for ; Tue, 29 Jan 2019 21:29:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BW6W0qOJKPM98Tj6xOpKcc9AO1YSJ79jJzYEU470na4=; b=Up44TAEGB3HsSp2L0iJkl2hJa7FoEYcWjLGA8InS2ZDuJ0M6AdwugpQvuSfaaEGP6m ZSISF+/ipPhTQxaW6ItJehpyRQXOc++sZE+B0XGqaV20DwAbFwEpWCjZ5yvou9MbMe7X ZDk9yNvCgvbizTWMx5xK77Ncpv3YknxBjpBE9y36+qEBcL0My5PutrAQYISA19RLzK1Z fYPs3JDgceU6k8feoC9+ouFAV1RNf8kTyHVarz9ELxFsp0apND2dFgQHUfg8xswF4R/b VJyja01RAjbDOKfw7YIFx3t5nwQP56lMh5s9GnEwJzqyGPtb9qlTNK6KwmDIuJDhOUC1 0qUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BW6W0qOJKPM98Tj6xOpKcc9AO1YSJ79jJzYEU470na4=; b=UHywl1wne72JPTtuqwu9xg/4gr6tde6fkPJeLD/kX2O/zLvrYyjET0uotvpvyYB1uk hzf2+MF/Jt9xcmgdZWk134pmzWD4tlI1v9qSll50+ZbMwWsYMt2/a1ph7eSW0py+w40J dRrYjvYw7jFmEAx9Rb//Hq2OeFkCNBx8JY7ABIlfXCAw2i8R/lsxfhi7FUPvlHaBF2Q3 HfNpdsVQoKH16/xTEEAn95ZRDlQifUp+KBPrcRTXCY5iwvILmik22H49O7X58AQNbLHA EMltmGEqJBzRanUN26TEcyYEPvQQHlGEGjl/fweetdXjbXbqvyVKVVnKcHVbJN6odZJ7 +/Lw== X-Gm-Message-State: AJcUukeKZ1Gq8mCNVGHi4FWjxArILtFgH4lJRJSXTxN3Fwj0+zspqAYu P3beID3LWkkpZxO5wjV/XaFz6dYRG2o= X-Received: by 2002:a17:902:27e6:: with SMTP id i35mr28344825plg.222.1548826160332; Tue, 29 Jan 2019 21:29:20 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::26b6]) by smtp.gmail.com with ESMTPSA id v190sm652633pfv.26.2019.01.29.21.29.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 21:29:19 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 29 Jan 2019 21:29:04 -0800 Message-Id: <20190130052911.36336-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 1/8] cpuburn-arm: Move cpuburn-neon to cpuburn-arm and add more tests X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This provides more benchmarks for different arm arches >= v7 Signed-off-by: Khem Raj --- ...1-cpuburn-a8.S-Remove-.func-.endfunc.patch | 69 +++++++++++++++++++ .../cpuburn/cpuburn-arm/0002-burn.S-Add.patch | 47 +++++++++++++ .../0003-burn.S-Remove-.func-.endfunc.patch | 31 +++++++++ .../cpuburn/cpuburn-arm_git.bb | 37 ++++++++++ .../cpuburn/cpuburn-neon_20140626.bb | 30 -------- 5 files changed, 184 insertions(+), 30 deletions(-) create mode 100644 meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0001-cpuburn-a8.S-Remove-.func-.endfunc.patch create mode 100644 meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch create mode 100644 meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0003-burn.S-Remove-.func-.endfunc.patch create mode 100644 meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb delete mode 100644 meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20140626.bb -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0001-cpuburn-a8.S-Remove-.func-.endfunc.patch b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0001-cpuburn-a8.S-Remove-.func-.endfunc.patch new file mode 100644 index 0000000000..82f12fe811 --- /dev/null +++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0001-cpuburn-a8.S-Remove-.func-.endfunc.patch @@ -0,0 +1,69 @@ +From 064a63860bf9ee4bf54facb76ca66f9f957d4797 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 29 Jan 2019 11:12:38 -0800 +Subject: [PATCH] cpuburn*.S: Remove .func/.endfunc + +These are needed to generate stabs debug info which we dont use +and are silently ignored by gnu assembler when unused, clang assembler +however barfs, so remove them + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +--- + cpuburn-a7.S | 2 -- + cpuburn-a8.S | 2 -- + cpuburn-a9.S | 2 -- + 3 files changed, 6 deletions(-) + +diff --git a/cpuburn-a7.S b/cpuburn-a7.S +index 74e925a..c1e308c 100644 +--- a/cpuburn-a7.S ++++ b/cpuburn-a7.S +@@ -42,7 +42,6 @@ + + .global main + +-.func main + .type main, %function + main: + push {r4-r12, lr} +@@ -88,4 +87,3 @@ main: + + mov r0, #0 + pop {r4-r12, pc} +-.endfunc +diff --git a/cpuburn-a8.S b/cpuburn-a8.S +index c6f93a6..a42f5a5 100644 +--- a/cpuburn-a8.S ++++ b/cpuburn-a8.S +@@ -46,7 +46,6 @@ + /* 16 seems to be a good choice */ + #define STEP 16 + +-.func main + .thumb_func + main: + mov lr, pc +@@ -70,4 +69,3 @@ main: + subs lr, lr, #(STEP * 4) + .endr + bne 0b +-.endfunc +diff --git a/cpuburn-a9.S b/cpuburn-a9.S +index 0338b00..a1ccae5 100644 +--- a/cpuburn-a9.S ++++ b/cpuburn-a9.S +@@ -48,7 +48,6 @@ + /* 64 seems to be a good choice */ + #define STEP 64 + +-.func main + .type main, %function + main: + +@@ -94,4 +93,3 @@ main: + subsne lr, lr, #(STEP * 4) + .endr + bne 0b +-.endfunc diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch new file mode 100644 index 0000000000..eb68c9ce9b --- /dev/null +++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0002-burn.S-Add.patch @@ -0,0 +1,47 @@ +From c2adcca93a0075665a8195caad49b89785886e8e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 29 Jan 2019 12:02:22 -0800 +Subject: [PATCH] burn.S: Add + +This is originally from +https://hardwarebug.org/files/burn.S + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + burn.S | 26 ++++++++++++++++++++++++++ + 1 file changed, 26 insertions(+) + create mode 100644 burn.S + +diff --git a/burn.S b/burn.S +new file mode 100644 +index 0000000..c372c87 +--- /dev/null ++++ b/burn.S +@@ -0,0 +1,26 @@ ++ .arch armv7-a ++ .fpu neon ++ ++ .text ++ ++ .global main ++ .type main, STT_FUNC ++ .func main ++main: ++ bic sp, sp, #15 ++1: ++ vld1.8 {q8}, [sp,:128] ++ smuad r6, r4, r5 ++ veor q9, q0, q1 ++ add lr, r4, r5 ++ ldr ip, [sp] ++ vext.8 q10, q3, q4, #1 ++ eor r5, r4, r5 ++ vadd.i32 q11, q0, q1 ++ smusd r6, r4, r5 ++ ldr r2, [sp] ++ vext.8 q12, q1, q2, #3 ++ ssub8 lr, r4, r5 ++ vmul.u16 q13, q0, q4 ++ b 1b ++.endfunc diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0003-burn.S-Remove-.func-.endfunc.patch b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0003-burn.S-Remove-.func-.endfunc.patch new file mode 100644 index 0000000000..f351b62c73 --- /dev/null +++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm/0003-burn.S-Remove-.func-.endfunc.patch @@ -0,0 +1,31 @@ +From 078df5b25d75578bb0448ca53514c23debe6d920 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 29 Jan 2019 12:03:11 -0800 +Subject: [PATCH] burn.S: Remove .func/.endfunc + +These are useless on Linux systems where we use dwarf debug info instead +of stabs + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + burn.S | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/burn.S b/burn.S +index c372c87..4458f51 100644 +--- a/burn.S ++++ b/burn.S +@@ -5,7 +5,6 @@ + + .global main + .type main, STT_FUNC +- .func main + main: + bic sp, sp, #15 + 1: +@@ -23,4 +22,3 @@ main: + ssub8 lr, r4, r5 + vmul.u16 q13, q0, q4 + b 1b +-.endfunc diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb new file mode 100644 index 0000000000..d60624c88d --- /dev/null +++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb @@ -0,0 +1,37 @@ +SUMMARY = "A collection of cpuburn programs tuned for different ARM hardware" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://cpuburn-a53.S;beginline=1;endline=22;md5=3b7ccd70144c16d3fe14ac491c2d4a87" + +RPROVIDES_${PN} = "cpuburn-neon" +PROVIDES += "cpuburn-neon" + +SRCREV = "ad7e646700d14b81413297bda02fb7fe96613c3f" + +PV = "1.0+git${SRCPV}" + +SRC_URI = "git://github.com/ssvb/cpuburn-arm.git \ + file://0001-cpuburn-a8.S-Remove-.func-.endfunc.patch \ + file://0002-burn.S-Add.patch \ + file://0003-burn.S-Remove-.func-.endfunc.patch \ + " + +S = "${WORKDIR}/git" + +do_compile() { + ${CC} ${CFLAGS} ${LDFLAGS} burn.S -o burn + ${CC} ${CFLAGS} ${LDFLAGS} cpuburn-a7.S -o burn-a7 + ${CC} ${CFLAGS} ${LDFLAGS} cpuburn-a8.S -o burn-a8 + ${CC} ${CFLAGS} ${LDFLAGS} cpuburn-a9.S -o burn-a9 + ${CC} ${CFLAGS} ${LDFLAGS} cpuburn-a53.S -o burn-a53 + ${CC} ${CFLAGS} ${LDFLAGS} cpuburn-krait.S -o burn-krait +} + +do_install() { + install -d ${D}${bindir} + for f in burn burn-a7 burn-a8 burn-a9 burn-a53 burn-krait; do + install -m 0755 $f ${D}${bindir}/$f + done +} + +COMPATIBLE_MACHINE ?= "(^$)" +COMPATIBLE_MACHINE_armv7a = "(.*)" diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20140626.bb b/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20140626.bb deleted file mode 100644 index 14e3fc4f38..0000000000 --- a/meta-oe/recipes-benchmark/cpuburn/cpuburn-neon_20140626.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "CPU burn app that loads the NEON coprocessor fully" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://burn.S;md5=823abc72c2cd448e87df9bc5355a4456" - -DL_DIR_append = "/${PN}-${PV}" - -# Ensure to make this available for machine which has neon -COMPATIBLE_MACHINE = "(${@bb.utils.contains("TUNE_FEATURES", "neon", "${MACHINE}", "Invalid!", d)})" - -SRC_URI = "http://hardwarebug.org/files/burn.S;name=mru \ - https://raw.githubusercontent.com/ssvb/cpuburn-arm/dd5c5ba58d2b0b23cfab4a286f9d3f5510000f20/cpuburn-a8.S;name=ssvb" - -SRC_URI[mru.md5sum] = "823abc72c2cd448e87df9bc5355a4456" -SRC_URI[mru.sha256sum] = "01d9fc04f83740c513c25401dcc89c11b2a5a6013e70bfca42b7b02129f88cd2" -SRC_URI[ssvb.md5sum] = "ba0ef2939a3b3b487523448c67544e94" -SRC_URI[ssvb.sha256sum] = "ce42ebdc71c876a33d9f7534355ef76cefa0d00ddb19ad69cf05a266c861d08d" - -S = "${WORKDIR}" - -do_compile() { - ${CC} ${CFLAGS} ${LDFLAGS} burn.S -o burn - ${CC} ${CFLAGS} ${LDFLAGS} cpuburn-a8.S -o burn-neona8 -} - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${S}/burn ${D}${bindir}/burn-neon - install -m 0755 ${S}/burn-neona8 ${D}${bindir}/ -} - From patchwork Wed Jan 30 05:29:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157026 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5516824jaa; Tue, 29 Jan 2019 21:29:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN52yj7NcNikn6zUIMnHgNzMsrbEOmBU2uPiDQwCgOcgj/z23mHIAhIDT7dgpMvF4Yo58gzw X-Received: by 2002:a17:902:7882:: with SMTP id q2mr29774237pll.305.1548826181178; Tue, 29 Jan 2019 21:29:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548826181; cv=none; d=google.com; s=arc-20160816; b=dFFus1EUehqt8unbFTLeeqqWH9v3XnPBehyr1ZFQm6uevxkYAHrtQqkO8gcFIPKVzy GtKXNhq5av2sq58YIwTbKzJYPiN/oOaeROf1vR57e4GDkzMhhV1gvYiUUF+lOeqoMc3h G11kxPNHhnb8+cddrDtYQQ7A8pXFVMvopkfhjQSIuWAU7ntI+NTHoTkeqoQ7nkErk4cv MuOiGjBa2+WgApImtcVqmO8+OnUPmXR1QRUp+Q9QwecDHbaSaFfi0wvwI+6stIo9Lacb iibX2MXnel218BTos8D86mSqCub5zieL13yXQfjGfBYw6tbNkHBjQ+djHnOb3P0BrUST Et5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=hE4HvBqE94DiEOaoWdwCapsJpkn3FXrQgVt7rrpOXmc=; b=wAnS+DINXEdLD9FagLGlw5lof3/FAPewKuoQsWDRF8aEN4TxvTRXpur8GsA88HCxMW 22FQ9VR1Qq8OyO5ukoyz/s3C0L2NcGfy35i+5XfyZkCqrOsLDckz2BwHgIpVjQSCHC1P xrs6e2DKS9wiYUy9YxAzj1xw0F2EIlVm2SxgsTE+DVDgIJWKuGyk3nQkgiokR5Yaz8VF xOjgwJJttujkJ6BsceMJ9DdLETO89nbbEjWowIueCTRdY7rvStzHMKn3zoV7B+9+lm0A icTtzCq/3ptEIRpPmJFfVNqrNFNxcIj6q19+z6jprup77viMXtW5si3CLDT+HEdg6UsB Wvag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=SQTrzgaV; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f82si538680pfa.221.2019.01.29.21.29.40; Tue, 29 Jan 2019 21:29:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=SQTrzgaV; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B80C87C214; Wed, 30 Jan 2019 05:29:37 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mail.openembedded.org (Postfix) with ESMTP id 834746C4E6 for ; Wed, 30 Jan 2019 05:29:20 +0000 (UTC) Received: by mail-pf1-f177.google.com with SMTP id y126so10881900pfb.4 for ; Tue, 29 Jan 2019 21:29:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GBzTrBH4FF7rhL19QixonlpOXA9Olpozw4aeAX5xx88=; b=SQTrzgaVTLGHiI+DbBbfNxV3eIZsfQgpdtKoBH7NyykP8R1l/urE+mxHeZVcBRlciv UI7sobV4fn52iM332y/mSK90mPhgWpuXkXjQE41NarPSThqkz3GDUA30RkuZrtjDMsf7 ggkiPeJ8JU8o7W6BR3JoUxUfYPJThSZPcuUhv++BobdIqveuvWeA9FhDDY9QQMGVnuDp X5t4LR4Y/xnmNqG7BtZgKVHCsUQwjcOXoQRStCv7hBC8eJwG8vo7z6bqnaegHT1jVAx9 OTHZTl+tR+i47PRvr/nE0IJvuP9oPIefS6P5r5NxB7OM1GkjcMKsmXMSq28xEdnwyfqN +/vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GBzTrBH4FF7rhL19QixonlpOXA9Olpozw4aeAX5xx88=; b=l1xUnqZRsgyimCI2Mx7RghrpMKz5og5/0rq6KZ+SLO6zb4CudmaQwdSir9Yi2XiZQW ziQFORvcPHi8GmQQi6G4GJ5E+wZRvcm6mC9/Ye0VNsv1ChBZezYiio2xFkaCM3pumo7W dsLj3pYZ4q3WTI70I0aPLa/rPwxo2OHCGgU9dXYvlyh6DTYXQ/IIm1UQDL5UTF/uSV16 5vE/XWd6/rUwOY+x6dpItnErNeehvVZXYg4J/wif4w7UpQwHsUoBG9pu2eqttnZdpfXN HftUdW0eZbY0MNcWCBFiaNk0UaoNdhwRUXbZ+m8DeZgDBIJ4tWv6djV2UWQGtcZ8IMaZ A+kA== X-Gm-Message-State: AJcUukdVrSQlxLy0dR7YNZ4Dk1hW+6fC3NCWBbwE3baJL991DjQe92Az lAOHMqKwuLJfjO2ASSkzll/0ycRBW9s= X-Received: by 2002:a63:d005:: with SMTP id z5mr26265589pgf.64.1548826161083; Tue, 29 Jan 2019 21:29:21 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::26b6]) by smtp.gmail.com with ESMTPSA id v190sm652633pfv.26.2019.01.29.21.29.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 21:29:20 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 29 Jan 2019 21:29:05 -0800 Message-Id: <20190130052911.36336-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130052911.36336-1-raj.khem@gmail.com> References: <20190130052911.36336-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/8] mosh: Upgrade to 1.3.2 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fix building with clang/libc++ while here Signed-off-by: Khem Raj --- .../mosh/0001-Fix-building-with-libc.patch | 24 +++++++++++++++++++ .../mosh/{mosh_1.3.0.bb => mosh_1.3.2.bb} | 8 ++++--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-connectivity/mosh/mosh/0001-Fix-building-with-libc.patch rename meta-oe/recipes-connectivity/mosh/{mosh_1.3.0.bb => mosh_1.3.2.bb} (87%) -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/mosh/mosh/0001-Fix-building-with-libc.patch b/meta-oe/recipes-connectivity/mosh/mosh/0001-Fix-building-with-libc.patch new file mode 100644 index 0000000000..100ede17bd --- /dev/null +++ b/meta-oe/recipes-connectivity/mosh/mosh/0001-Fix-building-with-libc.patch @@ -0,0 +1,24 @@ +From efa9e49714b30d7d9128946a2504c93e10d109b5 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 29 Jan 2019 12:20:03 -0800 +Subject: [PATCH] Fix building with libc++ + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + src/network/network.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/network/network.cc b/src/network/network.cc +index 26da603..e480853 100644 +--- a/src/network/network.cc ++++ b/src/network/network.cc +@@ -335,7 +335,7 @@ bool Connection::try_bind( const char *addr, int port_low, int port_high ) + } + } + +- if ( bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) { ++ if ( ::bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) { + set_MTU( local_addr.sa.sa_family ); + return true; + } else if ( i == search_high ) { /* last port to search */ diff --git a/meta-oe/recipes-connectivity/mosh/mosh_1.3.0.bb b/meta-oe/recipes-connectivity/mosh/mosh_1.3.2.bb similarity index 87% rename from meta-oe/recipes-connectivity/mosh/mosh_1.3.0.bb rename to meta-oe/recipes-connectivity/mosh/mosh_1.3.2.bb index 9fc8435ee6..9c439354d1 100644 --- a/meta-oe/recipes-connectivity/mosh/mosh_1.3.0.bb +++ b/meta-oe/recipes-connectivity/mosh/mosh_1.3.2.bb @@ -14,9 +14,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS = "protobuf-native protobuf ncurses zlib libio-pty-perl openssl libutempter" -SRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz" -SRC_URI[md5sum] = "d961276995936953bf2d5a794068b076" -SRC_URI[sha256sum] = "320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376" +SRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz \ + file://0001-Fix-building-with-libc.patch \ + " +SRC_URI[md5sum] = "5122f4d2b973ab7c38dcdac8c35cb61e" +SRC_URI[sha256sum] = "da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216" inherit autotools pkgconfig From patchwork Wed Jan 30 05:29:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157027 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5516899jaa; Tue, 29 Jan 2019 21:29:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN4pUr7cM+UBayaxmfcIH1qdKHySRfy1hjahVbKsZof0n/Xz2LE+7akft5/1Zlh3Tr/wfr39 X-Received: by 2002:a17:902:7107:: with SMTP id a7mr28926011pll.290.1548826187290; Tue, 29 Jan 2019 21:29:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548826187; cv=none; d=google.com; s=arc-20160816; b=zGMMlfPsMOgj5hPq0keQb+UzadV8PqRk+Ov8p/w5r7+71yLIZkyLQx/8KiyKUUPX2S ldE46ACZ25EwV+GeHrdUW7Uusv09n4d3reXg+AtUcXKjRr/NoO+Dh7TYKk88X2iSKFHL jsmOOPt6U9FYYXuLfPUgl9IOsjFkOHeQXfHO9Kxuc64dzjTaSQt2OpyKUfh9RdeiJGRM 9qMgYqEMzbvmIJ+hVAnH/I2dzlO6vCMrp5w++/V5wsFj21MJ2pMTKTdvIbwdYR6tQwJo wIqBwQugLzE4kqeQK63JbmIgn77g5QqK/s1aOX81ClUIn5xTM2qL3ouWNe//EAJ+tU8L YsYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=HMaSBFLSKWS/ZiOUSFYbAPBIna4kXB9ElKOtpckxKXA=; b=GBVuB4DVJgvyRX+vPTgEhOYc/mHociUUcO7cc3HxshWjBK6esii8Yk9d9J5S/Rwcn0 +0TgUkP4IpaB9bGlaxGSiRMT3Oz2J6wAyO6XcHlDxr+mU+5bG6NbYC9fNX9TJ+p30fEf ERzV9wofEs8UIjbSJYp+G8EGFb0ABfEpYysTQmoaYyPAE1B+ueZU93OdBR8xOlrt/rKR kbc63yl/bAPegdTXNR9bMJBEdFXYU6JzFsXYXDGCfU5QKpzYHJmiZQrt0oHtg2MaQe2z 2ga0tgEyrn47pDsGemgWaxQwoCFJhWmatwRtc/eazAu62RXN8w0pWP74IJNMob79VlvX Bg+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=NYArGPRC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 87si583467pfs.7.2019.01.29.21.29.46; Tue, 29 Jan 2019 21:29:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=NYArGPRC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4B0437C22E; Wed, 30 Jan 2019 05:29:39 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by mail.openembedded.org (Postfix) with ESMTP id 7CCD57C1F4 for ; Wed, 30 Jan 2019 05:29:22 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id q1so10877576pfi.5 for ; Tue, 29 Jan 2019 21:29:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e89RoUbPU3V96B16Un3pD7Y4pGfQLyU0rSW3XMs4EpE=; b=NYArGPRCjWLt5MHNNAbebmJxUeYdRrBu7pwnuZmGGJBko1em+NSu7m7HGq26ufURRH JT0CRkFffpV2KLEVyfhZr5DaEs9D5qoEg7MSpEmXkdNRws3va8sNNjrNNeYRf8RZ7SLq IMLVLSqAy6VzfCN0UfW0eZktzUp7yRy69ugBU8JWaIyu86Jjk4igM2nr/CStAVdg+nTx GmvKb7J6oPVj5axASliDr2M2FRyyajPVQ7oOvcADNRm/r2GHawAMrPHxsOhs/ma8R0xL 2HsWUDZPjSceJ8a3V7dZVI+tods1VVVfvaoYw77IImsvPLieZ2wJDzMVK+JlJfB2FLRX Bo0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=e89RoUbPU3V96B16Un3pD7Y4pGfQLyU0rSW3XMs4EpE=; b=UKr4M/TxzGi85/aD3J/HejO1eJnzq0q8lMCy6e34VgCcoJYib/Rp7+UfQ4jkZB/adx f66/9GZx2m+Qs7ehIX3ee+8elq0S3eHxFFhfF7CletvNv/IMtqvRHHyotpeQUyy7CtP8 CPik930urclFrH7na1AHRUEam6pLM2Lqbk+mG1k2i+wJJZki1Xi9Xo4YRaVfnsQoEP7c JYeirLSQHjT521WFhlYfpU86soux92q6kDUAuE9saF4AZ1CPAGKt/zq1y6Mz0gK8Td7b +2Ft8ySvBrbls7So5VRj+OVWTX5RMb6bO10E9IMBEocFCkCNMSFZiB9pPet//uuwTRYa EEcg== X-Gm-Message-State: AJcUukeqzFDYI+tynuidNsoGAAfvDAA3jtx8xcYj1GO3MW3FXMQoDCHZ aFLDtw0+AtfccJB/mRuaNpueyqBleAI= X-Received: by 2002:a63:ce08:: with SMTP id y8mr26090905pgf.388.1548826163042; Tue, 29 Jan 2019 21:29:23 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::26b6]) by smtp.gmail.com with ESMTPSA id v190sm652633pfv.26.2019.01.29.21.29.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 21:29:21 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 29 Jan 2019 21:29:06 -0800 Message-Id: <20190130052911.36336-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130052911.36336-1-raj.khem@gmail.com> References: <20190130052911.36336-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 3/8] tinymembench: Fix build with clang assembler X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...asm-Delete-.func-.endfunc-directives.patch | 444 ++++++++++++++++++ .../tinymembench/tinymembench_git.bb | 4 +- 2 files changed, 447 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-benchmark/tinymembench/tinymembench/0001-asm-Delete-.func-.endfunc-directives.patch -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-benchmark/tinymembench/tinymembench/0001-asm-Delete-.func-.endfunc-directives.patch b/meta-oe/recipes-benchmark/tinymembench/tinymembench/0001-asm-Delete-.func-.endfunc-directives.patch new file mode 100644 index 0000000000..c090700763 --- /dev/null +++ b/meta-oe/recipes-benchmark/tinymembench/tinymembench/0001-asm-Delete-.func-.endfunc-directives.patch @@ -0,0 +1,444 @@ +From b0a64ddebb517a1678c44d9baf24d8bbe39d02cd Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 29 Jan 2019 13:15:07 -0800 +Subject: [PATCH] asm: Delete .func/.endfunc directives + +These are useful only with stabs debug format, which is not used on +linux systems, gas ignores them silently, but clang assembler does not +and rightly so. + +Signed-off-by: Khem Raj +--- + aarch64-asm.S | 14 +------------- + arm-neon.S | 24 ------------------------ + mips-32.S | 5 ++--- + x86-sse2.S | 21 ++++++++++----------- + 4 files changed, 13 insertions(+), 51 deletions(-) + +diff --git a/aarch64-asm.S b/aarch64-asm.S +index 842b9e2..165c8ac 100644 +--- a/aarch64-asm.S ++++ b/aarch64-asm.S +@@ -31,8 +31,7 @@ + + .macro asm_function function_name + .global \function_name +- .type \function_name,%function +-.func \function_name ++ .type \function_name,%function + \function_name: + DST .req x0 + SRC .req x1 +@@ -54,7 +53,6 @@ asm_function aligned_block_copy_ldpstp_x_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_copy_ldpstp_q_aarch64 + 0: +@@ -67,7 +65,6 @@ asm_function aligned_block_copy_ldpstp_q_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_copy_ldpstp_q_pf32_l2strm_aarch64 + 0: +@@ -82,7 +79,6 @@ asm_function aligned_block_copy_ldpstp_q_pf32_l2strm_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_copy_ldpstp_q_pf64_l2strm_aarch64 + 0: +@@ -96,7 +92,6 @@ asm_function aligned_block_copy_ldpstp_q_pf64_l2strm_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_copy_ldpstp_q_pf32_l1keep_aarch64 + 0: +@@ -111,7 +106,6 @@ asm_function aligned_block_copy_ldpstp_q_pf32_l1keep_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_copy_ldpstp_q_pf64_l1keep_aarch64 + 0: +@@ -125,7 +119,6 @@ asm_function aligned_block_copy_ldpstp_q_pf64_l1keep_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_fill_stp_x_aarch64 + 0: +@@ -137,7 +130,6 @@ asm_function aligned_block_fill_stp_x_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_fill_stp_q_aarch64 + 0: +@@ -147,7 +139,6 @@ asm_function aligned_block_fill_stp_q_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_fill_stnp_x_aarch64 + 0: +@@ -159,7 +150,6 @@ asm_function aligned_block_fill_stnp_x_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_fill_stnp_q_aarch64 + 0: +@@ -169,7 +159,6 @@ asm_function aligned_block_fill_stnp_q_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + asm_function aligned_block_copy_ld1st1_aarch64 + 0: +@@ -180,6 +169,5 @@ asm_function aligned_block_copy_ld1st1_aarch64 + subs SIZE, SIZE, #64 + bgt 0b + ret +-.endfunc + + #endif +diff --git a/arm-neon.S b/arm-neon.S +index 4db78ce..9631d82 100644 +--- a/arm-neon.S ++++ b/arm-neon.S +@@ -32,7 +32,6 @@ + + .macro asm_function function_name + .global \function_name +-.func \function_name + \function_name: + DST .req r0 + SRC .req r1 +@@ -66,7 +65,6 @@ asm_function aligned_block_read_neon + vpadd.u32 d31, d31, d31 + vmov.u32 r0, d31[0] + bx lr +-.endfunc + + /* Actually this calculates a sum of 32-bit values */ + asm_function aligned_block_read_pf32_neon +@@ -97,7 +95,6 @@ asm_function aligned_block_read_pf32_neon + vpadd.u32 d31, d31, d31 + vmov.u32 r0, d31[0] + bx lr +-.endfunc + + /* Actually this calculates a sum of 32-bit values */ + asm_function aligned_block_read_pf64_neon +@@ -127,7 +124,6 @@ asm_function aligned_block_read_pf64_neon + vpadd.u32 d31, d31, d31 + vmov.u32 r0, d31[0] + bx lr +-.endfunc + + /* Actually this calculates a sum of 32-bit values */ + asm_function aligned_block_read2_neon +@@ -156,7 +152,6 @@ asm_function aligned_block_read2_neon + vpadd.u32 d31, d31, d31 + vmov.u32 r0, d31[0] + bx lr +-.endfunc + + /* Actually this calculates a sum of 32-bit values */ + asm_function aligned_block_read2_pf32_neon +@@ -187,7 +182,6 @@ asm_function aligned_block_read2_pf32_neon + vpadd.u32 d31, d31, d31 + vmov.u32 r0, d31[0] + bx lr +-.endfunc + + /* Actually this calculates a sum of 32-bit values */ + asm_function aligned_block_read2_pf64_neon +@@ -217,7 +211,6 @@ asm_function aligned_block_read2_pf64_neon + vpadd.u32 d31, d31, d31 + vmov.u32 r0, d31[0] + bx lr +-.endfunc + + asm_function aligned_block_copy_neon + 0: +@@ -226,7 +219,6 @@ asm_function aligned_block_copy_neon + subs SIZE, SIZE, #32 + bgt 0b + bx lr +-.endfunc + + asm_function aligned_block_copy_unrolled_neon + vpush {d8-d15} +@@ -244,7 +236,6 @@ asm_function aligned_block_copy_unrolled_neon + bgt 0b + vpop {d8-d15} + bx lr +-.endfunc + + asm_function aligned_block_copy_pf32_neon + 0: +@@ -254,7 +245,6 @@ asm_function aligned_block_copy_pf32_neon + subs SIZE, SIZE, #32 + bgt 0b + bx lr +-.endfunc + + asm_function aligned_block_copy_unrolled_pf32_neon + vpush {d8-d15} +@@ -280,7 +270,6 @@ asm_function aligned_block_copy_unrolled_pf32_neon + bgt 0b + vpop {d8-d15} + bx lr +-.endfunc + + asm_function aligned_block_copy_pf64_neon + 0: +@@ -292,7 +281,6 @@ asm_function aligned_block_copy_pf64_neon + subs SIZE, SIZE, #64 + bgt 0b + bx lr +-.endfunc + + asm_function aligned_block_copy_unrolled_pf64_neon + vpush {d8-d15} +@@ -314,7 +302,6 @@ asm_function aligned_block_copy_unrolled_pf64_neon + bgt 0b + vpop {d8-d15} + bx lr +-.endfunc + + asm_function aligned_block_copy_backwards_neon + add SRC, SRC, SIZE +@@ -328,7 +315,6 @@ asm_function aligned_block_copy_backwards_neon + subs SIZE, SIZE, #32 + bgt 0b + bx lr +-.endfunc + + asm_function aligned_block_copy_backwards_pf32_neon + add SRC, SRC, SIZE +@@ -343,7 +329,6 @@ asm_function aligned_block_copy_backwards_pf32_neon + subs SIZE, SIZE, #32 + bgt 0b + bx lr +-.endfunc + + asm_function aligned_block_copy_backwards_pf64_neon + add SRC, SRC, SIZE +@@ -360,7 +345,6 @@ asm_function aligned_block_copy_backwards_pf64_neon + subs SIZE, SIZE, #64 + bgt 0b + bx lr +-.endfunc + + asm_function aligned_block_fill_neon + vld1.8 {d0, d1, d2, d3}, [SRC]! +@@ -370,7 +354,6 @@ asm_function aligned_block_fill_neon + subs SIZE, SIZE, #64 + bgt 0b + bx lr +-.endfunc + + asm_function aligned_block_fill_backwards_neon + add SRC, SRC, SIZE +@@ -383,7 +366,6 @@ asm_function aligned_block_fill_backwards_neon + subs SIZE, SIZE, #32 + bgt 0b + bx lr +-.endfunc + + /* some code for older ARM processors */ + +@@ -398,7 +380,6 @@ asm_function aligned_block_fill_stm4_armv4 + subs SIZE, SIZE, #64 + bgt 0b + pop {r4-r12, pc} +-.endfunc + + asm_function aligned_block_fill_stm8_armv4 + push {r4-r12, lr} +@@ -409,7 +390,6 @@ asm_function aligned_block_fill_stm8_armv4 + subs SIZE, SIZE, #64 + bgt 0b + pop {r4-r12, pc} +-.endfunc + + asm_function aligned_block_fill_strd_armv5te + push {r4-r12, lr} +@@ -426,7 +406,6 @@ asm_function aligned_block_fill_strd_armv5te + subs SIZE, SIZE, #64 + bgt 0b + pop {r4-r12, pc} +-.endfunc + + asm_function aligned_block_copy_incr_armv5te + push {r4-r12, lr} +@@ -442,7 +421,6 @@ asm_function aligned_block_copy_incr_armv5te + stmia DST!, {r8-r11} + bgt 0b + pop {r4-r12, pc} +-.endfunc + + asm_function aligned_block_copy_wrap_armv5te + push {r4-r12, lr} +@@ -458,7 +436,6 @@ asm_function aligned_block_copy_wrap_armv5te + stmia DST!, {r8-r11} + bgt 0b + pop {r4-r12, pc} +-.endfunc + + asm_function aligned_block_copy_vfp + push {r4-r12, lr} +@@ -470,6 +447,5 @@ asm_function aligned_block_copy_vfp + bgt 0b + vpop {d8-d15} + pop {r4-r12, pc} +-.endfunc + + #endif +diff --git a/mips-32.S b/mips-32.S +index 17b2b7f..4f7ddae 100644 +--- a/mips-32.S ++++ b/mips-32.S +@@ -32,7 +32,6 @@ + .macro asm_function function_name + .global \function_name + .type \function_name, @function +- .func \function_name + \function_name: + .endm + +@@ -93,7 +92,7 @@ asm_function aligned_block_fill_pf32_mips32 + 2: + jr $ra + nop +-.endfunc ++ + + /* + * void aligned_block_copy_pf32_mips32(int64_t *dst, int64_t *src, int size) +@@ -178,6 +177,6 @@ asm_function aligned_block_copy_pf32_mips32 + lw $s7, 28($sp) + jr $ra + addi $sp, $sp, 32 +-.endfunc ++ + + #endif +diff --git a/x86-sse2.S b/x86-sse2.S +index d8840e4..409031b 100644 +--- a/x86-sse2.S ++++ b/x86-sse2.S +@@ -30,7 +30,6 @@ + + .macro asm_function_helper function_name + .global \function_name +-.func \function_name + \function_name: + #ifdef __amd64__ + #ifdef _WIN64 +@@ -90,7 +89,7 @@ asm_function aligned_block_copy_movsb + pop3 edi esi ecx + #endif + ret +-.endfunc ++ + + asm_function aligned_block_copy_movsd + 0: +@@ -110,7 +109,7 @@ asm_function aligned_block_copy_movsd + pop3 edi esi ecx + #endif + ret +-.endfunc ++ + + asm_function aligned_block_copy_sse2 + 0: +@@ -127,7 +126,7 @@ asm_function aligned_block_copy_sse2 + sub SIZE, 64 + jg 0b + ret +-.endfunc ++ + + asm_function aligned_block_copy_nt_sse2 + 0: +@@ -144,7 +143,7 @@ asm_function aligned_block_copy_nt_sse2 + sub SIZE, 64 + jg 0b + ret +-.endfunc ++ + + asm_function aligned_block_copy_pf32_sse2 + 0: +@@ -163,7 +162,7 @@ asm_function aligned_block_copy_pf32_sse2 + sub SIZE, 64 + jg 0b + ret +-.endfunc ++ + + asm_function aligned_block_copy_nt_pf32_sse2 + 0: +@@ -182,7 +181,7 @@ asm_function aligned_block_copy_nt_pf32_sse2 + sub SIZE, 64 + jg 0b + ret +-.endfunc ++ + + asm_function aligned_block_copy_pf64_sse2 + 0: +@@ -200,7 +199,7 @@ asm_function aligned_block_copy_pf64_sse2 + sub SIZE, 64 + jg 0b + ret +-.endfunc ++ + + asm_function aligned_block_copy_nt_pf64_sse2 + 0: +@@ -218,7 +217,7 @@ asm_function aligned_block_copy_nt_pf64_sse2 + sub SIZE, 64 + jg 0b + ret +-.endfunc ++ + + asm_function aligned_block_fill_sse2 + movdqa xmm0, [SRC + 0] +@@ -231,7 +230,7 @@ asm_function aligned_block_fill_sse2 + sub SIZE, 64 + jg 0b + ret +-.endfunc ++ + + asm_function aligned_block_fill_nt_sse2 + movdqa xmm0, [SRC + 0] +@@ -244,7 +243,7 @@ asm_function aligned_block_fill_nt_sse2 + sub SIZE, 64 + jg 0b + ret +-.endfunc ++ + + /*****************************************************************************/ + diff --git a/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb b/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb index 842644b8a1..2ce10f9c44 100644 --- a/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb +++ b/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb @@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = "file://main.c;endline=22;md5=879b9bbb60851454885b5fa47eb6b34 PV = "0.4.0+git${SRCPV}" SRCREV = "a2cf6d7e382e3aea1eb39173174d9fa28cad15f3" -SRC_URI = "git://github.com/ssvb/tinymembench.git" +SRC_URI = "git://github.com/ssvb/tinymembench.git \ + file://0001-asm-Delete-.func-.endfunc-directives.patch \ + " S = "${WORKDIR}/git" From patchwork Wed Jan 30 05:29:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157028 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5517000jaa; Tue, 29 Jan 2019 21:29:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN4gj/TZWcAxLUW37iOQPr/PFujLky4sfowp2pQvx5HqdmchLqpLMT4A9TQY78VoY44FaBv6 X-Received: by 2002:a62:42d4:: with SMTP id h81mr29006111pfd.259.1548826195734; Tue, 29 Jan 2019 21:29:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548826195; cv=none; d=google.com; s=arc-20160816; b=iEa+qRvGbIEieW2RwTNXGhVl9DIsH9XtwxLDnDBmSE4Zm3aBscMRddYRdZZhCTtb3f sVgc5p1utXLA1ca14ZNzmrKKgp6vX7cSdMZmgrcUONsKE6aqbom/g8vUG2xYgK7f6UTr qvk4fTZER/IwM7LT0RWAcve1wwbItm45bSPTq3CJyRUvwDOs4uxDgz6oDx37m967f377 RIqtV7XkzgHPIjcypxTi0tMPR46Ud0AiKhl02eXeyQk3upEG7k7UcemKUi696lhsjpV/ 9ejHA9pAG15+zUBWeiyNTYRsElV0lF4lMg0JHEF+bWe9NpFeM4J7MhSwqF9PXWVFjOdE /SGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=deYpgdi6f7vLtBwLWbDdzQmgf6s6ZRYXyZ+xH+D7k1M=; b=Pv5dGZxzY6vjNknufP5qGbjlIUwzAqlAlFHWUcMOOPnWETCfm4WGjHwEKKoCcw4xow NBvzSay9PpGCbfeyygmxsJIO9d75AB1WfMIPqXXM4BNNNM/I/AtHn+7lxRx+ClrwQ+Fb mcT6zbw7QhV8KaeqUONO3CFSk4l3o+6XJaPirrE3Ug44Dd+VAZfDEmsli8NixdU69/ds bsvby117ILxFfpFD5US2wtIVQZ1BlnEIzXrmZBWxuX/VRB9rV33hCRZ7V0WbX3JrDoWW +cc1RcYtVAcdpuSPgkI+dqjmABHzn7DHqBgJeJxlKZh8DS3HuZ/Rkc3wKIzMgyhlSjZy EyfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KRpbs2aG; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 1si537399ply.409.2019.01.29.21.29.55; Tue, 29 Jan 2019 21:29:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KRpbs2aG; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B8E6A7C20E; Wed, 30 Jan 2019 05:29:42 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by mail.openembedded.org (Postfix) with ESMTP id 46B5D7C1EC for ; Wed, 30 Jan 2019 05:29:23 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id 64so10865319pfr.9 for ; Tue, 29 Jan 2019 21:29:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dww62jPqija/6BaPXU6v+SrLzYxF/WP4aU834gdqc1E=; b=KRpbs2aGQLmun3BeP1mZcdpfc+6/jCcmXtWUrrbyW3pyAk+xc04jkZ6ck1uGVhaPFV LTK5TPLUbAK1pPSuC8Jsasngns4RrS/x6fNl0NYo6KkfZsIzpl7k6tdu1gZ9Nc8AwZDJ 1jzz85UPHlUfP/fbNn6C2Fr2wdYZmTFCpXeUAhlZkTQZQPmw5cpGevfxqnx7BCFk95ZG UaC6Xj0b991A11clD3r6lze0mkwe9+x1r9nxsEqFl3p3IAgylPMHcO+hyFWaymRV67Ny KXl875pxnUVYimeK8DNJIUGSmiTnXqC2fZRkHDr2DRmq+ElfOWqEO05zqeu7Xk3mu9ZN X+SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dww62jPqija/6BaPXU6v+SrLzYxF/WP4aU834gdqc1E=; b=Rx5AfmUnNnoyaTvwqp8Va607u4ui4kr6iuHJgXk5Db5fZIiT8FS/w2PjXNvw+yPnxt 9MlDK9gqQTdgn6nscCbNk0R/1kgHAoSIOeFkXPUo1AUy4LRVCI6YdmUtcDYT87Pt2zbn 5vkAou8YA8KFjDAEEoCSYOUdQXTdvCR6uVT2tywTvn32CWtEhvGP+M1jw+bxKu7dmzV9 YHd6wVtZ7ha6pZiIcFa/SVzp/OQot0nhZ0pen5JvtaGpeIPt0kwneCeQBpOI7dTVl1qH GW0DY7QUYRp9MhzDm5oDCAW85lY71KsNi42nLFSqvSlk+T7BWeF0ewxtqihmI4vYs9Dz j3Nw== X-Gm-Message-State: AJcUukfl5dprDGVCkLQnek3YtUFldsxM12bZst/1sLfhgPcJRtDYLphA f5ELoxv0vUBh1clNqnqxMSVjARMLHq8= X-Received: by 2002:a62:28c9:: with SMTP id o192mr29721278pfo.57.1548826163880; Tue, 29 Jan 2019 21:29:23 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::26b6]) by smtp.gmail.com with ESMTPSA id v190sm652633pfv.26.2019.01.29.21.29.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 21:29:23 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 29 Jan 2019 21:29:07 -0800 Message-Id: <20190130052911.36336-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130052911.36336-1-raj.khem@gmail.com> References: <20190130052911.36336-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 4/8] xmlrpc-c: Update to 1.51.03 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fix build with clang while here Signed-off-by: Khem Raj --- ...mpile-failure-against-musl-C-library.patch | 52 ------------------- ...rver_abyss-Fix-build-with-clang-libc.patch | 27 ++++++++++ .../xmlrpc-c/xmlrpc-c_1.31.0.bb | 24 --------- .../xmlrpc-c/xmlrpc-c_1.51.03.bb | 49 +++++++++++++++++ 4 files changed, 76 insertions(+), 76 deletions(-) delete mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-fix-compile-failure-against-musl-C-library.patch create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch delete mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-fix-compile-failure-against-musl-C-library.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-fix-compile-failure-against-musl-C-library.patch deleted file mode 100644 index 234d696f19..0000000000 --- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-fix-compile-failure-against-musl-C-library.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 950b27f8320b841490cafcb3e6e3b818c7174c0d Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Thu, 20 Jul 2017 22:32:50 -0400 -Subject: [PATCH] fix compile failure against musl C library - -Upstream-Status: Pending - -Signed-off-by: Hongxu Jia ---- - test/cpp/server_abyss.cpp | 2 +- - tools/xmlrpc_pstream/xmlrpc_pstream.cpp | 10 +++++++--- - 2 files changed, 8 insertions(+), 4 deletions(-) - -diff --git a/test/cpp/server_abyss.cpp b/test/cpp/server_abyss.cpp -index 2458a8f..82f91da 100644 ---- a/test/cpp/server_abyss.cpp -+++ b/test/cpp/server_abyss.cpp -@@ -18,7 +18,7 @@ - #ifdef WIN32 - #include - #else -- #include -+ #include - #include - #include - #include -diff --git a/tools/xmlrpc_pstream/xmlrpc_pstream.cpp b/tools/xmlrpc_pstream/xmlrpc_pstream.cpp -index d39e105..1fd8900 100644 ---- a/tools/xmlrpc_pstream/xmlrpc_pstream.cpp -+++ b/tools/xmlrpc_pstream/xmlrpc_pstream.cpp -@@ -15,11 +15,15 @@ - #include "xmlrpc-c/girerr.hpp" - using girerr::throwf; - --#include // for __BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - --__BEGIN_DECLS - #include "dumpvalue.h" /* An internal Xmlrpc-c header file ! */ --__END_DECLS -+ -+#ifdef __cplusplus -+} -+#endif - - - #include --- -2.8.1 - diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch new file mode 100644 index 0000000000..be83b0166c --- /dev/null +++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch @@ -0,0 +1,27 @@ +From dba3c5bf34ed530fd41ed50968825af2158f142e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 29 Jan 2019 13:31:39 -0800 +Subject: [PATCH] test/cpp/server_abyss: Fix build with clang/libc++ + +/mnt/a/yoe/workspace/sources/xmlrpc-c/test/cpp/server_abyss.cpp:87:14: error: assigning to 'int' from incompatible type '__bind' + rc = bind(this->fd, (struct sockaddr *)&sockAddr, sizeof(sockAddr)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + test/cpp/server_abyss.cpp | 56 +++++++++++++++++++-------------------- + 1 file changed, 28 insertions(+), 28 deletions(-) + +--- a/test/cpp/server_abyss.cpp ++++ b/test/cpp/server_abyss.cpp +@@ -85,7 +85,7 @@ public: + sockAddr.sin_port = htons(portNumber); + sockAddr.sin_addr.s_addr = 0; + +- rc = bind(this->fd, (struct sockaddr *)&sockAddr, sizeof(sockAddr)); ++ rc = ::bind(this->fd, (struct sockaddr *)&sockAddr, sizeof(sockAddr)); + + if (rc != 0) { + closesock(this->fd); diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb deleted file mode 100644 index efa58f1986..0000000000 --- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "XML-RPC for C/C++ is programming libraries and related tools to help you \ -write an XML-RPC server or client in C or C++." - -HOMEPAGE = "http://xmlrpc-c.sourceforge.net/" -LICENSE = "BSD & MIT" -LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" - -SRC_URI = "git://github.com/ensc/xmlrpc-c.git;branch=master \ - file://0001-fix-compile-failure-against-musl-C-library.patch \ - file://0002-fix-formatting-issues.patch \ -" -SRCREV = "81443a9dc234cc275449dbc17867ad77ae189124" -S = "${WORKDIR}/git" - -DEPENDS = "curl libxml2" -RDEPENDS_${PN} = "curl perl" - -inherit cmake - -EXTRA_OECMAKE = "-D_lib:STRING=${baselib}" - -BBCLASSEXTEND = "native" - -TARGET_CFLAGS += "-Wno-narrowing" diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb new file mode 100644 index 0000000000..02ea8cc5fc --- /dev/null +++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "XML-RPC for C/C++ is programming libraries and related tools to help you \ +write an XML-RPC server or client in C or C++." + +HOMEPAGE = "http://xmlrpc-c.sourceforge.net/" +LICENSE = "BSD & MIT" +LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" + +SRC_URI = "git://github.com/mirror/xmlrpc-c.git \ + file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ + file://0002-fix-formatting-issues.patch \ + " +#Release 1.51.03 +SRCREV = "343a3b98e54999d67edb644bcd395aa9784fb16e" + +S = "${WORKDIR}/git/stable" + +DEPENDS = "libxml2" +RDEPENDS_${PN} = "perl" + +inherit autotools-brokensep pkgconfig + +TARGET_CFLAGS += "-Wno-narrowing" + +EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \ + LD_FOR_BUILD='${BUILD_LD}' \ + CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \ + LDFLAGS_FOR_BUILD='${BUILD_LDFLAGS}' \ + " + +EXTRA_OECONF += "--disable-libwww-client --disable-wininet-client" + +PACKAGECONFIG ??= "curl cplusplus" + +PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-abyss-openssl,--disable-abyss-server --disable-abyss-threads --disable-abyss-openssl,openssl," +PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus,," +PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl,curl" + +do_configure() { + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} + autoconf + oe_runconf + # license is incompatible with lib/util/getoptx.* + rm -fv ${S}/tools/turbocharger/mod_gzip.c +} + +BBCLASSEXTEND = "native" + +CLEANBROKEN = "1" From patchwork Wed Jan 30 05:29:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157029 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5517107jaa; Tue, 29 Jan 2019 21:30:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN4XS271Tp8iSAzp/9+1kcVeE2IbL5RBUxEiq3D0mC+ydtCljfZOZIyUbOZWPzwqc8jT2cC8 X-Received: by 2002:a63:e302:: with SMTP id f2mr26625688pgh.320.1548826202074; Tue, 29 Jan 2019 21:30:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548826202; cv=none; d=google.com; s=arc-20160816; b=SUGvpEB8f+b2BEmKpG0ZJlWp5uurHvvkB+TWC0T+3Jh0+NvFVHEFzerMfxvT/5UwCI frzrsbTKP1UDUQazJ2sjlP2NQy4tXIPk7EL0o2Y+QBOOUlSXGsYPWpHLH/TZ8DeUa1jg 5P1oP0DoPfRmFxrM1Hsijm7XVMbgLpq82J+h9pHIVOwAwwBfImzGlZE3QSoMBnjwCy1+ /GJB2mXsbeTv9P5GVD6I7n5zNzk8K8Y6ypssqPlCW58BBWAclOBzYxT5CbVyHFvwzLjK YD/BpG0yJygpTvxN8Z1HqzY9BmsgJWhxJKRR8lAyaw67+O7tUzKGvYXl8VjeRV5/2Uie g3Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=J092bwxyDcO0KB8GxHKRNxNgEMcsfWVmktfx3fTGdjs=; b=xuOoUE3LtAqZwB8BZPFj8IApqtxKwOl3Lk8bj4+YDys9tms6HYSWaxvzG7cfgIGuwu DgsxGLdPQIb6X241K5w+ChxsHasO5p37uxK7QEDq5joWq0wK7y88/LtQZsg5wJn267oJ PGWMOCNLzwW2Izrq5VxjOWQvqQLSqU5iUooFat4KsymA/qIHs0Mg8bAl/GJgjz2jtq1t CkLUN1HZOAF4+VOXW4lIUxJZKvT3QHKbmCApKn8veFi3rLViAMPl76bIyglFN554bTFk 5gPCwcXmmh+1SV1qGObdM4oeQolQSEUq/WwyabLXGzm+QiFQqgqAzaA6vFEKpw0j5IZU zxAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WgZtoXpl; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id r197si607220pfr.192.2019.01.29.21.30.01; Tue, 29 Jan 2019 21:30:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WgZtoXpl; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E3B147C25F; Wed, 30 Jan 2019 05:29:43 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id B51167C187 for ; Wed, 30 Jan 2019 05:29:24 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id z10so9848743pgp.7 for ; Tue, 29 Jan 2019 21:29:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tNrrdJjOsktW7ZSPbA+XPYORPtF+wP/VTpTN4lOjOE0=; b=WgZtoXplCeAW17DPTsil0Elp939DnCOjbaFgPxLoRdcA7Io5Y+CdO/lymiDDxWgqq9 eEOeyDdxSY1mPp27hKJWOr63EXv6KMYBYMYu0P5kDX/rocsRSPmUWe4NhhDHVpkHNcS3 By/o0rxySYrHxdYtshFvXV26HYbFnSZoywFUg6yOQVmcA0FR5GvQ51Jlg3SY4BZGhQqy t9eYvH1aigR6sbQngjKiJTlm/ye33vcHEiW7ZumnbjNuVuSQMqYL40z2XB/fGP0zaHqw P5fmcEfImfQ+OXbU8xjOGD2UQp8PZCLGdrzm9jtqKikynJBMDMNFK6Qnz/umOoARc2zc VgUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tNrrdJjOsktW7ZSPbA+XPYORPtF+wP/VTpTN4lOjOE0=; b=IjkgyHIi6LpLr8pqkqTvCU2lselXERo3Q2G/Kg6Tr8DvHkaheAe9evEOeFZNEngAfY mjaQKVVMrYPEAHVs4+YdqiZ2jHUBcMhhH68gW/iFg8Po4w3L46l0zo13VwQM3HdmMXGy suvcFfZQuZgim9n9Ba/EJopXX2vaCcO+cfOAEAE/TV92NXWQj/BIH5AfLM9uPGWfLhyf KnXPiCRH8RzY81+oy/0CRw0uuyHDT+j701MQ2krzleEsdIUMn5pFKUQam6QnZhpzKhx9 bqQg7K0FTlmmLClB3n01YQVYZWays4QHANq7quT1K/On5oc4SpENQZTaudmfn5IjzEAo 5hWA== X-Gm-Message-State: AJcUukdu7d6k9ErYYceRdw5GGD+LBonUVGwu6tXk4HdD+IGWu19sYGEG PI3f8uyUXfD8g/7snWa/XoQ+RAWa6MM= X-Received: by 2002:a62:c101:: with SMTP id i1mr29091355pfg.80.1548826165134; Tue, 29 Jan 2019 21:29:25 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::26b6]) by smtp.gmail.com with ESMTPSA id v190sm652633pfv.26.2019.01.29.21.29.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 21:29:24 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 29 Jan 2019 21:29:08 -0800 Message-Id: <20190130052911.36336-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130052911.36336-1-raj.khem@gmail.com> References: <20190130052911.36336-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 5/8] jsonrpc: Update to 1.1.1 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org License-Updare: Change in copyright headers https://github.com/cinemast/libjson-rpc-cpp/commit/ba3507a24bd07e89641ecbc7e567c01a754c8d73#diff-61e0bdf7e1b43c5c93d9488b22e04170 Drop all patches since these issues are already fixed in new version add new dependency on hiredis Signed-off-by: Khem Raj --- ...rdcoded-lib-CMAKE_LIBRARY_PATH-with-.patch | 77 ------------------- ...ient-Typecast-min-arguments-correctl.patch | 33 -------- ...rver-Include-sys-select.h-before-oth.patch | 34 -------- ...and-family-needs-to-include-string.h.patch | 26 ------- .../0002-Fix-build-problem-on-Mac.patch | 27 ------- .../{jsonrpc_0.7.0.bb => jsonrpc_git.bb} | 20 ++--- 6 files changed, 8 insertions(+), 209 deletions(-) delete mode 100644 meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-cmake-replace-hardcoded-lib-CMAKE_LIBRARY_PATH-with-.patch delete mode 100644 meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-filedescriptorclient-Typecast-min-arguments-correctl.patch delete mode 100644 meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-filedescriptorserver-Include-sys-select.h-before-oth.patch delete mode 100644 meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-memset-and-family-needs-to-include-string.h.patch delete mode 100644 meta-oe/recipes-devtools/jsonrpc/jsonrpc/0002-Fix-build-problem-on-Mac.patch rename meta-oe/recipes-devtools/jsonrpc/{jsonrpc_0.7.0.bb => jsonrpc_git.bb} (53%) -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-cmake-replace-hardcoded-lib-CMAKE_LIBRARY_PATH-with-.patch b/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-cmake-replace-hardcoded-lib-CMAKE_LIBRARY_PATH-with-.patch deleted file mode 100644 index 748e4da1a6..0000000000 --- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-cmake-replace-hardcoded-lib-CMAKE_LIBRARY_PATH-with-.patch +++ /dev/null @@ -1,77 +0,0 @@ -From ac61124df17ab76527508bbb9a3115d4d6cc1af6 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 21 Nov 2016 11:26:26 -0800 -Subject: [PATCH] cmake: replace hardcoded lib/${CMAKE_LIBRARY_PATH} with - {CMAKE_INSTALL_LIBDIR} - -Fixes -| CMake Error at src/jsonrpccpp/CMakeLists.txt:207 (install): -| install TARGETS given unknown argument "/lib". - -and - -Wrong install paths during cross compile - -Signed-off-by: Khem Raj ---- - src/jsonrpccpp/CMakeLists.txt | 8 ++++---- - src/stubgenerator/CMakeLists.txt | 6 +++--- - 2 files changed, 7 insertions(+), 7 deletions(-) - -diff --git a/src/jsonrpccpp/CMakeLists.txt b/src/jsonrpccpp/CMakeLists.txt -index e4a1eb5..13f9056 100644 ---- a/src/jsonrpccpp/CMakeLists.txt -+++ b/src/jsonrpccpp/CMakeLists.txt -@@ -205,15 +205,15 @@ if (WIN32) - endif() - - install(TARGETS ${ALL_LIBS} -- LIBRARY DESTINATION lib${LIB_SUFFIX}/${CMAKE_LIBRARY_PATH} -- ARCHIVE DESTINATION lib${LIB_SUFFIX}/${CMAKE_LIBRARY_PATH} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION bin - ) - - #set pkg-config - get_filename_component(FULL_PATH_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} ABSOLUTE) - set(FULL_PATH_INCLUDEDIR "${FULL_PATH_INSTALL_PREFIX}/include") --set(FULL_PATH_LIBDIR "${FULL_PATH_INSTALL_PREFIX}/lib/${CMAKE_LIBRARY_PATH}") -+set(FULL_PATH_LIBDIR "${FULL_PATH_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") - - CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/cmake/libjsonrpccpp-client.pc.cmake ${CMAKE_BINARY_DIR}/libjsonrpccpp-client.pc) - CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/cmake/libjsonrpccpp-server.pc.cmake ${CMAKE_BINARY_DIR}/libjsonrpccpp-server.pc) -@@ -223,6 +223,6 @@ INSTALL(FILES - "${CMAKE_BINARY_DIR}/libjsonrpccpp-server.pc" - "${CMAKE_BINARY_DIR}/libjsonrpccpp-client.pc" - "${CMAKE_BINARY_DIR}/libjsonrpccpp-common.pc" -- DESTINATION "lib${LIB_SUFFIX}/${CMAKE_LIBRARY_PATH}/pkgconfig") -+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") - - -diff --git a/src/stubgenerator/CMakeLists.txt b/src/stubgenerator/CMakeLists.txt -index f9dbe4c..b57b0fe 100644 ---- a/src/stubgenerator/CMakeLists.txt -+++ b/src/stubgenerator/CMakeLists.txt -@@ -58,15 +58,15 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/cmake/libjsonrpccpp-stub.pc.cmake ${CMAKE_BIN - - INSTALL(FILES - "${CMAKE_BINARY_DIR}/libjsonrpccpp-stub.pc" -- DESTINATION "lib/${CMAKE_LIBRARY_PATH}/pkgconfig") -+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") - - install(DIRECTORY ${CMAKE_SOURCE_DIR}/src/stubgenerator/ - DESTINATION include/jsonrpccpp/stubgen - FILES_MATCHING PATTERN "*.h") - - install(TARGETS ${ALL_LIBS} jsonrpcstub -- LIBRARY DESTINATION lib${LIB_SUFFIX}/${CMAKE_LIBRARY_PATH} -- ARCHIVE DESTINATION lib${LIB_SUFFIX}/${CMAKE_LIBRARY_PATH} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION bin - ) - --- -2.10.2 - diff --git a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-filedescriptorclient-Typecast-min-arguments-correctl.patch b/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-filedescriptorclient-Typecast-min-arguments-correctl.patch deleted file mode 100644 index d21e97950c..0000000000 --- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-filedescriptorclient-Typecast-min-arguments-correctl.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 9500f12f5d827840634311d6ca972d9551211e4d Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 21 Nov 2016 01:00:51 -0800 -Subject: [PATCH] filedescriptorclient: Typecast min() arguments correctly - -Fixes - -| /mnt/a/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/jsonrpc/0.7.0-r0/git/src/jsonrpccp -p/client/connectors/filedescriptorclient.cpp:47:92: note: deduced conflicting types for parameter 'co -nst _Tp' ('unsigned int' and 'long unsigned int') -| ssize_t byteWritten = write(outputfd, toSend.c_str(), min(toSend.size(), MAX_WRITE_SIZE)); - -Signed-off-by: Khem Raj ---- - src/jsonrpccpp/client/connectors/filedescriptorclient.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/jsonrpccpp/client/connectors/filedescriptorclient.cpp b/src/jsonrpccpp/client/connectors/filedescriptorclient.cpp -index 77aac7e..6325b5c 100644 ---- a/src/jsonrpccpp/client/connectors/filedescriptorclient.cpp -+++ b/src/jsonrpccpp/client/connectors/filedescriptorclient.cpp -@@ -43,7 +43,7 @@ void FileDescriptorClient::SendRPCMessage(const std::string& message, - string toSend = message; - do - { -- ssize_t byteWritten = write(outputfd, toSend.c_str(), min(toSend.size(), MAX_WRITE_SIZE)); -+ ssize_t byteWritten = write(outputfd, toSend.c_str(), min((long unsigned int)toSend.size(), MAX_WRITE_SIZE)); - if (byteWritten < 1) - throw JsonRpcException(Errors::ERROR_CLIENT_CONNECTOR, - "Unknown error occured while writing to the output file descriptor"); --- -2.10.2 - diff --git a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-filedescriptorserver-Include-sys-select.h-before-oth.patch b/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-filedescriptorserver-Include-sys-select.h-before-oth.patch deleted file mode 100644 index 3b9068a7d8..0000000000 --- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-filedescriptorserver-Include-sys-select.h-before-oth.patch +++ /dev/null @@ -1,34 +0,0 @@ -From c7aad10628949e126f50e3264b5bc7eb417347c6 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 21 Nov 2016 01:25:10 -0800 -Subject: [PATCH] filedescriptorserver: Include sys/select.h before other - headers - -Fixes errors e.g. -| /mnt/a/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/jsonrpc/0.7.0-r0/git/src/jsonrpccp -p/server/connectors/filedescriptorserver.h:63:7: error: unknown type name 'fd_set' -| fd_set read_fds; -| ^ - -Signed-off-by: Khem Raj ---- - src/jsonrpccpp/server/connectors/filedescriptorserver.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/jsonrpccpp/server/connectors/filedescriptorserver.cpp b/src/jsonrpccpp/server/connectors/filedescriptorserver.cpp -index 9d74223..8e019ca 100644 ---- a/src/jsonrpccpp/server/connectors/filedescriptorserver.cpp -+++ b/src/jsonrpccpp/server/connectors/filedescriptorserver.cpp -@@ -7,8 +7,8 @@ - * @license See attached LICENSE.txt - ************************************************************************/ - --#include "filedescriptorserver.h" - #include -+#include "filedescriptorserver.h" - #include - #include - #include --- -2.10.2 - diff --git a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-memset-and-family-needs-to-include-string.h.patch b/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-memset-and-family-needs-to-include-string.h.patch deleted file mode 100644 index 21ef98bf5a..0000000000 --- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0001-memset-and-family-needs-to-include-string.h.patch +++ /dev/null @@ -1,26 +0,0 @@ -From f5416f1c2b2989f94163a2ae4b91c9b9fa13c620 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 31 Mar 2017 13:32:31 -0700 -Subject: [PATCH 1/2] memset() and family needs to include string.h - -Signed-off-by: Khem Raj ---- - src/jsonrpccpp/server/connectors/unixdomainsocketserver.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/jsonrpccpp/server/connectors/unixdomainsocketserver.cpp b/src/jsonrpccpp/server/connectors/unixdomainsocketserver.cpp -index 9fca57b..e63c49e 100644 ---- a/src/jsonrpccpp/server/connectors/unixdomainsocketserver.cpp -+++ b/src/jsonrpccpp/server/connectors/unixdomainsocketserver.cpp -@@ -16,7 +16,7 @@ - #include - #include - #include --#include -+#include - - using namespace jsonrpc; - using namespace std; --- -2.12.1 - diff --git a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0002-Fix-build-problem-on-Mac.patch b/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0002-Fix-build-problem-on-Mac.patch deleted file mode 100644 index aece45b020..0000000000 --- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc/0002-Fix-build-problem-on-Mac.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 79050ef9607f242e0d509969b19e9390220c3411 Mon Sep 17 00:00:00 2001 -From: Yongwei Wu -Date: Sat, 31 Dec 2016 11:57:11 +0800 -Subject: [PATCH 2/2] Fix build problem on Mac. - -__suseconds_t is not defined on Mac/BSD; use the POSIX-conformant -suseconds_t. ---- - src/jsonrpccpp/server/connectors/filedescriptorserver.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/jsonrpccpp/server/connectors/filedescriptorserver.cpp b/src/jsonrpccpp/server/connectors/filedescriptorserver.cpp -index 8e019ca..68107f2 100644 ---- a/src/jsonrpccpp/server/connectors/filedescriptorserver.cpp -+++ b/src/jsonrpccpp/server/connectors/filedescriptorserver.cpp -@@ -122,7 +122,7 @@ int FileDescriptorServer::WaitForRead() { - FD_ZERO(&except_fds); - FD_SET(inputfd, &read_fds); - timeout.tv_sec = 0; -- timeout.tv_usec = (__suseconds_t) (READ_TIMEOUT * 1000000); -+ timeout.tv_usec = (suseconds_t) (READ_TIMEOUT * 1000000); - // Wait for something to read - return select(inputfd + 1, &read_fds, &write_fds, &except_fds, &timeout); - } --- -2.12.1 - diff --git a/meta-oe/recipes-devtools/jsonrpc/jsonrpc_0.7.0.bb b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_git.bb similarity index 53% rename from meta-oe/recipes-devtools/jsonrpc/jsonrpc_0.7.0.bb rename to meta-oe/recipes-devtools/jsonrpc/jsonrpc_git.bb index eb1ff65b63..aea11b0828 100644 --- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc_0.7.0.bb +++ b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_git.bb @@ -5,22 +5,16 @@ DESCRIPTION = "JsonRpc-Cpp is an OpenSource implementation of JSON-RPC \ HOMEPAGE = "https://github.com/cinemast/libjson-rpc-cpp" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee72d601854d5d2a065cf642883c489b" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e728c5b36018f6c383b4b9efd9c8840" +SECTION = "libs" +DEPENDS = "curl jsoncpp libmicrohttpd hiredis" -PV = "0.7.0+git${SRCPV}" +PV = "1.1.1+git${SRCPV}" +# v1.1.1 +SRCREV = "319783c635cf8cabcc1a980495c99a88f9ebbd97" SRC_URI = "git://github.com/cinemast/libjson-rpc-cpp \ - file://0001-cmake-replace-hardcoded-lib-CMAKE_LIBRARY_PATH-with-.patch \ - file://0001-filedescriptorclient-Typecast-min-arguments-correctl.patch \ - file://0001-filedescriptorserver-Include-sys-select.h-before-oth.patch \ - file://0001-memset-and-family-needs-to-include-string.h.patch \ - file://0002-Fix-build-problem-on-Mac.patch \ " -SRCREV = "ccbdb41388bdd929828941652da816bf52a0580e" - -SECTION = "libs" - -DEPENDS = "curl jsoncpp libmicrohttpd" S = "${WORKDIR}/git" @@ -30,3 +24,5 @@ EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO -DBUILD_SHARED_LIBS=YES -DBUILD_STATIC_LIBS=YES \ -DCMAKE_LIBRARY_PATH=${libdir} \ " + +FILES_${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake" From patchwork Wed Jan 30 05:29:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157030 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5517192jaa; Tue, 29 Jan 2019 21:30:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN69qNIvJ8nwkJ7TLEyWuaNljn0ZywjuOK4kJBZidXfy5hLbpPSjDHn+JQclOBJoIOeC3Dzw X-Received: by 2002:a17:902:7b91:: with SMTP id w17mr28974927pll.111.1548826209484; Tue, 29 Jan 2019 21:30:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548826209; cv=none; d=google.com; s=arc-20160816; b=x9sZvvWR/F2iLKHswKmtNFevJ+EEPgWS6g24CtM3Fo/+JCaZ2HuI9UGgfX5H83wmqe 5eSBmtdAPIfo3xEpyBUGX43lTBh21XJ7iRCB/UY12nstEHSx2cY/o9CwdWg3pM3O70LR KaUU1pYYu+2ULaxiOLNzN29nSUBfP0R7pxxtT1s2QlTPj1yi7V8z53c4mcdaelJtt+VP yFhjIkjTHB9a0FXEYV03A9zjnoPpyyL9hdHcmGYr7nwKlmobdFO3w2BdroGRYMu9Yf5x 8TvsARcqG8rYK8lZzl8VjuXWuzXBa6dyrEV2iWKFB0VbAgEdUBIcJWpeJa5MTORwvK2b RqZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=2BipShWtTqEvD5ZSktO6ZWv258SoR9vmF7MsQr39/78=; b=iQvL5XtmW35kuMuM2IcAmDHEc1GV16wPKBTnDRJwAC9s9+vMPuYQvl9UzCcKgVpuPG qSBdcn7gCSkIS4YwU03ZK4VB9lPjsaatR5+jQQbkravgVDWNXF/VeCK4SwSD6actKt+f 6OKNhN2TUea+qWHpf8/lmUP5nMCVxyR+IoMlSlaDCCrmbW8ESdIiMvdw9QOE5ipXYwLJ gcNTGlXcqZ24+R+40P6X54qSRdgvSc2OnORs1TgReohmBjI2xKw3V26PKlofdZBIqHOo hQdk2ftygpAxmvhGL7WXDag4tOfubOgjE5W2H+4QLgDxMHIPnHY2X7Vhqo6OnZCWkyHJ 9KRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=eu2m7zPE; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d90si571709pld.148.2019.01.29.21.30.09; Tue, 29 Jan 2019 21:30:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=eu2m7zPE; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1EA5B7C213; Wed, 30 Jan 2019 05:29:45 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mail.openembedded.org (Postfix) with ESMTP id 3FC987C187 for ; Wed, 30 Jan 2019 05:29:25 +0000 (UTC) Received: by mail-pf1-f172.google.com with SMTP id c123so10904813pfb.0 for ; Tue, 29 Jan 2019 21:29:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lAvvzMpBj8+MsMcIaFyD56IUc3PoAxgvMHPDTpVcgzc=; b=eu2m7zPEtBUj8FXF7P95YQsxwpT+JMtTdCVplka3krc30wperZxfZ7Leva1hW9jFiy V7mwKc/8MpYWVT6MOk6oH4ik0XU43b0E2reWKYko3CHCYk8YvaZjoc4p2DuEZk2wyrUA Suhyv8hwXgsBiaPzfqLUa++KJugmjkzmq+EICztwMpEoqvssH0bgcp8XvDLgIJPSQTMK UWNLNR37cABrXa1i0MUdZ7GWab3vAMCWDN5Duvp2b5x6TywWxvipz0gdY0hVNZK4TuP8 o0POGxrHHAL4Cbuor+Psmzp701x2w1bo/vbW8v+uQMndyapQaRXXH8ttsohYvFRPsRhv 6KAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lAvvzMpBj8+MsMcIaFyD56IUc3PoAxgvMHPDTpVcgzc=; b=WfQnYh3n3wPdY4/OMsOm614tKe0rqTvh3BnRcMyZA8R71WfjcFB49p9kZTxxDeYdeg Kgp1+OiOJoaUoffAVZqm+QymJAWsF2FwokKxDfeNAhD5n/EHQudJPr1d09V+9/42MbJL l9yFqsIV+QIcAsgbdZYpeGW0/sw2ZwzAhAeyqYJtwc5EM3e8SrFOARg64LEkff/cHVfu +VH7gLs2Z2woPNVio0g/0ojnm1pSb/PxVC4hPqrmQqSbBR8AOl3m7/vghot2fYcXuPji VtAX/p8GbWdnWHinhMWw82BxTLvQ3JiWyMHtfEzkQbKv6DAd2UqE4xhyGPjrF/eHtb8W 7tfQ== X-Gm-Message-State: AJcUukcLOfdxu0aUau8k0yatokPjq+XFeGrxvGpAjzMCONP7RyU3rtC/ lrIctrBLNfNi+weLeM1IKkmG+z93XRw= X-Received: by 2002:a63:bf0b:: with SMTP id v11mr26892229pgf.302.1548826165945; Tue, 29 Jan 2019 21:29:25 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::26b6]) by smtp.gmail.com with ESMTPSA id v190sm652633pfv.26.2019.01.29.21.29.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 21:29:25 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 29 Jan 2019 21:29:09 -0800 Message-Id: <20190130052911.36336-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130052911.36336-1-raj.khem@gmail.com> References: <20190130052911.36336-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 6/8] asio: Update to 1.12.2 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../recipes-support/asio/{asio_1.12.1.bb => asio_1.12.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-support/asio/{asio_1.12.1.bb => asio_1.12.2.bb} (80%) -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/asio/asio_1.12.1.bb b/meta-oe/recipes-support/asio/asio_1.12.2.bb similarity index 80% rename from meta-oe/recipes-support/asio/asio_1.12.1.bb rename to meta-oe/recipes-support/asio/asio_1.12.2.bb index 28cd9c0e19..ee548fd3aa 100644 --- a/meta-oe/recipes-support/asio/asio_1.12.1.bb +++ b/meta-oe/recipes-support/asio/asio_1.12.2.bb @@ -16,7 +16,7 @@ ALLOW_EMPTY_${PN} = "1" LIC_FILES_CHKSUM = "file://COPYING;md5=3e73f311a3af69e6df275e8c3b1c09b5" -SRC_URI[md5sum] = "037854d113024f57c9753d6326b339bc" -SRC_URI[sha256sum] = "a9091b4de847539fa5b2259bf76a5355339c7eaaa5e33d7d4ae74d614c21965a" +SRC_URI[md5sum] = "312e53385e2daad10f08d57f91ad3431" +SRC_URI[sha256sum] = "4e27dcb37456ba707570334b91f4798721111ed67b69915685eac141895779aa" SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2" From patchwork Wed Jan 30 05:29:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157031 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5517292jaa; Tue, 29 Jan 2019 21:30:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN5jhlmrQUJ6VSD038+uH2JTCqIBoY3tuINwXct7H4a0YMgrs4duX8m2w5CM64zlXZ2mvtN9 X-Received: by 2002:a62:9683:: with SMTP id s3mr28989277pfk.60.1548826217399; Tue, 29 Jan 2019 21:30:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548826217; cv=none; d=google.com; s=arc-20160816; b=SbhOahvmfLE+6zlYIo0P04+lGxDKljL4tHF2aiQGJrJv67VPPuvg4AWyuEZxNzA9n7 4RTiJiuTH8eudhJL6o39uQJdBHiKBMEhUbX4JvfJ8d3k1jXtR1iAydmB4xv11PJ6UISu CL6noJFZz1g2Qn0+iL5/bf7S/NqQNZ+OIeO3O7fREkCz796BDSL2Ue+WttIGmnII5uh+ FHVrwYpgf2OAQDgycdI4K56833Sfr75LT2dDaQU+LoSOeSlcGBFJxiXVb0Eq/LUetfly qvd1cXdm/9HbLR5OOHZacP3lnK4bH/WlX7F7K/PS5iV83/hi3ixngRKTWU1sXiuUTsyZ fy2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=nuGdsF5ue3LSLn5LbsadbdGCL/pe8K9Tm547e+PI1HY=; b=yVFgBVTJ9mApowhoi/Ltwvh4T2erjrZj1J71+fAjjj2qujv6gDc4nsfF7nrlLiSNh7 GLxBF8z167OJ9LB39mbkSaEMgOdVynq8DX9puXmUjf4pYIUJhtf0nfS5KFiBoB4JLCuZ yLlRdjRT+sJr/uqptB/qNI/riuxsvNSssRL5bhV4tFv4I2i2o1/849jmILL2KZKEm8Dj doYuGlzVHubJUCs+hKOfpQu1munJcoJbLv5DLR5JvpPXkI/03vM7VeKpOYVfPu6dPtnI 7P/dkNPII53OT1G/1JNs8l+N2vrGMkLCsKx1ID8rIO7fp7VmLHW5i7pfMS2bkOMzrYO3 buZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="e/N+shdN"; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 128si589512pfe.4.2019.01.29.21.30.16; Tue, 29 Jan 2019 21:30:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="e/N+shdN"; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7BC117C2A3; Wed, 30 Jan 2019 05:29:46 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mail.openembedded.org (Postfix) with ESMTP id 95C657C219 for ; Wed, 30 Jan 2019 05:29:26 +0000 (UTC) Received: by mail-pf1-f173.google.com with SMTP id y126so10882047pfb.4 for ; Tue, 29 Jan 2019 21:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UjtIWFcJUqOsmed4FY8ePqM9etIpej9DXlOV07Ay1Yo=; b=e/N+shdNcMDeoSxUDewMTMNFABjAVa2g0sqaksiYRVJHX0FPkxALsXUgR4ib8B43YO s79c3h+ffEKy2EL+3OyD0sX5EyRvUUOGAuc6J3Qbb1DQ+OqWUQJJEexFjLduT8TpxXKS xWyW4PZHsUzOpom43aHuu0o4PDqXYZKD/AgN+YNRrCUERoziEP5oC1zW9UspPmX5vtuS DfKuwB9FVBKGMBGiIkhjI4anEG9hMriGp7voizXZj2pZnfTmwYtCEyVYw7YbS8PH+dUG Ez4S0VLzwDF23KwluvQDmMChamnSuYmmgpsVHXRweR5cnEQurkFBIVC4NeXJPdbBitKd joQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UjtIWFcJUqOsmed4FY8ePqM9etIpej9DXlOV07Ay1Yo=; b=PswgA0bX4YFU/+4YYOzUzAxyIvvBlBIOWtU3SuH0IQ30MQ9NLHhIgr2pIJfN5TUqRS DMOBC8NSlKMoiDI95EfBSckc33RampUUow6UPsb1CA4KNTM9HnvN1A9G4wHSWvzpmeg8 1a7LiNWmI5f+xaGNpMz/mXW7kpO21sI+NMXBTTYQCTk0OM9EKhUnNb/xUiwT+8ExxxCp zyk5pWWxQ/MvBJoqq9O86u/5qKvIondohRC7kZaj4Sssg87e2LAZJ8hRlhNciAS15sz4 lAQEHOPGsRHxJ3aJw2r7YQ/ce+8vdV7i7QMWN2+BER28ksMxakgz3RBE3ejpUs0qxmtp yGgg== X-Gm-Message-State: AJcUukcHvBOYs6bESfI26fgokVN9GAh85jKPMFfW08HWhkFFT0iAhwOS PtNI8b8Jl1JPjGrim0TYRVLfLub7WNw= X-Received: by 2002:a65:51ca:: with SMTP id i10mr25482064pgq.371.1548826167195; Tue, 29 Jan 2019 21:29:27 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::26b6]) by smtp.gmail.com with ESMTPSA id v190sm652633pfv.26.2019.01.29.21.29.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 21:29:26 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 29 Jan 2019 21:29:10 -0800 Message-Id: <20190130052911.36336-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130052911.36336-1-raj.khem@gmail.com> References: <20190130052911.36336-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 7/8] jack: Fix build when using libc++ X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../jack/jack/0001-Fix-OSX-build.patch | 27 +++++++++++++++++++ meta-oe/recipes-multimedia/jack/jack_git.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta-oe/recipes-multimedia/jack/jack/0001-Fix-OSX-build.patch -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-multimedia/jack/jack/0001-Fix-OSX-build.patch b/meta-oe/recipes-multimedia/jack/jack/0001-Fix-OSX-build.patch new file mode 100644 index 0000000000..d9a3ab7cc5 --- /dev/null +++ b/meta-oe/recipes-multimedia/jack/jack/0001-Fix-OSX-build.patch @@ -0,0 +1,27 @@ +From dd65685c24bb25a800ed42388ed0a1e8792b2ed2 Mon Sep 17 00:00:00 2001 +From: falkTX +Date: Sat, 24 Nov 2018 14:29:58 +0100 +Subject: [PATCH] Fix OSX build + +Signed-off-by: Khem Raj +Upstream-Status: Backport [https://github.com/jackaudio/jack2/commit/d851fada460d42508a6f82b19867f63853062583] +--- + posix/JackNetUnixSocket.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/posix/JackNetUnixSocket.cpp b/posix/JackNetUnixSocket.cpp +index 7a5585ef..a4cb5036 100644 +--- a/posix/JackNetUnixSocket.cpp ++++ b/posix/JackNetUnixSocket.cpp +@@ -169,7 +169,7 @@ namespace Jack + + int JackNetUnixSocket::Bind() + { +- return bind(fSockfd, reinterpret_cast(&fRecvAddr), sizeof(socket_address_t)); ++ return ::bind(fSockfd, reinterpret_cast(&fRecvAddr), sizeof(socket_address_t)); + } + + int JackNetUnixSocket::BindWith(const char* ip) +-- +2.20.1 + diff --git a/meta-oe/recipes-multimedia/jack/jack_git.bb b/meta-oe/recipes-multimedia/jack/jack_git.bb index 52559cb367..99bf2e3705 100644 --- a/meta-oe/recipes-multimedia/jack/jack_git.bb +++ b/meta-oe/recipes-multimedia/jack/jack_git.bb @@ -16,6 +16,7 @@ DEPENDS = "libsamplerate0 libsndfile1 readline" SRC_URI = "git://github.com/jackaudio/jack2.git \ file://0001-Python-3.7-fixes-2126.patch \ + file://0001-Fix-OSX-build.patch \ " SRCREV = "c1647819eed6d11f94b21981d9c869629299f357" PV = "1.9.12" From patchwork Wed Jan 30 05:29:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 157032 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5517391jaa; Tue, 29 Jan 2019 21:30:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN7yEGSxQZeqkYuUZXOGfJmXGGKgLm2ZYMwLDrswGlqB+heWZPc9pc02OSdyP39pHecVbBo4 X-Received: by 2002:a63:5e43:: with SMTP id s64mr26461195pgb.101.1548826224415; Tue, 29 Jan 2019 21:30:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548826224; cv=none; d=google.com; s=arc-20160816; b=wZM5pghOhjpQ6ihLdtsH8QcNJH/xiRULCpWtrOIZa0Zxos225phXSj9OopKppKi1v8 QCb0VtKpmMcABwqokAxe9C/IA7lNrZ5Rm+3GP2RkS2GHvuGB+O5LzNjyQsHNe/FQGv7P fhL4E/CARgty022mQxHRghURHTxSLdGG7wviVgPfsD90/YzfdIZ+2rEEL8dreOyvE9Tp H9Naj3FgQKnLupqPqrp/EDZz2nQhWQ9cppnjtIew7Gv70MqLbMV/MvehYcHm8Vf+fLsS z7fX8n8P+axF1OeoTEv12KOulQqaetvua9opWhA0nVoHgzRevLgoFeneecrHYSB1LdyX PDKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=lRM6FlXZyvtplsjc+CnBiE4PscjYeSDuz2mBGqcEKPQ=; b=zyTc7lyxKfSRK5IhFzzUYmI6q8GzKpIp9U1/cUGkiRACp2g2uE9y03LUPE0ClxR6d1 Pwy92eOHgwZS2EfWD9rF6N34dGUp0lJ0wPfuL4JcbGNCboNbwXEAA7EoWSRcBlCR+w/X hrx6EPEulEJRPz54F6ao19+sXTbcKPoci47Lz697RbWMyrOHyx8Ne05abyw96qOxU81a RJoI0I6BtaHWrqyPjdW2KfBMhpDHkrwxUO2GiE10cLoaaQkgIG/pyPXrpb1YJlQ8YobP N+F14itAm/gXccZVgBuBL+IvFJraTNy2TrWShSFNBS9tSXr9Xa0L3WAnl3H0y1+wVrJL UvpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=eOWPkbLw; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k14si546801pll.346.2019.01.29.21.30.24; Tue, 29 Jan 2019 21:30:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=eOWPkbLw; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id ACFB37C2AA; Wed, 30 Jan 2019 05:29:47 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id 7A8087C1F4 for ; Wed, 30 Jan 2019 05:29:27 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id c73so10860089pfe.13 for ; Tue, 29 Jan 2019 21:29:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VkH6593TmdzyKwsha9ayCQUF5y5vKOLfF8jZgKcJyxo=; b=eOWPkbLwVOBWQHoQViD7qiUIKrTzptVJIWhbES3a4vLf6g0V2Kj3a+dkT2BVle9/nl wyxKDuZsHsUCZI4DRCkyWJh+GWrOL/kV58RwqNk/dO6oR+U3beEcByUMKjv/DK7l+qzh nJIhFDsPU1C+oXi1sPW1VD3cJG7gpQKz+AFrRxEfdiMjD3pIhlWs1dY8S3id7BUhwb9C RF2Iz9wC24gM9XYxKseeQHuc1IZU08kDc++dRgEAMjh4W79o5f4UZF3pg4ltwsq3zzRk BqJOBzgsC4acEWxhRrVqPTkAES3kpliqKREFIrskxfzlGljFkuaxDpETWlT4V1nv5+Zb r57Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VkH6593TmdzyKwsha9ayCQUF5y5vKOLfF8jZgKcJyxo=; b=Shxj20W8IQ62pXmNImhIledoXLz+YUzqGK0ljnVCJ25x3VJZVI5wNSD4RzmDeEGCtE S1hecctiNOsJahY665i1twcHCmKdQUFu9C2kEuuNB8d9LhUXTfxO1uPoYwYpH/90b2cj 0CWGQZY2KXHHWv96U9XAgf605plRCKm3F82f+MCnBh1XqA5OZ0is7ZL4g/8B2mMLFmfj BrgF9xAh+tqRM7NhgArdGbS9BDLGUMEhk4whD8c6JOZtCGHtEnQJTVI8/UYgPykZOw7z eRoVzFcOWpFrZbuX7uK5NEg6IieLFWC41Oxyavr3P5HvhTyiqWfkPuqpaGm2/68D9NkV oK6g== X-Gm-Message-State: AJcUukcek0VGf9uHrpqXnSbLAb0KvzBV6zZ7WQwGGYMg8rDuNct4isiM GmCnagmgYPrPqaYQYcvAZROdNo9QHvc= X-Received: by 2002:a62:5f07:: with SMTP id t7mr28958690pfb.108.1548826168284; Tue, 29 Jan 2019 21:29:28 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::26b6]) by smtp.gmail.com with ESMTPSA id v190sm652633pfv.26.2019.01.29.21.29.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 21:29:27 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 29 Jan 2019 21:29:11 -0800 Message-Id: <20190130052911.36336-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130052911.36336-1-raj.khem@gmail.com> References: <20190130052911.36336-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 8/8] mozjs: Fix symbol visibility with clang/libc++ X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../mozjs/mozjs/JS_PUBLIC_API.patch | 37 +++++++++++++++++++ .../recipes-extended/mozjs/mozjs_52.9.1.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch b/meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch new file mode 100644 index 0000000000..6c87ff2a4c --- /dev/null +++ b/meta-oe/recipes-extended/mozjs/mozjs/JS_PUBLIC_API.patch @@ -0,0 +1,37 @@ +Patch from https://bugzilla.mozilla.org/show_bug.cgi?id=1426865 + +Signed-off-by: Khem Raj +Upstream-Status: Submitted [https://bugzilla.mozilla.org/show_bug.cgi?id=1426865] +--- a/js/public/TypeDecls.h ++++ b/js/public/TypeDecls.h +@@ -21,22 +21,23 @@ + #include + + #include "js-config.h" ++#include "jstypes.h" + + struct JSContext; +-class JSFunction; ++class JS_PUBLIC_API(JSFunction); + class JSObject; +-class JSScript; +-class JSString; +-class JSAddonId; ++class JS_PUBLIC_API(JSScript); ++class JS_PUBLIC_API(JSString); ++class JS_PUBLIC_API(JSAddonId); + +-struct jsid; ++struct JS_PUBLIC_API(jsid); + + namespace JS { + + typedef unsigned char Latin1Char; + +-class Symbol; +-class Value; ++class JS_PUBLIC_API(Symbol); ++class JS_PUBLIC_API(Value); + template class Handle; + template class MutableHandle; + template class Rooted; diff --git a/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb b/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb index a28ecc57d6..74dd15bfcb 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb @@ -15,6 +15,7 @@ SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/m/mozjs52/mozjs52_52.9.1.o file://add-riscv-support.patch \ file://0001-mozjs-fix-coredump-caused-by-getenv.patch \ file://format-overflow.patch \ + file://JS_PUBLIC_API.patch \ " SRC_URI_append_libc-musl = " \ file://0006-support-musl.patch \