From patchwork Mon May 22 05:00:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100248 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86227qge; Sun, 21 May 2017 22:02:15 -0700 (PDT) X-Received: by 10.98.48.5 with SMTP id w5mr3897182pfw.44.1495429335498; Sun, 21 May 2017 22:02:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429335; cv=none; d=google.com; s=arc-20160816; b=jP+1iN6YW59IkdaPKuD6ILim2wY5Al4Zpic2/SansOdcv05ShVGpi/C0nP3xiJ5HDB drLBL6QyiEYaP+zVwct69HcBFEQPf+vL+nIxpeVPmi3KUX5m1I2NLinBC8wY8BK4JNub rWL4AvTE0MYqaQwD4nAmxHfXVHIUehOKFpgOkksQgg4Oc0rlv6ZLYFYbtfT/KI9NzUI3 XDZhXS4jEu4MvR6Azvby7JijmjFWXQZ9iMYOQH7B6K0PYqDxgSaHAR0LAGcL3lS23/9S AT7sY9/snnzOR7lvbhtopDkXh1sSeaDODV5+lqPm3qXco3L154l31eHZk4Z+Ywtk/Qqg iWiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=hjW5+gGMgX2JHEMuwI47HxGIZsxlV3Vv58V0DP79Xnw=; b=qooU7bzSAB2WcFjbJcHS57ntC4x4RVfnZxJM598NUjI7iocjZkrumMQlFmHA5uSg+9 YfUs0S16Nu1c/qgnAh3rVZZPFrXVy4XskXOcgYghLLcI80o8yTzHB7ouioZukDU6kAGq 5W2I//2oYF/4yRr4E/1ho85oGTkqJy66b4pTXaLGHZQwp9rcm7LfO7XHSYWT9hFoQxV5 IJLaMGW99Q31H4jBFJXNkYB0eePhTNrgGvEQWRr81NW8Ftxdc0ByfsuuXZ22fXkVuArc 23iEZIRSihpbfSq+vvwLKxWjTkpfIx2r9+sB8JP+a9gWsqqdWFxuFvy/QSk7W1UTkSMT Zhlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 x6si16305713plm.296.2017.05.21.22.02.15; Sun, 21 May 2017 22:02:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0B8D877F7E; Mon, 22 May 2017 05:02:13 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 5EDDF77F6B for ; Mon, 22 May 2017 05:00:54 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id u26so17292253pfd.2 for ; Sun, 21 May 2017 22:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=/JcVPauPI7jIiniVWHnJ/iqdrLQx9YtdU6LJxXd01yU=; b=alJlQzF75Kmp2T2Q2m3Hl7DyPVRw3y/n1hCeDiKbfF4WFWKILLMaIWkJJ8cIzSiFhc gzbt7qJIn7rgmsr+B+6RJ9jydoipoT5exKYdfgyHOguaqBMfzqarZKobbQFdcN1u5TYm qZgEwfnX7QSlWGxAysuoEMx6XtmS9MhOOqccEcecc6YSxV3KsJ6mi12C6JmzxuUKojRa axgfFvYfzln1BL6qDVhu9LoodKy3VpdMml50xJ3g2mZScSKY5N8xDrBVLR3OVnnSG/k4 NDD9GUxB9N3+ljohK0INi8CifruL751GDJ1vI2Z6xsNEbZ17hFXQftYH/NwFwUflZNr2 3z1A== 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; bh=/JcVPauPI7jIiniVWHnJ/iqdrLQx9YtdU6LJxXd01yU=; b=IAEo3Q+EIgMvhluzZiw8C48K9hwIUkJonIbqHbcvXMI9kO800Wqir8oor7yd2y5VHc Joa4bIS63Nb9r46XhVp19tLoiRgbY6t/Jq+t6l6nBgS8//q4az+AObHMqBFMybZxlUNd kSLd/EoVDDGgnlAOPzwe4Yb6hQsw6YRyuMlIbHxBQjxlfg8bqIbbFtU/BgdAMEieKeUV oE0wbCQmscJUk9pAnhOI+PYlPJZlFYfUqvBLvjftX8UVnO/F+FviyuM6gbUgwWgt8GBD 7qhqpRj8SRIGWiCz6D7WVs831lykIY5fuDBj2N4tjkejudPtpKvtlJJCBpKogZ9IIcbk V5mQ== X-Gm-Message-State: AODbwcBjKlkkoxRjopJCaMNBf+vm9vhXByNPUHnND/vqOtGGDhXnqTSg lSJ5k6eXc0l4qA== X-Received: by 10.84.141.36 with SMTP id 33mr25840700plu.99.1495429256307; Sun, 21 May 2017 22:00:56 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.00.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:00:55 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:28 -0700 Message-Id: <20170522050042.42403-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 Subject: [OE-core] [PATCH 01/15] musl: Update to latest master X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org * f9f686b7 have posix_spawnattr_setflags check for supported flags * 77e895dc add no-op POSIX_SPAWN_USEVFORK to spawn.h * 55550416 s390x: provide sigcontext struct definition * bb439bb1 implement new posix_spawn flag POSIX_SPAWN_SETSID * 58e2396a remove va_arg hacks in printf core with undefined behavior * e1232f5b make ttyname[_r] return ENODEV rather than ENOENT * 1a7fa5e5 fix regression in support for resolv.conf attempts option * 8c44a060 fix scalbn when result is in the subnormal range * 2577b1bc allow full-range file offsets to mmap on archs with 64-bit syscall args * b3751c32 fix dl_iterate_phdr in static PIE binaries * 1ca59755 fix read past end of buffer in getaddrinfo backend Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index a88bc4d424..bae072932c 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -3,7 +3,7 @@ require musl.inc -SRCREV = "54807d47acecab778498ced88ce8f62bfa16e379" +SRCREV = "f9f686b7721e2cc35e20fa5c6df6da2dc4ac3f50" PV = "1.1.16+git${SRCPV}" From patchwork Mon May 22 05:00:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100247 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp85935qge; Sun, 21 May 2017 22:01:21 -0700 (PDT) X-Received: by 10.98.157.207 with SMTP id a76mr23583232pfk.17.1495429281857; Sun, 21 May 2017 22:01:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429281; cv=none; d=google.com; s=arc-20160816; b=q12unfwtTnIsnENYMbyTw9lfi8MvJXR3xKoh6jn/RjfYUMo2xV2N5Vx3urYQWhM7jc QHSzBc3yEM2pbfbVLzjgHKK4hNGtESEJqGRfgMOyDyD/ZjPf0O65TA2OVx3pu0Ge0IRS g890ONIgVEpCUeCpRZc1slwvByb3uDT79NGifIdLU/EoUtyA2pvLLiJKtW/w53dyXvth yK3BQqIWgr11gDngObIz4hrZEP6uOviIDykU+c0FzBPbKwZ0XSXZLPW+THZFMYknnLzd VLR8+kmDnYjLejvQzPny+zbu4orJ3KxitHE5Bl+AjlQGXYU28p1otBVgY8U0yncIArrl lUDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=mV+qwKe7G/pg8/ZZ8T8Jf7Y31Pv6FtFDRNzQEBq4Yqo=; b=h/tkiJ7X6LJ107bDM0Y72nDm/o7QA4+R+kN8upBZSvAgadEaWZXbtVON8sTZWPq/je t+dfwn9k+TOndfZ6zYdYzPpE2l7h/2gG14Hd0k7XMe+Ju/eOzPIS3ramLeAgCiPRGc+6 zDIKtczsyUbfu092xm2QewZ75sukMiStIYFVy/bQtpjl9SCh9MJB5dunIHulDdmudJCu BbmB214F6g/vvj7TdLABdZPrUveUEQpcg9cLZIxzb/CIV4byAxcVD8wXPXl2YPrYSnxY wDd8k0u1YCIrsGblKQ6GbZW4bImPILzG0Xeh0MEjbS8vT/JyuEq1zS8pnDWYBTDwOEj8 Fr4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 133si16209979pgb.29.2017.05.21.22.01.21; Sun, 21 May 2017 22:01:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C0F4771D87; Mon, 22 May 2017 05:01:01 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com [209.85.192.177]) by mail.openembedded.org (Postfix) with ESMTP id 487B771D87 for ; Mon, 22 May 2017 05:00:56 +0000 (UTC) Received: by mail-pf0-f177.google.com with SMTP id e193so70350081pfh.0 for ; Sun, 21 May 2017 22:00:58 -0700 (PDT) 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; bh=KpmZIvC4ELjGm9lb1GmoBv9xPz3qKYlijPXYwZoM4QQ=; b=I39nhFxyqgili2tJvqjuNsriQ37VM3+ZwQvV4rdcMQ4slH+z7fiRfxxKkZV2Pb/3Gi WDJlQgsPUTJhxMoIUp+bsGgOyBikeZUsGG/GHCu4oyrNbicJtOXsdyAm1qMd3EzfJzwz Fw4HQ+RRAeAlCIBCSK0gqiED5WIxgWP3+En+FRFomdnk8HDeryOdgkytP0i/Gx9AoMsd 9RncLi2jabVhvqXd2ByNDD+LLfm5hPdz9V6QShCYoxT9QFKgUoDpr6+JKEs2hz8NlCqG 34wt1vBEcJQfaz4cv9tGimw01ycGxT78qgJzL2SZ5q+W8hsNQldg7hEmc2EAeMn0u4LR dgqA== 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; bh=KpmZIvC4ELjGm9lb1GmoBv9xPz3qKYlijPXYwZoM4QQ=; b=TB9ZqHAFBLQsEa10UsTWRMhDyTER/f+0mLvwctphXw5+GrwrBoMcunDZfaGtNIEEUL Mfmh9rQpmGYjHUoIOf4+78Ob2afMxKS9lySD86QLPHuYktbo7qwEibCcv3ZYSCrkH2tF 695mdmFFcjmxDpL3L5C1iwsTX2Blk3nNOBGqLXYDkOwGD+wZesIblmOobHcpK9KV34Cs VwNP3mwJG7B2yoPhHOaaqPcwOFsX23vMIJtseKaQi6GXS7KbgTCVyRTehIO/cs7Dj4I3 htcKrE0JzufgHkeNXUS2qzarqbeigSz+4m7ZmfbsEwdozp6XX81Bw/iIo6jnXhBRhA07 +1uw== X-Gm-Message-State: AODbwcAchfpCZWYf/9SASHxep+8NXF1+wCi3lf3kY8FWurmPUybZLytP hzVOYNrWhhGKz7cf X-Received: by 10.98.59.2 with SMTP id i2mr23158709pfa.50.1495429257805; Sun, 21 May 2017 22:00:57 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.00.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:00:56 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:29 -0700 Message-Id: <20170522050042.42403-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 02/15] libnsl2: Add recipe X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org NIS functionality has been split out into independent library from glibc Signed-off-by: Khem Raj --- .../0001-include-sys-cdefs.h-explicitly.patch | 68 ++++++++++++++++++++++ .../0002-Define-glibc-specific-macros.patch | 57 ++++++++++++++++++ meta/recipes-extended/libnsl/libnsl2_git.bb | 35 +++++++++++ 3 files changed, 160 insertions(+) create mode 100644 meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch create mode 100644 meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch create mode 100644 meta/recipes-extended/libnsl/libnsl2_git.bb -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch b/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch new file mode 100644 index 0000000000..c6c259adb8 --- /dev/null +++ b/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch @@ -0,0 +1,68 @@ +From 508a0ff690dfebc17c4f55a5f81824ed549bed66 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 18 Apr 2017 09:13:33 -0700 +Subject: [PATCH 1/2] include sys/cdefs.h explicitly + +glibc includes this header indirectly but not musl + +Signed-off-by: Khem Raj +--- +Upstream_status: Pending + + src/rpcsvc/nis.h | 1 + + src/rpcsvc/nislib.h | 1 + + src/rpcsvc/ypclnt.h | 1 + + src/rpcsvc/ypupd.h | 1 + + 4 files changed, 4 insertions(+) + +diff --git a/src/rpcsvc/nis.h b/src/rpcsvc/nis.h +index 933c4d9..88cbca0 100644 +--- a/src/rpcsvc/nis.h ++++ b/src/rpcsvc/nis.h +@@ -32,6 +32,7 @@ + #ifndef _RPCSVC_NIS_H + #define _RPCSVC_NIS_H 1 + ++#include + #include + #include + #include +diff --git a/src/rpcsvc/nislib.h b/src/rpcsvc/nislib.h +index a59c19b..a53fab3 100644 +--- a/src/rpcsvc/nislib.h ++++ b/src/rpcsvc/nislib.h +@@ -19,6 +19,7 @@ + #ifndef __RPCSVC_NISLIB_H__ + #define __RPCSVC_NISLIB_H__ + ++#include + #include + + __BEGIN_DECLS +diff --git a/src/rpcsvc/ypclnt.h b/src/rpcsvc/ypclnt.h +index fe43fd4..a686b61 100644 +--- a/src/rpcsvc/ypclnt.h ++++ b/src/rpcsvc/ypclnt.h +@@ -20,6 +20,7 @@ + #ifndef __RPCSVC_YPCLNT_H__ + #define __RPCSVC_YPCLNT_H__ + ++#include + #include + + /* Some defines */ +diff --git a/src/rpcsvc/ypupd.h b/src/rpcsvc/ypupd.h +index d07fd4d..2c57301 100644 +--- a/src/rpcsvc/ypupd.h ++++ b/src/rpcsvc/ypupd.h +@@ -33,6 +33,7 @@ + #ifndef __RPCSVC_YPUPD_H__ + #define __RPCSVC_YPUPD_H__ + ++#include + #include + + #include +-- +2.12.2 + diff --git a/meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch b/meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch new file mode 100644 index 0000000000..68d819c42c --- /dev/null +++ b/meta/recipes-extended/libnsl/libnsl2/0002-Define-glibc-specific-macros.patch @@ -0,0 +1,57 @@ +From 60282514ea01af004d7f9e66dd3929223b7d2e7b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 18 Apr 2017 09:16:12 -0700 +Subject: [PATCH 2/2] Define glibc specific macros + +Check and define +rawmemchr, __asprintf, __mempcpy, __strtok_r +__always_inline, TEMP_FAILURE_RETRY + +if not existing. Helps compiling with musl + +Signed-off-by: Khem Raj +--- +Upstream_status: Pending + +diff --git a/src/rpcsvc/nis.h b/src/rpcsvc/nis.h +index 88cbca0..23fc20c 100644 +--- a/src/rpcsvc/nis.h ++++ b/src/rpcsvc/nis.h +@@ -57,6 +57,34 @@ __BEGIN_DECLS + * + */ + ++#ifndef rawmemchr ++#define rawmemchr(s,c) memchr((s),(size_t)-1,(c)) ++#endif ++ ++#ifndef __asprintf ++#define __asprintf asprintf ++#endif ++ ++#ifndef __mempcpy ++#define __mempcpy mempcpy ++#endif ++ ++#ifndef __strtok_r ++#define __strtok_r strtok_r ++#endif ++ ++#ifndef __always_inline ++#define __always_inline __attribute__((__always_inline__)) ++#endif ++ ++#ifndef TEMP_FAILURE_RETRY ++#define TEMP_FAILURE_RETRY(exp) ({ \ ++typeof (exp) _rc; \ ++ do { \ ++ _rc = (exp); \ ++ } while (_rc == -1 && errno == EINTR); \ ++ _rc; }) ++#endif + + #ifndef __nis_object_h + #define __nis_object_h +-- +2.12.2 + diff --git a/meta/recipes-extended/libnsl/libnsl2_git.bb b/meta/recipes-extended/libnsl/libnsl2_git.bb new file mode 100644 index 0000000000..1698f69edb --- /dev/null +++ b/meta/recipes-extended/libnsl/libnsl2_git.bb @@ -0,0 +1,35 @@ +# Copyright (C) 2017 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "Library containing NIS functions using TI-RPC (IPv6 enabled)" +DESCRIPTION = "This library contains the public client interface for NIS(YP) and NIS+\ + it was part of glibc and now is standalone packages. it also supports IPv6" +HOMEPAGE = "https://github.com/thkukuk/libnsl" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" +SECTION = "libs" +DEPENDS = "libtirpc" +DEPENDS_append_libc-musl = " bsd-headers" + +PV = "1.0.5+git${SRCPV}" + +SRCREV = "dfa2f313524aff9243c4d8ce1bace73786478356" + +SRC_URI = "git://github.com/thkukuk/libnsl \ + file://0001-include-sys-cdefs.h-explicitly.patch \ + file://0002-Define-glibc-specific-macros.patch \ + " + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig gettext + +EXTRA_OECONF += "--libdir=${libdir}/nsl --includedir=${includedir}/nsl" + +do_install_append() { + install -d ${D}${libdir} + mv ${D}${libdir}/nsl/pkgconfig ${D}${libdir} +} + +FILES_${PN} += "${libdir}/nsl/*.so.*" +FILES_${PN}-dev += "${includedir}/nsl ${libdir}/nsl/*.so" From patchwork Mon May 22 05:00:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100249 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86240qge; Sun, 21 May 2017 22:02:20 -0700 (PDT) X-Received: by 10.99.62.11 with SMTP id l11mr23110711pga.238.1495429340299; Sun, 21 May 2017 22:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429340; cv=none; d=google.com; s=arc-20160816; b=e4NRtGuQSFnI9KyGAbETXzlDXVKnhmddtmc/SObRAi5tGHk0AjU3CDLLXV+GqpDZCu vmGVxP9jLpaGVSaF+K8xI5MiVTg5RpPOh5Hucf6eUCb/jy6QxqlYZ6/9Rueanm0MSD8B ywX+mB+pmeqgCNETM9T4LmzZ6+Lz/WlgcSGzI3BauAAbC7bmroDkO9DW5jxi67nsSq4v cVxgLNAxgK0Y8YHYFJkj/paDfuJNQlopbsOHObZLMBG1dAmBpkGB3SR5K5L5SmfEcCOf hiWNb6ENLdxRTd68SsuorWUymhWqYif9Cicq70mPzV1MsO5pBQ+vapCBeH9GfVR5ohsG i5Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=SRU66nl7ujd16xUtFGgPfhmvSQurFUAm262+py5rouo=; b=cAstzdcpoac83seCc5Awr3FI7x6wM0qMy9z1TWqrqH+3Vgz0S9hUk5ckEt+az4Squv vQPc3GELbpHOfjiAadLT9bdn3p9hQDC3jgQozixStTGhHj+OsKYav9bs4NKhIczCSfr8 g3ve/b1+rgehAqaBhSTfuQZ1NouD+89XMo7/X07QEdwSOOfkwLVfrq5B3ubkd2w2Sk+R yjZTQH3QxM315F+D/I0ZyjhSe80IE3W+iMV0+0gE5q9x5dI97PSHkgKd5d1MKJoH3eoK uAKLvA7+hsmQkmaSxafqH6RrjlXCNT7T6C2/1kBqKab7dmLjA4Q6snGcevrXXCzFFY/b 43dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 p7si16099661pfk.161.2017.05.21.22.02.19; Sun, 21 May 2017 22:02:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 211D877FA6; Mon, 22 May 2017 05:02:14 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 16A5F77F7A for ; Mon, 22 May 2017 05:00:59 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id u26so17292648pfd.2 for ; Sun, 21 May 2017 22:01:01 -0700 (PDT) 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; bh=IeISNKtd26W70/ymtt0cNE0UYyV5W0tgrCKAhQbcK7E=; b=hsHvf5XYrSvPpo7qxWAIQmHmAqD6hjsQnFb9k6n5Fo7uUpS6vAeSHA4iFqsXHK6Nlr ffEEB2PY9izrYr8Kv+NtGkgV0mXLUOwgQCe+z8re17PUkexw28J59i7QJ5wXk7EU3ulc xA47HWdI8nIdQdPhJFzI54+2KBEsu4S6HfuUL8C7ZTJjZwwwKtiKW5Yaaf08FvDk87kG rh1rT6CgxuPzoKbCTuTYZRJGkQKIGXt6QfmwH5JMfTvT1+MnQy5ejXKyN/6Hftfzoxwq Hvp+0CGyXuE32btyVAVY2OtHijVFuViTjK0WXQOQpRmKbDtM1g9x5ll6Eim83NxLR41Q cKog== 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; bh=IeISNKtd26W70/ymtt0cNE0UYyV5W0tgrCKAhQbcK7E=; b=IEQPfZaNwMsLveR5X4zrObY5zKA4go8MkHdgnIfLXkraRRC0tn/mbA9OpQxizLp/Sr sU+/E2rUYUu+usmZl2gEclZ78/i9q0TacYh1n5Y81Hbuna2Wh69H5ZEOKuafrgVOIWj0 3MznuUkLR9MHoKW4tNre8fnUyni3g7I+Ke/Kd0aB9F4bLroehfiWT4IEq/cVSFgwVpSx ktHTRFKVJL2s+2650506ercwMg/sjdpIQE9Hd/OK4g7jcKOPju/qF88CEEBxkO8cBlzK SamaCxY23lAMh7Pw+OFbUSet7ezCotWyy/ezBKM2PDbE2dUAW0Aw75t68dlgj5szvSie hYfQ== X-Gm-Message-State: AODbwcCLwsUukYlVoPdEecOXUwZ/f48B0rgKxhB+IZYa0gWgQlmjE0id iJSi7D1h0aiT26/D X-Received: by 10.98.80.152 with SMTP id g24mr22780922pfj.222.1495429259442; Sun, 21 May 2017 22:00:59 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.00.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:00:58 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:30 -0700 Message-Id: <20170522050042.42403-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 03/15] grub: Update to 2.02 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Drop git recipe, add arm bits to 2.02 itself Signed-off-by: Khem Raj --- ...-mfpmath-sse-as-well-when-SSE-is-disabled.patch | 0 ...nforce-no-pie-if-the-compiler-supports-it.patch | 45 ------- ...E-2015-8370-Grub2-user-pass-vulnerability.patch | 53 --------- ...ct-_llseek-code-and-require-long-filesyst.patch | 81 ------------- ...Use-AC_HEADER_MAJOR-to-find-device-macros.patch | 92 --------------- ...ettext-gettext.c-main_context-secondary_c.patch | 39 ------ ...ern-efi-mm.c-grub_efi_finish_boot_service.patch | 79 ------------- ...1-grub.d-10_linux.in-add-oe-s-kernel-name.patch | 0 ..._dhcp_vendor-Add-missing-const-qualifiers.patch | 33 ------ ...ern-efi-mm.c-grub_efi_get_memory_map-Neve.patch | 43 ------- .../{grub => files}/autogen.sh-exclude-pc.patch | 0 .../grub/files/check-if-liblzma-is-disabled.patch | 33 ------ .../grub/files/fix-endianness-problem.patch | 44 ------- .../grub/files/fix-issue-with-flex-2.5.37.patch | 21 ---- meta/recipes-bsp/grub/files/fix-texinfo.patch | 32 ----- .../grub/files/grub-2.00-add-oe-kernel.patch | 53 --------- .../grub-2.00-fix-enable_execute_stack-check.patch | 27 ----- .../grub/files/grub-2.00-fpmath-sse-387-fix.patch | 24 ---- ...allow-a-compilation-without-mcmodel-large.patch | 131 --------------------- .../grub/files/grub-efi-fix-with-glibc-2.20.patch | 32 ----- meta/recipes-bsp/grub/files/grub-install.in.patch | 20 ---- .../grub/files/grub-no-unused-result.patch | 19 --- .../grub/files/grub2-fix-initrd-size-bug.patch | 48 -------- ...rub2-remove-sparc64-setup-from-x86-builds.patch | 44 ------- meta/recipes-bsp/grub/files/remove-gets.patch | 20 ---- .../grub/{grub-efi_2.00.bb => grub-efi_2.02.bb} | 9 +- meta/recipes-bsp/grub/grub2.inc | 50 ++++---- .../grub/{grub_2.00.bb => grub_2.02.bb} | 6 - meta/recipes-bsp/grub/grub_git.bb | 45 ------- 29 files changed, 26 insertions(+), 1097 deletions(-) rename meta/recipes-bsp/grub/{grub-git => files}/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch (100%) delete mode 100644 meta/recipes-bsp/grub/files/0001-Enforce-no-pie-if-the-compiler-supports-it.patch delete mode 100644 meta/recipes-bsp/grub/files/0001-Fix-CVE-2015-8370-Grub2-user-pass-vulnerability.patch delete mode 100644 meta/recipes-bsp/grub/files/0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch delete mode 100644 meta/recipes-bsp/grub/files/0001-build-Use-AC_HEADER_MAJOR-to-find-device-macros.patch delete mode 100644 meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch delete mode 100644 meta/recipes-bsp/grub/files/0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch rename meta/recipes-bsp/grub/{grub-git => files}/0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch (100%) delete mode 100644 meta/recipes-bsp/grub/files/0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch delete mode 100644 meta/recipes-bsp/grub/files/0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch rename meta/recipes-bsp/grub/{grub => files}/autogen.sh-exclude-pc.patch (100%) delete mode 100644 meta/recipes-bsp/grub/files/check-if-liblzma-is-disabled.patch delete mode 100644 meta/recipes-bsp/grub/files/fix-endianness-problem.patch delete mode 100644 meta/recipes-bsp/grub/files/fix-issue-with-flex-2.5.37.patch delete mode 100644 meta/recipes-bsp/grub/files/fix-texinfo.patch delete mode 100644 meta/recipes-bsp/grub/files/grub-2.00-add-oe-kernel.patch delete mode 100644 meta/recipes-bsp/grub/files/grub-2.00-fix-enable_execute_stack-check.patch delete mode 100644 meta/recipes-bsp/grub/files/grub-2.00-fpmath-sse-387-fix.patch delete mode 100644 meta/recipes-bsp/grub/files/grub-efi-allow-a-compilation-without-mcmodel-large.patch delete mode 100644 meta/recipes-bsp/grub/files/grub-efi-fix-with-glibc-2.20.patch delete mode 100644 meta/recipes-bsp/grub/files/grub-install.in.patch delete mode 100644 meta/recipes-bsp/grub/files/grub-no-unused-result.patch delete mode 100644 meta/recipes-bsp/grub/files/grub2-fix-initrd-size-bug.patch delete mode 100644 meta/recipes-bsp/grub/files/grub2-remove-sparc64-setup-from-x86-builds.patch delete mode 100644 meta/recipes-bsp/grub/files/remove-gets.patch rename meta/recipes-bsp/grub/{grub-efi_2.00.bb => grub-efi_2.02.bb} (88%) rename meta/recipes-bsp/grub/{grub_2.00.bb => grub_2.02.bb} (56%) delete mode 100644 meta/recipes-bsp/grub/grub_git.bb -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-bsp/grub/grub-git/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch b/meta/recipes-bsp/grub/files/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch similarity index 100% rename from meta/recipes-bsp/grub/grub-git/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch rename to meta/recipes-bsp/grub/files/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch diff --git a/meta/recipes-bsp/grub/files/0001-Enforce-no-pie-if-the-compiler-supports-it.patch b/meta/recipes-bsp/grub/files/0001-Enforce-no-pie-if-the-compiler-supports-it.patch deleted file mode 100644 index ccdbee215d..0000000000 --- a/meta/recipes-bsp/grub/files/0001-Enforce-no-pie-if-the-compiler-supports-it.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 6186bcf1bcaaa0f16e79339e07c64c841d4d957d Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin -Date: Fri, 2 Dec 2016 20:52:40 +0200 -Subject: [PATCH] Enforce -no-pie, if the compiler supports it. - -Add a -no-pie as recent (2 Dec 2016) Debian testing compiler -seems to default to enabling PIE when linking. See -https://wiki.ubuntu.com/SecurityTeam/PIE - -Upstream-Status: Pending -Signed-off-by: Alexander Kanavin ---- - acinclude.m4 | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/acinclude.m4 b/acinclude.m4 -index 19200b0..a713923 100644 ---- a/acinclude.m4 -+++ b/acinclude.m4 -@@ -416,7 +416,7 @@ int main() { - - [# `$CC -c -o ...' might not be portable. But, oh, well... Is calling - # `ac_compile' like this correct, after all? --if eval "$ac_compile -S -o conftest.s" 2> /dev/null; then] -+if eval "$ac_compile -S -o conftest.s" 2> /dev/null && eval "$CC -dumpspecs 2>/dev/null | grep -e no-pie" ; then] - AC_MSG_RESULT([yes]) - [# Should we clear up other files as well, having called `AC_LANG_CONFTEST'? - rm -f conftest.s -diff --git a/configure.ac b/configure.ac -index df20991..506c6b4 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -603,7 +603,7 @@ grub_CHECK_PIE - [# Need that, because some distributions ship compilers that include - # `-fPIE' in the default specs. - if [ x"$pie_possible" = xyes ]; then -- TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIE" -+ TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIE -no-pie" - fi] - - # Position independent executable. --- -2.10.2 - diff --git a/meta/recipes-bsp/grub/files/0001-Fix-CVE-2015-8370-Grub2-user-pass-vulnerability.patch b/meta/recipes-bsp/grub/files/0001-Fix-CVE-2015-8370-Grub2-user-pass-vulnerability.patch deleted file mode 100644 index 65ddcaf128..0000000000 --- a/meta/recipes-bsp/grub/files/0001-Fix-CVE-2015-8370-Grub2-user-pass-vulnerability.patch +++ /dev/null @@ -1,53 +0,0 @@ -Upstream-Status: Accepted -CVE: CVE-2015-8370 -Signed-off-by: Awais Belal - -From 451d80e52d851432e109771bb8febafca7a5f1f2 Mon Sep 17 00:00:00 2001 -From: Hector Marco-Gisbert -Date: Wed, 16 Dec 2015 04:57:18 +0000 -Subject: Fix security issue when reading username and password - -This patch fixes two integer underflows at: - * grub-core/lib/crypto.c - * grub-core/normal/auth.c - -CVE-2015-8370 - -Signed-off-by: Hector Marco-Gisbert -Signed-off-by: Ismael Ripoll-Ripoll -Also-By: Andrey Borzenkov ---- -diff --git a/grub-core/lib/crypto.c b/grub-core/lib/crypto.c -index 010e550..683a8aa 100644 ---- a/grub-core/lib/crypto.c -+++ b/grub-core/lib/crypto.c -@@ -470,7 +470,8 @@ grub_password_get (char buf[], unsigned buf_size) - - if (key == '\b') - { -- cur_len--; -+ if (cur_len) -+ cur_len--; - continue; - } - -diff --git a/grub-core/normal/auth.c b/grub-core/normal/auth.c -index c6bd96e..8615c48 100644 ---- a/grub-core/normal/auth.c -+++ b/grub-core/normal/auth.c -@@ -174,8 +174,11 @@ grub_username_get (char buf[], unsigned buf_size) - - if (key == '\b') - { -- cur_len--; -- grub_printf ("\b"); -+ if (cur_len) -+ { -+ cur_len--; -+ grub_printf ("\b"); -+ } - continue; - } - --- -cgit v0.9.0.2 diff --git a/meta/recipes-bsp/grub/files/0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch b/meta/recipes-bsp/grub/files/0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch deleted file mode 100644 index 9eabce977b..0000000000 --- a/meta/recipes-bsp/grub/files/0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 3bac4caa2bc64db313aaee54fffb90383e118517 Mon Sep 17 00:00:00 2001 -From: Felix Janda -Date: Thu, 22 Jan 2015 19:54:36 +0100 -Subject: [PATCH] Remove direct _llseek code and require long filesystem libc. - -Signed-off-by: Khem Raj ---- -Upstream-Status: Backport - configure.ac | 8 ++++++++ - grub-core/osdep/unix/hostdisk.c | 24 ------------------------ - 4 files changed, 13 insertions(+), 24 deletions(-) - -Index: grub-2.00/configure.ac -=================================================================== ---- grub-2.00.orig/configure.ac -+++ grub-2.00/configure.ac -@@ -306,6 +306,14 @@ if test x$grub_cv_apple_cc = xyes ; then - HOST_LDFLAGS="$HOST_LDFLAGS -Wl,-allow_stack_execute" - fi - -+case "$host_os" in -+ cygwin | windows* | mingw32* | aros*) -+ ;; -+ *) -+ AC_CHECK_SIZEOF(off_t) -+ test x"$ac_cv_sizeof_off_t" = x8 || AC_MSG_ERROR([Large file support is required]);; -+esac -+ - if test x$USE_NLS = xno; then - HOST_CFLAGS="$HOST_CFLAGS -fno-builtin-gettext" - fi -Index: grub-2.00/grub-core/kern/emu/hostdisk.c -=================================================================== ---- grub-2.00.orig/grub-core/kern/emu/hostdisk.c -+++ grub-2.00/grub-core/kern/emu/hostdisk.c -@@ -44,11 +44,6 @@ - #ifdef __linux__ - # include /* ioctl */ - # include --# if !defined(__GLIBC__) || \ -- ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1))) --/* Maybe libc doesn't have large file support. */ --# include /* _llseek */ --# endif /* (GLIBC < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR < 1)) */ - # ifndef BLKFLSBUF - # define BLKFLSBUF _IO (0x12,97) /* flush buffer cache */ - # endif /* ! BLKFLSBUF */ -@@ -761,25 +756,6 @@ linux_find_partition (char *dev, grub_di - } - #endif /* __linux__ */ - --#if defined(__linux__) && (!defined(__GLIBC__) || \ -- ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1)))) -- /* Maybe libc doesn't have large file support. */ --grub_err_t --grub_util_fd_seek (int fd, const char *name, grub_uint64_t off) --{ -- loff_t offset, result; -- static int _llseek (uint filedes, ulong hi, ulong lo, -- loff_t *res, uint wh); -- _syscall5 (int, _llseek, uint, filedes, ulong, hi, ulong, lo, -- loff_t *, res, uint, wh); -- -- offset = (loff_t) off; -- if (_llseek (fd, offset >> 32, offset & 0xffffffff, &result, SEEK_SET)) -- return grub_error (GRUB_ERR_BAD_DEVICE, N_("cannot seek `%s': %s"), -- name, strerror (errno)); -- return GRUB_ERR_NONE; --} --#else - grub_err_t - grub_util_fd_seek (int fd, const char *name, grub_uint64_t off) - { -@@ -790,7 +766,6 @@ grub_util_fd_seek (int fd, const char *n - name, strerror (errno)); - return 0; - } --#endif - - static void - flush_initial_buffer (const char *os_dev __attribute__ ((unused))) diff --git a/meta/recipes-bsp/grub/files/0001-build-Use-AC_HEADER_MAJOR-to-find-device-macros.patch b/meta/recipes-bsp/grub/files/0001-build-Use-AC_HEADER_MAJOR-to-find-device-macros.patch deleted file mode 100644 index f95b9ef9a0..0000000000 --- a/meta/recipes-bsp/grub/files/0001-build-Use-AC_HEADER_MAJOR-to-find-device-macros.patch +++ /dev/null @@ -1,92 +0,0 @@ -From 7a5b301e3adb8e054288518a325135a1883c1c6c Mon Sep 17 00:00:00 2001 -From: Mike Gilbert -Date: Tue, 19 Apr 2016 14:27:22 -0400 -Subject: [PATCH] build: Use AC_HEADER_MAJOR to find device macros - -Depending on the OS/libc, device macros are defined in different -headers. This change ensures we include the right one. - -sys/types.h - BSD -sys/mkdev.h - Sun -sys/sysmacros.h - glibc (Linux) - -glibc currently pulls sys/sysmacros.h into sys/types.h, but this may -change in a future release. - -https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html ---- -Upstream-Status: Backport - - configure.ac | 3 ++- - grub-core/osdep/devmapper/getroot.c | 6 ++++++ - grub-core/osdep/devmapper/hostdisk.c | 5 +++++ - grub-core/osdep/linux/getroot.c | 6 ++++++ - grub-core/osdep/unix/getroot.c | 4 +++- - 5 files changed, 22 insertions(+), 2 deletions(-) - -Index: grub-2.00/configure.ac -=================================================================== ---- grub-2.00.orig/configure.ac -+++ grub-2.00/configure.ac -@@ -326,7 +326,8 @@ fi - - # Check for functions and headers. - AC_CHECK_FUNCS(posix_memalign memalign asprintf vasprintf getextmntent) --AC_CHECK_HEADERS(sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h limits.h) -+AC_CHECK_HEADERS(sys/param.h sys/mount.h sys/mnttab.h limits.h) -+AC_HEADER_MAJOR - - AC_CHECK_MEMBERS([struct statfs.f_fstypename],,,[$ac_includes_default - #include -Index: grub-2.00/grub-core/kern/emu/hostdisk.c -=================================================================== ---- grub-2.00.orig/grub-core/kern/emu/hostdisk.c -+++ grub-2.00/grub-core/kern/emu/hostdisk.c -@@ -41,6 +41,12 @@ - #include - #include - -+#if defined(MAJOR_IN_MKDEV) -+#include -+#elif defined(MAJOR_IN_SYSMACROS) -+#include -+#endif -+ - #ifdef __linux__ - # include /* ioctl */ - # include -Index: grub-2.00/util/getroot.c -=================================================================== ---- grub-2.00.orig/util/getroot.c -+++ grub-2.00/util/getroot.c -@@ -35,6 +35,13 @@ - #ifdef HAVE_LIMITS_H - #include - #endif -+ -+#if defined(MAJOR_IN_MKDEV) -+#include -+#elif defined(MAJOR_IN_SYSMACROS) -+#include -+#endif -+ - #include - #include - #include -Index: grub-2.00/util/raid.c -=================================================================== ---- grub-2.00.orig/util/raid.c -+++ grub-2.00/util/raid.c -@@ -29,6 +29,12 @@ - #include - #include - -+#if defined(MAJOR_IN_MKDEV) -+#include -+#elif defined(MAJOR_IN_SYSMACROS) -+#include -+#endif -+ - #include - #include - #include diff --git a/meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch b/meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch deleted file mode 100644 index 6ec2363ae3..0000000000 --- a/meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch +++ /dev/null @@ -1,39 +0,0 @@ -From f30c692c1f9ef0e93bee2b408a24baa017f1ca9d Mon Sep 17 00:00:00 2001 -From: Vladimir Serbinenko -Date: Thu, 7 Nov 2013 01:01:47 +0100 -Subject: [PATCH] * grub-core/gettext/gettext.c (main_context), - (secondary_context): Define after defining type and not before. - ---- -Signed-off-by: Khem Raj -Upstream-Status: Backport - - ChangeLog | 5 +++++ - grub-core/gettext/gettext.c | 4 ++-- - 2 files changed, 7 insertions(+), 2 deletions(-) - -diff --git a/grub-core/gettext/gettext.c b/grub-core/gettext/gettext.c -index df73570..4880cef 100644 ---- a/grub-core/gettext/gettext.c -+++ b/grub-core/gettext/gettext.c -@@ -34,8 +34,6 @@ GRUB_MOD_LICENSE ("GPLv3+"); - http://www.gnu.org/software/autoconf/manual/gettext/MO-Files.html . - */ - --static struct grub_gettext_context main_context, secondary_context; -- - static const char *(*grub_gettext_original) (const char *s); - - struct grub_gettext_msg -@@ -69,6 +67,8 @@ struct grub_gettext_context - struct grub_gettext_msg *grub_gettext_msg_list; - }; - -+static struct grub_gettext_context main_context, secondary_context; -+ - #define MO_MAGIC_NUMBER 0x950412de - - static grub_err_t --- -1.9.1 - diff --git a/meta/recipes-bsp/grub/files/0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch b/meta/recipes-bsp/grub/files/0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch deleted file mode 100644 index abf08e16c9..0000000000 --- a/meta/recipes-bsp/grub/files/0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch +++ /dev/null @@ -1,79 +0,0 @@ -From b258761d11946b28a847dff0768c3f271e13d60a Mon Sep 17 00:00:00 2001 -From: Awais Belal -Date: Thu, 8 Dec 2016 18:21:12 +0500 -Subject: [PATCH 1/2] * grub-core/kern/efi/mm.c - (grub_efi_finish_boot_services): Try terminating EFI services several times - due to quirks in some implementations. - -Upstream-status: Backport [ http://git.savannah.gnu.org/cgit/grub.git/patch/?id=e75fdee420a7ad95e9a465c9699adc2e2e970440 ] - -Signed-off-by: Awais Belal ---- - grub-core/kern/efi/mm.c | 46 ++++++++++++++++++++++++++++++---------------- - 1 file changed, 30 insertions(+), 16 deletions(-) - -diff --git a/grub-core/kern/efi/mm.c b/grub-core/kern/efi/mm.c -index 461deb0..b00e0bc 100644 ---- a/grub-core/kern/efi/mm.c -+++ b/grub-core/kern/efi/mm.c -@@ -167,27 +167,41 @@ grub_efi_finish_boot_services (grub_efi_uintn_t *outbuf_size, void *outbuf, - apple, sizeof (apple)) == 0); - #endif - -- if (grub_efi_get_memory_map (&finish_mmap_size, finish_mmap_buf, &finish_key, -- &finish_desc_size, &finish_desc_version) < 0) -- return grub_error (GRUB_ERR_IO, "couldn't retrieve memory map"); -+ while (1) -+ { -+ if (grub_efi_get_memory_map (&finish_mmap_size, finish_mmap_buf, &finish_key, -+ &finish_desc_size, &finish_desc_version) < 0) -+ return grub_error (GRUB_ERR_IO, "couldn't retrieve memory map"); - -- if (outbuf && *outbuf_size < finish_mmap_size) -- return grub_error (GRUB_ERR_IO, "memory map buffer is too small"); -+ if (outbuf && *outbuf_size < finish_mmap_size) -+ return grub_error (GRUB_ERR_IO, "memory map buffer is too small"); - -- finish_mmap_buf = grub_malloc (finish_mmap_size); -- if (!finish_mmap_buf) -- return grub_errno; -+ finish_mmap_buf = grub_malloc (finish_mmap_size); -+ if (!finish_mmap_buf) -+ return grub_errno; - -- if (grub_efi_get_memory_map (&finish_mmap_size, finish_mmap_buf, &finish_key, -- &finish_desc_size, &finish_desc_version) <= 0) -- return grub_error (GRUB_ERR_IO, "couldn't retrieve memory map"); -+ if (grub_efi_get_memory_map (&finish_mmap_size, finish_mmap_buf, &finish_key, -+ &finish_desc_size, &finish_desc_version) <= 0) -+ { -+ grub_free (finish_mmap_buf); -+ return grub_error (GRUB_ERR_IO, "couldn't retrieve memory map"); -+ } - -- b = grub_efi_system_table->boot_services; -- status = efi_call_2 (b->exit_boot_services, grub_efi_image_handle, -- finish_key); -- if (status != GRUB_EFI_SUCCESS) -- return grub_error (GRUB_ERR_IO, "couldn't terminate EFI services"); -+ b = grub_efi_system_table->boot_services; -+ status = efi_call_2 (b->exit_boot_services, grub_efi_image_handle, -+ finish_key); -+ if (status == GRUB_EFI_SUCCESS) -+ break; - -+ if (status != GRUB_EFI_INVALID_PARAMETER) -+ { -+ grub_free (finish_mmap_buf); -+ return grub_error (GRUB_ERR_IO, "couldn't terminate EFI services"); -+ } -+ -+ grub_free (finish_mmap_buf); -+ grub_printf ("Trying to terminate EFI services again\n"); -+ } - grub_efi_is_finished = 1; - if (outbuf_size) - *outbuf_size = finish_mmap_size; --- -1.9.1 - diff --git a/meta/recipes-bsp/grub/grub-git/0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch b/meta/recipes-bsp/grub/files/0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch similarity index 100% rename from meta/recipes-bsp/grub/grub-git/0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch rename to meta/recipes-bsp/grub/files/0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch diff --git a/meta/recipes-bsp/grub/files/0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch b/meta/recipes-bsp/grub/files/0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch deleted file mode 100644 index 255e3eb7d6..0000000000 --- a/meta/recipes-bsp/grub/files/0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch +++ /dev/null @@ -1,33 +0,0 @@ -Upstream-Status: Backport - -Original commit: http://git.savannah.gnu.org/cgit/grub.git/commit/grub-core/net/bootp.c?id=f06c2172c0b32052f22e37523445cf8e7affaea3 - -From 149d2a14f4723778ced23f439487201ccbf1a2c9 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Thu, 23 Apr 2015 07:03:34 +0000 -Subject: [PATCH] parse_dhcp_vendor: Add missing const qualifiers. - -Signed-off-by: Khem Raj ---- - grub-core/net/bootp.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/grub-core/net/bootp.c b/grub-core/net/bootp.c -index bc07d53..44131ed 100644 ---- a/grub-core/net/bootp.c -+++ b/grub-core/net/bootp.c -@@ -52,9 +52,9 @@ set_env_limn_ro (const char *intername, const char *suffix, - } - - static void --parse_dhcp_vendor (const char *name, void *vend, int limit, int *mask) -+parse_dhcp_vendor (const char *name, const void *vend, int limit, int *mask) - { -- grub_uint8_t *ptr, *ptr0; -+ const grub_uint8_t *ptr, *ptr0; - - ptr = ptr0 = vend; - --- -2.1.4 - diff --git a/meta/recipes-bsp/grub/files/0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch b/meta/recipes-bsp/grub/files/0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch deleted file mode 100644 index 0e735ffcdc..0000000000 --- a/meta/recipes-bsp/grub/files/0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 630de45f3d5f9a2dda7fad99acd21449b8c4111d Mon Sep 17 00:00:00 2001 -From: Awais Belal -Date: Thu, 8 Dec 2016 18:27:01 +0500 -Subject: [PATCH 2/2] * grub-core/kern/efi/mm.c (grub_efi_get_memory_map): - Never return a descriptor_size==0 to avoid potential divisions by zero. - -Upstream-status: Backport [ http://git.savannah.gnu.org/cgit/grub.git/commit/?id=69aee43fa64601cabf6efa9279c10d69b466662e ] - -Signed-off-by: Awais Belal ---- - grub-core/kern/efi/mm.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/grub-core/kern/efi/mm.c b/grub-core/kern/efi/mm.c -index b00e0bc..9f1d194 100644 ---- a/grub-core/kern/efi/mm.c -+++ b/grub-core/kern/efi/mm.c -@@ -235,6 +235,7 @@ grub_efi_get_memory_map (grub_efi_uintn_t *memory_map_size, - grub_efi_boot_services_t *b; - grub_efi_uintn_t key; - grub_efi_uint32_t version; -+ grub_efi_uintn_t size; - - if (grub_efi_is_finished) - { -@@ -264,10 +265,14 @@ grub_efi_get_memory_map (grub_efi_uintn_t *memory_map_size, - map_key = &key; - if (! descriptor_version) - descriptor_version = &version; -+ if (! descriptor_size) -+ descriptor_size = &size; - - b = grub_efi_system_table->boot_services; - status = efi_call_5 (b->get_memory_map, memory_map_size, memory_map, map_key, - descriptor_size, descriptor_version); -+ if (*descriptor_size == 0) -+ *descriptor_size = sizeof (grub_efi_memory_descriptor_t); - if (status == GRUB_EFI_SUCCESS) - return 1; - else if (status == GRUB_EFI_BUFFER_TOO_SMALL) --- -1.9.1 - diff --git a/meta/recipes-bsp/grub/grub/autogen.sh-exclude-pc.patch b/meta/recipes-bsp/grub/files/autogen.sh-exclude-pc.patch similarity index 100% rename from meta/recipes-bsp/grub/grub/autogen.sh-exclude-pc.patch rename to meta/recipes-bsp/grub/files/autogen.sh-exclude-pc.patch diff --git a/meta/recipes-bsp/grub/files/check-if-liblzma-is-disabled.patch b/meta/recipes-bsp/grub/files/check-if-liblzma-is-disabled.patch deleted file mode 100644 index 0eece082f8..0000000000 --- a/meta/recipes-bsp/grub/files/check-if-liblzma-is-disabled.patch +++ /dev/null @@ -1,33 +0,0 @@ -Disable liblzma if --enable-liblzma=no - -Upstream-Status: Inappropriate [configuration] - -Signed-off-by: Constantin Musca - ---- a/configure.ac -+++ b/configure.ac -@@ -1029,10 +1029,20 @@ fi - - AC_SUBST([LIBGEOM]) - --AC_CHECK_LIB([lzma], [lzma_code], -- [LIBLZMA="-llzma" -- AC_DEFINE([HAVE_LIBLZMA], [1], -- [Define to 1 if you have the LZMA library.])],) -+AC_ARG_ENABLE([liblzma], -+ [AS_HELP_STRING([--enable-liblzma], -+ [enable liblzma integration (default=guessed)])]) -+if test x"$enable_liblzma" = xno ; then -+ liblzma_excuse="explicitly disabled" -+fi -+ -+if test x"$liblzma_excuse" = x ; then -+ AC_CHECK_LIB([lzma], [lzma_code], -+ [LIBLZMA="-llzma" -+ AC_DEFINE([HAVE_LIBLZMA], [1], -+ [Define to 1 if you have the LZMA library.])],) -+fi -+ - AC_SUBST([LIBLZMA]) - - AC_ARG_ENABLE([libzfs], diff --git a/meta/recipes-bsp/grub/files/fix-endianness-problem.patch b/meta/recipes-bsp/grub/files/fix-endianness-problem.patch deleted file mode 100644 index 079992afba..0000000000 --- a/meta/recipes-bsp/grub/files/fix-endianness-problem.patch +++ /dev/null @@ -1,44 +0,0 @@ -grub-core/net/tftp.c: fix endianness problem. - - * grub-core/net/tftp.c (ack): Fix endianness problem. - (tftp_receive): Likewise. - Reported by: Michael Davidsaver. - -Upstream-Status: Backport - -diff --git a/ChangeLog b/ChangeLog -index 81bdae9..c2f42d5 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,9 @@ -+2012-07-02 Vladimir Serbinenko -+ -+ * grub-core/net/tftp.c (ack): Fix endianness problem. -+ (tftp_receive): Likewise. -+ Reported by: Michael Davidsaver. -+ - 2012-06-27 Vladimir Serbinenko - - * configure.ac: Bump version to 2.00. -diff --git a/grub-core/net/tftp.c b/grub-core/net/tftp.c -index 9c70efb..d0f39ea 100644 ---- a/grub-core/net/tftp.c -+++ b/grub-core/net/tftp.c -@@ -143,7 +143,7 @@ ack (tftp_data_t data, grub_uint16_t block) - - tftph_ack = (struct tftphdr *) nb_ack.data; - tftph_ack->opcode = grub_cpu_to_be16 (TFTP_ACK); -- tftph_ack->u.ack.block = block; -+ tftph_ack->u.ack.block = grub_cpu_to_be16 (block); - - err = grub_net_send_udp_packet (data->sock, &nb_ack); - if (err) -@@ -225,7 +225,7 @@ tftp_receive (grub_net_udp_socket_t sock __attribute__ ((unused)), - grub_priority_queue_pop (data->pq); - - if (file->device->net->packs.count < 50) -- err = ack (data, tftph->u.data.block); -+ err = ack (data, data->block + 1); - else - { - file->device->net->stall = 1; diff --git a/meta/recipes-bsp/grub/files/fix-issue-with-flex-2.5.37.patch b/meta/recipes-bsp/grub/files/fix-issue-with-flex-2.5.37.patch deleted file mode 100644 index 61ae2f5372..0000000000 --- a/meta/recipes-bsp/grub/files/fix-issue-with-flex-2.5.37.patch +++ /dev/null @@ -1,21 +0,0 @@ -Upstream-Status: Backport - -This fixes compilation issues when using flex-2.5.37. It was taken from upstream. - -Original author is: Vladimir Serbinenko - -Signed-off-by: Laurentiu Palcu - -Index: grub-2.00/grub-core/script/yylex.l -=================================================================== ---- grub-2.00.orig/grub-core/script/yylex.l 2012-06-08 23:24:15.000000000 +0300 -+++ grub-2.00/grub-core/script/yylex.l 2013-07-31 14:34:40.708100982 +0300 -@@ -29,6 +29,8 @@ - #pragma GCC diagnostic ignored "-Wmissing-prototypes" - #pragma GCC diagnostic ignored "-Wmissing-declarations" - #pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations" -+#pragma GCC diagnostic ignored "-Wunused-function" -+#pragma GCC diagnostic ignored "-Wsign-compare" - - #define yyfree grub_lexer_yyfree - #define yyalloc grub_lexer_yyalloc diff --git a/meta/recipes-bsp/grub/files/fix-texinfo.patch b/meta/recipes-bsp/grub/files/fix-texinfo.patch deleted file mode 100644 index b911d7370b..0000000000 --- a/meta/recipes-bsp/grub/files/fix-texinfo.patch +++ /dev/null @@ -1,32 +0,0 @@ -The tarball has a texi file that doesn't parse with current texinfo, so if it's -being re-generated the build will fail. Take a patch from upstream to fix the -texi. - -Upstream-Status: Backport -Signed-off-by: Ross Burton - -From d4c4b8e1a085f92afcec36f6e590c6dfc51d0a1c Mon Sep 17 00:00:00 2001 -From: Bryan Hundven -Date: Mon, 08 Apr 2013 13:23:07 +0000 -Subject: * docs/grub-dev.texi: Move @itemize after @subsection to satisfy - - texinfo-5.1. ---- -(limited to 'docs/grub-dev.texi') - -diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi -index a4a3820..f74c966 100644 ---- a/docs/grub-dev.texi -+++ b/docs/grub-dev.texi -@@ -1394,8 +1394,8 @@ grub_video_blit_glyph (&glyph, color, 0, 0); - - @node Bitmap API - @section Bitmap API --@itemize - @subsection grub_video_bitmap_create -+@itemize - @item Prototype: - @example - grub_err_t grub_video_bitmap_create (struct grub_video_bitmap **bitmap, unsigned int width, unsigned int height, enum grub_video_blit_format blit_format) --- -cgit v0.9.0.2 diff --git a/meta/recipes-bsp/grub/files/grub-2.00-add-oe-kernel.patch b/meta/recipes-bsp/grub/files/grub-2.00-add-oe-kernel.patch deleted file mode 100644 index eb8916cb72..0000000000 --- a/meta/recipes-bsp/grub/files/grub-2.00-add-oe-kernel.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 7ab576a7c61406b7e63739d1b11017ae336b9008 Mon Sep 17 00:00:00 2001 -From: Robert Yang -Date: Mon, 3 Mar 2014 03:34:48 -0500 -Subject: [PATCH] grub.d/10_linux.in: add oe's kernel name - -Our kernel's name is bzImage, we need add it to grub.d/10_linux.in so -that the grub-mkconfig and grub-install can work correctly. - -We only need add the bzImage to util/grub.d/10_linux.in, but also add it -to util/grub.d/20_linux_xen.in to keep compatibility. - -Upstream-Status: Inappropriate [OE specific] - -Signed-off-by: Robert Yang ---- - util/grub.d/10_linux.in | 4 ++-- - util/grub.d/20_linux_xen.in | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in -index 14402e8..c58f417 100644 ---- a/util/grub.d/10_linux.in -+++ b/util/grub.d/10_linux.in -@@ -153,11 +153,11 @@ EOF - machine=`uname -m` - case "x$machine" in - xi?86 | xx86_64) -- list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do -+ list=`for i in /boot/bzImage-* /bzImage-* /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do - if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi - done` ;; - *) -- list=`for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* /boot/kernel-* ; do -+ list=`for i in /boot/bzImage-* /boot/vmlinuz-* /boot/vmlinux-* /bzImage-* /vmlinuz-* /vmlinux-* /boot/kernel-* ; do - if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi - done` ;; - esac -diff --git a/util/grub.d/20_linux_xen.in b/util/grub.d/20_linux_xen.in -index 1d94502..b2decf3 100644 ---- a/util/grub.d/20_linux_xen.in -+++ b/util/grub.d/20_linux_xen.in -@@ -138,7 +138,7 @@ EOF - EOF - } - --linux_list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* /boot/kernel-*; do -+linux_list=`for i in /boot/bzImage[xz]-* /bzImage[xz]-* /boot/vmlinu[xz]-* /vmlinu[xz]-* /boot/kernel-*; do - if grub_file_is_not_garbage "$i"; then - basename=$(basename $i) - version=$(echo $basename | sed -e "s,^[^0-9]*-,,g") --- -1.7.10.4 - diff --git a/meta/recipes-bsp/grub/files/grub-2.00-fix-enable_execute_stack-check.patch b/meta/recipes-bsp/grub/files/grub-2.00-fix-enable_execute_stack-check.patch deleted file mode 100644 index 1ff3c1ca09..0000000000 --- a/meta/recipes-bsp/grub/files/grub-2.00-fix-enable_execute_stack-check.patch +++ /dev/null @@ -1,27 +0,0 @@ -Upstream-Status: Pending - - -This patch avoids this configure failure - -configure:20306: checking whether `ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/builddisk/build/build0/tmp/sysroots/emenlow' generates calls to `__enable_execute_stack()' -configure:20320: ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/builddisk/build/build0/tmp/sysroots/emenlow -O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -mfpmath=387 -fno-dwarf2-cfi-asm -m32 -fno-stack-protector -mno-stack-arg-probe -Werror -Wno-trampolines -falign-loops=1 -S conftest.c -conftest.c:308:6: error: no previous prototype for 'g' [-Werror=missing-prototypes] -cc1: all warnings being treated as errors -configure:20323: $? = 1 -configure:20327: error: ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/builddisk/build/build0/tmp/sysroots/emenlow failed to produce assembly code - -Signed-off-by: Nitin A Kamble -2012/04/13 - -Index: grub-2.00/acinclude.m4 -=================================================================== ---- grub-2.00.orig/acinclude.m4 -+++ grub-2.00/acinclude.m4 -@@ -317,6 +317,7 @@ dnl Check if the C compiler generates ca - AC_DEFUN([grub_CHECK_ENABLE_EXECUTE_STACK],[ - AC_MSG_CHECKING([whether `$CC' generates calls to `__enable_execute_stack()']) - AC_LANG_CONFTEST([AC_LANG_SOURCE([[ -+void g (int); - void f (int (*p) (void)); - void g (int i) - { diff --git a/meta/recipes-bsp/grub/files/grub-2.00-fpmath-sse-387-fix.patch b/meta/recipes-bsp/grub/files/grub-2.00-fpmath-sse-387-fix.patch deleted file mode 100644 index dd30d94b75..0000000000 --- a/meta/recipes-bsp/grub/files/grub-2.00-fpmath-sse-387-fix.patch +++ /dev/null @@ -1,24 +0,0 @@ -Upstream-Status: pending - -This patch fixes this configure issue for grub when -mfpmath=sse is in the gcc parameters. - -configure:20574: i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/usr/local/dev/yocto/grubtest2/build/tmp/sysroots/emenlow -o conftest -O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32 -fno-stack-protector -mno-stack-arg-probe -Werror -nostdlib -Wl,--defsym,___main=0x8100 -Wall -W -I$(top_srcdir)/include -I$(top_builddir)/include -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5 -conftest.c:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror] -cc1: all warnings being treated as errors - -Signed-off-by: Nitin A Kamble -2012/04/13 - -Index: grub-1.99/configure.ac -=================================================================== ---- grub-1.99.orig/configure.ac -+++ grub-1.99/configure.ac -@@ -378,7 +378,7 @@ if test "x$target_cpu" = xi386; then - - # Some toolchains enable these features by default, but they need - # registers that aren't set up properly in GRUB. -- TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow" -+ TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -mfpmath=387" - fi - - # By default, GCC 4.4 generates .eh_frame sections containing unwind diff --git a/meta/recipes-bsp/grub/files/grub-efi-allow-a-compilation-without-mcmodel-large.patch b/meta/recipes-bsp/grub/files/grub-efi-allow-a-compilation-without-mcmodel-large.patch deleted file mode 100644 index 4588fca4ba..0000000000 --- a/meta/recipes-bsp/grub/files/grub-efi-allow-a-compilation-without-mcmodel-large.patch +++ /dev/null @@ -1,131 +0,0 @@ -Allow a compilation without -mcmodel=large - -It's provided by Vladimir Serbinenko, and he will commit -it upstream so it should be backport patch. - -Upstream-Status: Backport - -Signed-off-by: Jackie Huang - --- -diff --git a/configure.ac b/configure.ac -index 9f8fb8a..2c5e6ed 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -723,9 +723,7 @@ if test "$target_cpu" = x86_64; then - [grub_cv_cc_mcmodel=yes], - [grub_cv_cc_mcmodel=no]) - ]) -- if test "x$grub_cv_cc_mcmodel" = xno; then -- AC_MSG_ERROR([-mcmodel=large not supported. Upgrade your gcc.]) -- else -+ if test "x$grub_cv_cc_mcmodel" = xyes; then - TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large" - fi - fi -diff --git a/grub-core/kern/efi/mm.c b/grub-core/kern/efi/mm.c -index 1409b5d..6e9dace 100644 ---- a/grub-core/kern/efi/mm.c -+++ b/grub-core/kern/efi/mm.c -@@ -32,6 +32,12 @@ - #define BYTES_TO_PAGES(bytes) (((bytes) + 0xfff) >> 12) - #define PAGES_TO_BYTES(pages) ((pages) << 12) - -+#if defined (__code_model_large__) || !defined (__x86_64__) -+#define MAX_USABLE_ADDRESS 0xffffffff -+#else -+#define MAX_USABLE_ADDRESS 0x7fffffff -+#endif -+ - /* The size of a memory map obtained from the firmware. This must be - a multiplier of 4KB. */ - #define MEMORY_MAP_SIZE 0x3000 -@@ -58,7 +64,7 @@ grub_efi_allocate_pages (grub_efi_physical_address_t address, - - #if 1 - /* Limit the memory access to less than 4GB for 32-bit platforms. */ -- if (address > 0xffffffff) -+ if (address > MAX_USABLE_ADDRESS) - return 0; - #endif - -@@ -66,7 +72,7 @@ grub_efi_allocate_pages (grub_efi_physical_address_t address, - if (address == 0) - { - type = GRUB_EFI_ALLOCATE_MAX_ADDRESS; -- address = 0xffffffff; -+ address = MAX_USABLE_ADDRESS; - } - else - type = GRUB_EFI_ALLOCATE_ADDRESS; -@@ -86,7 +92,7 @@ grub_efi_allocate_pages (grub_efi_physical_address_t address, - { - /* Uggh, the address 0 was allocated... This is too annoying, - so reallocate another one. */ -- address = 0xffffffff; -+ address = MAX_USABLE_ADDRESS; - status = efi_call_4 (b->allocate_pages, type, GRUB_EFI_LOADER_DATA, pages, &address); - grub_efi_free_pages (0, pages); - if (status != GRUB_EFI_SUCCESS) -@@ -319,7 +325,7 @@ filter_memory_map (grub_efi_memory_descriptor_t *memory_map, - { - if (desc->type == GRUB_EFI_CONVENTIONAL_MEMORY - #if 1 -- && desc->physical_start <= 0xffffffff -+ && desc->physical_start <= MAX_USABLE_ADDRESS - #endif - && desc->physical_start + PAGES_TO_BYTES (desc->num_pages) > 0x100000 - && desc->num_pages != 0) -@@ -337,9 +343,9 @@ filter_memory_map (grub_efi_memory_descriptor_t *memory_map, - #if 1 - if (BYTES_TO_PAGES (filtered_desc->physical_start) - + filtered_desc->num_pages -- > BYTES_TO_PAGES (0x100000000LL)) -+ > BYTES_TO_PAGES (MAX_USABLE_ADDRESS+1LL)) - filtered_desc->num_pages -- = (BYTES_TO_PAGES (0x100000000LL) -+ = (BYTES_TO_PAGES (MAX_USABLE_ADDRESS+1LL) - - BYTES_TO_PAGES (filtered_desc->physical_start)); - #endif - -diff --git a/grub-core/kern/x86_64/dl.c b/grub-core/kern/x86_64/dl.c -index 65f09ef..17c1215 100644 ---- a/grub-core/kern/x86_64/dl.c -+++ b/grub-core/kern/x86_64/dl.c -@@ -100,14 +100,32 @@ grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr) - break; - - case R_X86_64_PC32: -- *addr32 += rel->r_addend + sym->st_value - -- (Elf64_Xword) seg->addr - rel->r_offset; -+ { -+ grub_int64_t value; -+ value = ((grub_int32_t) *addr32) + rel->r_addend + sym->st_value - -+ (Elf64_Xword) seg->addr - rel->r_offset; -+ if (value != (grub_int32_t) value) -+ return grub_error (GRUB_ERR_BAD_MODULE, "relocation out of range"); -+ *addr32 = value; -+ } - break; - - case R_X86_64_32: -+ { -+ grub_uint64_t value = *addr32 + rel->r_addend + sym->st_value; -+ if (value != (grub_uint32_t) value) -+ return grub_error (GRUB_ERR_BAD_MODULE, "relocation out of range"); -+ *addr32 = value; -+ } -+ break; - case R_X86_64_32S: -- *addr32 += rel->r_addend + sym->st_value; -- break; -+ { -+ grub_int64_t value = ((grub_int32_t) *addr32) + rel->r_addend + sym->st_value; -+ if (value != (grub_int32_t) value) -+ return grub_error (GRUB_ERR_BAD_MODULE, "relocation out of range"); -+ *addr32 = value; -+ } -+ break; - - default: - return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, diff --git a/meta/recipes-bsp/grub/files/grub-efi-fix-with-glibc-2.20.patch b/meta/recipes-bsp/grub/files/grub-efi-fix-with-glibc-2.20.patch deleted file mode 100644 index 4f12628a4b..0000000000 --- a/meta/recipes-bsp/grub/files/grub-efi-fix-with-glibc-2.20.patch +++ /dev/null @@ -1,32 +0,0 @@ -From eb6368e65f6988eebad26cebdec057f797bceb40 Mon Sep 17 00:00:00 2001 -From: Robert Yang -Date: Tue, 9 Sep 2014 00:02:30 -0700 -Subject: [PATCH] Fix build with glibc 2.20 - -* grub-core/kern/emu/hostfs.c: squahes below warning - warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - -Upstream-Status: Submitted - -Signed-off-by: Khem Raj -Signed-off-by: Robert Yang ---- - grub-core/kern/emu/hostfs.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/grub-core/kern/emu/hostfs.c b/grub-core/kern/emu/hostfs.c -index 3cb089c..a51ee32 100644 ---- a/grub-core/kern/emu/hostfs.c -+++ b/grub-core/kern/emu/hostfs.c -@@ -16,7 +16,7 @@ - * You should have received a copy of the GNU General Public License - * along with GRUB. If not, see . - */ --#define _BSD_SOURCE -+#define _DEFAULT_SOURCE - #include - #include - #include --- -1.7.9.5 - diff --git a/meta/recipes-bsp/grub/files/grub-install.in.patch b/meta/recipes-bsp/grub/files/grub-install.in.patch deleted file mode 100644 index 326951df44..0000000000 --- a/meta/recipes-bsp/grub/files/grub-install.in.patch +++ /dev/null @@ -1,20 +0,0 @@ -Upstream-Status: Inappropriate [embedded specific] - -Our use of grub-install doesn't require the -x option, so we should be -be able make use of grep versions that don't support it. - -Signed-off-by: Tom Zanussi - -Index: grub-1.99/util/grub-install.in -=================================================================== ---- grub-1.99.orig/util/grub-install.in 2011-09-09 22:37:20.093906679 -0500 -+++ grub-1.99/util/grub-install.in 2011-09-09 22:37:30.854737882 -0500 -@@ -510,7 +510,7 @@ - - if [ "x${devabstraction_module}" = "x" ] ; then - if [ x"${install_device}" != x ]; then -- if echo "${install_device}" | grep -qx "(.*)" ; then -+ if echo "${install_device}" | grep -q "(.*)" ; then - install_drive="${install_device}" - else - install_drive="`"$grub_probe" --device-map="${device_map}" --target=drive --device "${install_device}"`" || exit 1 diff --git a/meta/recipes-bsp/grub/files/grub-no-unused-result.patch b/meta/recipes-bsp/grub/files/grub-no-unused-result.patch deleted file mode 100644 index 4cbd0838d1..0000000000 --- a/meta/recipes-bsp/grub/files/grub-no-unused-result.patch +++ /dev/null @@ -1,19 +0,0 @@ -Signed-off-by: Radu Moisan -Upstream-Status: Pending - -I had an error because of an unused return value for read(). -I added -Wno-unused-result. - -Index: grub-2.00/configure.ac -=================================================================== ---- grub-2.00.orig/configure.ac 2012-08-13 16:32:33.000000000 +0300 -+++ grub-2.00/configure.ac 2012-08-13 16:38:22.000000000 +0300 -@@ -394,7 +394,7 @@ - LIBS="" - - # debug flags. --WARN_FLAGS="-Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign" -+WARN_FLAGS="-Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wno-unused-result -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign" - HOST_CFLAGS="$HOST_CFLAGS $WARN_FLAGS" - TARGET_CFLAGS="$TARGET_CFLAGS $WARN_FLAGS -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations" - TARGET_CCASFLAGS="$TARGET_CCASFLAGS -g" diff --git a/meta/recipes-bsp/grub/files/grub2-fix-initrd-size-bug.patch b/meta/recipes-bsp/grub/files/grub2-fix-initrd-size-bug.patch deleted file mode 100644 index d114f4847b..0000000000 --- a/meta/recipes-bsp/grub/files/grub2-fix-initrd-size-bug.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 8fbb150a56966edde4dc07b8d01be5eb149b65ab Mon Sep 17 00:00:00 2001 -From: Colin Watson -Date: Sun, 20 Jan 2013 23:03:35 +0000 -Subject: [PATCH 1/1] * grub-core/loader/i386/linux.c (grub_cmd_initrd): Don't - add the initrd size to addr_min, since the initrd will be allocated after - this address. - -commit 6a0debbd9167e8f79cdef5497a73d23e580c0cd4 upstream - -Upstream-Status: Backport - -Signed-off-by: Shan Hai ---- - ChangeLog | 6 ++++++ - grub-core/loader/i386/linux.c | 3 +-- - 2 files changed, 7 insertions(+), 2 deletions(-) - -diff --git a/ChangeLog b/ChangeLog -index c2f42d5..40cb508 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,9 @@ -+2013-01-20 Colin Watson -+ -+ * grub-core/loader/i386/linux.c (grub_cmd_initrd): Don't add the -+ initrd size to addr_min, since the initrd will be allocated after -+ this address. -+ - 2012-07-02 Vladimir Serbinenko - - * grub-core/net/tftp.c (ack): Fix endianness problem. -diff --git a/grub-core/loader/i386/linux.c b/grub-core/loader/i386/linux.c -index 62087cf..e2425c8 100644 ---- a/grub-core/loader/i386/linux.c -+++ b/grub-core/loader/i386/linux.c -@@ -1098,8 +1098,7 @@ grub_cmd_initrd (grub_command_t cmd __attribute__ ((unused)), - worse than that of Linux 2.3.xx, so avoid the last 64kb. */ - addr_max -= 0x10000; - -- addr_min = (grub_addr_t) prot_mode_target + prot_init_space -- + page_align (size); -+ addr_min = (grub_addr_t) prot_mode_target + prot_init_space; - - /* Put the initrd as high as possible, 4KiB aligned. */ - addr = (addr_max - size) & ~0xFFF; --- -1.8.5.2.233.g932f7e4 - diff --git a/meta/recipes-bsp/grub/files/grub2-remove-sparc64-setup-from-x86-builds.patch b/meta/recipes-bsp/grub/files/grub2-remove-sparc64-setup-from-x86-builds.patch deleted file mode 100644 index 5168d3ca56..0000000000 --- a/meta/recipes-bsp/grub/files/grub2-remove-sparc64-setup-from-x86-builds.patch +++ /dev/null @@ -1,44 +0,0 @@ -Subject: [PATCH] grub2: remove grub-sparc64-setup from x86 builds - -* remove the grub-sparc64-setup files from the x86 builds. - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Nitin A Kamble -Signed-off-by: Mingli Yu ---- - Makefile.util.def | 18 ------------------ - 1 file changed, 18 deletions(-) - -diff --git a/Makefile.util.def b/Makefile.util.def -index b80187c..a670cf2 100644 ---- a/Makefile.util.def -+++ b/Makefile.util.def -@@ -321,24 +321,6 @@ program = { - }; - - program = { -- name = grub-sparc64-setup; -- installdir = sbin; -- mansection = 8; -- common = util/grub-setup.c; -- common = util/lvm.c; -- common = grub-core/kern/emu/argp_common.c; -- common = grub-core/lib/reed_solomon.c; -- common = util/ieee1275/ofpath.c; -- -- ldadd = libgrubmods.a; -- ldadd = libgrubkern.a; -- ldadd = libgrubgcry.a; -- ldadd = grub-core/gnulib/libgnu.a; -- ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; -- cppflags = '-DGRUB_SETUP_SPARC64=1'; --}; -- --program = { - name = grub-ofpathname; - installdir = sbin; - mansection = 8; --- -2.8.1 - diff --git a/meta/recipes-bsp/grub/files/remove-gets.patch b/meta/recipes-bsp/grub/files/remove-gets.patch deleted file mode 100644 index 463f7847ad..0000000000 --- a/meta/recipes-bsp/grub/files/remove-gets.patch +++ /dev/null @@ -1,20 +0,0 @@ -ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it - -Signed-off-by: Khem Raj - -Upstream-Status: Pending -Index: grub-1.99/grub-core/gnulib/stdio.in.h -=================================================================== ---- grub-1.99.orig/grub-core/gnulib/stdio.in.h 2010-12-01 06:45:43.000000000 -0800 -+++ grub-1.99/grub-core/gnulib/stdio.in.h 2012-07-04 12:25:02.057099107 -0700 -@@ -140,8 +140,10 @@ - /* It is very rare that the developer ever has full control of stdin, - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ -+#if defined gets - #undef gets - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ diff --git a/meta/recipes-bsp/grub/grub-efi_2.00.bb b/meta/recipes-bsp/grub/grub-efi_2.02.bb similarity index 88% rename from meta/recipes-bsp/grub/grub-efi_2.00.bb rename to meta/recipes-bsp/grub/grub-efi_2.02.bb index e12f1d773f..9d494d5d12 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.00.bb +++ b/meta/recipes-bsp/grub/grub-efi_2.02.bb @@ -1,8 +1,9 @@ require grub2.inc +GRUBPLATFORM = "efi" + DEPENDS_class-target = "grub-efi-native" RDEPENDS_${PN}_class-target = "diffutils freetype" -PR = "r3" SRC_URI += " \ file://cfg \ @@ -29,11 +30,7 @@ python __anonymous () { inherit deploy CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN=" -EXTRA_OECONF = "--with-platform=efi --disable-grub-mkfont \ - --enable-efiemu=no --program-prefix='' \ - --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no \ - --enable-largefile \ -" +EXTRA_OECONF += "--enable-efiemu=no" # ldm.c:114:7: error: trampoline generated for nested function 'hook' [-Werror=trampolines] # and many other places in the grub code when compiled with some native gcc compilers (specifically, gentoo) diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index ef893b327f..bb6ebddf57 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -12,41 +12,37 @@ LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ - file://grub-module-explicitly-keeps-symbole-.module_license.patch \ - file://grub-2.00-fpmath-sse-387-fix.patch \ - file://check-if-liblzma-is-disabled.patch \ - file://fix-issue-with-flex-2.5.37.patch \ - file://grub-2.00-add-oe-kernel.patch \ - file://grub-install.in.patch \ - file://remove-gets.patch \ - file://fix-endianness-problem.patch \ - file://grub2-remove-sparc64-setup-from-x86-builds.patch \ - file://grub-2.00-fix-enable_execute_stack-check.patch \ - file://grub-no-unused-result.patch \ - file://grub-efi-allow-a-compilation-without-mcmodel-large.patch \ - file://grub-efi-fix-with-glibc-2.20.patch \ + file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \ file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ - file://0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch \ - file://grub2-fix-initrd-size-bug.patch \ - file://0001-Fix-CVE-2015-8370-Grub2-user-pass-vulnerability.patch \ - file://0001-Remove-direct-_llseek-code-and-require-long-filesyst.patch \ - file://fix-texinfo.patch \ - file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \ - file://0001-Enforce-no-pie-if-the-compiler-supports-it.patch \ - file://0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch \ - file://0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch \ - file://0001-build-Use-AC_HEADER_MAJOR-to-find-device-macros.patch \ - " + file://autogen.sh-exclude-pc.patch \ + file://grub-module-explicitly-keeps-symbole-.module_license.patch \ +" +SRC_URI[md5sum] = "1116d1f60c840e6dbd67abbc99acb45d" +SRC_URI[sha256sum] = "660ee136fbcee08858516ed4de2ad87068bfe1b6b8b37896ce3529ff054a726d" DEPENDS = "flex-native bison-native autogen-native" -SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c" -SRC_URI[sha256sum] = "65b39a0558f8c802209c574f4d02ca263a804e8a564bc6caf1cd0fd3b3cc11e3" +COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' +COMPATIBLE_HOST_armv7a = 'null' +COMPATIBLE_HOST_armv7ve = 'null' -COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' +# configure.ac has code to set this automagically from the target tuple +# but the OE freeform one (core2-foo-bar-linux) don't work with that. + +GRUBPLATFORM_arm = "uboot" +GRUBPLATFORM_aarch64 = "efi" +GRUBPLATFORM ??= "pc" inherit autotools gettext texinfo +EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \ + --disable-grub-mkfont \ + --program-prefix="" \ + --enable-liblzma=no \ + --enable-libzfs=no \ + --enable-largefile \ +" + PACKAGECONFIG ??= "" PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse" PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,lvm2" diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/grub/grub_2.02.bb similarity index 56% rename from meta/recipes-bsp/grub/grub_2.00.bb rename to meta/recipes-bsp/grub/grub_2.02.bb index c3829381ae..57c6559365 100644 --- a/meta/recipes-bsp/grub/grub_2.00.bb +++ b/meta/recipes-bsp/grub/grub_2.02.bb @@ -1,12 +1,6 @@ require grub2.inc RDEPENDS_${PN} = "diffutils freetype grub-editenv" -PR = "r1" - -EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \ - --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no \ - --enable-largefile \ -" PACKAGES =+ "grub-editenv" diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb deleted file mode 100644 index 0a81e530f4..0000000000 --- a/meta/recipes-bsp/grub/grub_git.bb +++ /dev/null @@ -1,45 +0,0 @@ -require grub2.inc - -DEFAULT_PREFERENCE = "-1" -DEFAULT_PREFERENCE_arm = "1" - -FILESEXTRAPATHS =. "${FILE_DIRNAME}/grub-git:" - -PV = "2.00+${SRCPV}" -SRCREV = "ce95549cc54b5d6f494608a7c390dba3aab4fba7" -SRC_URI = "git://git.savannah.gnu.org/grub.git \ - file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \ - file://autogen.sh-exclude-pc.patch \ - file://0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch \ - " - -S = "${WORKDIR}/git" - -COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' -COMPATIBLE_HOST_armv7a = 'null' -COMPATIBLE_HOST_armv7ve = 'null' - -# configure.ac has code to set this automagically from the target tuple -# but the OE freeform one (core2-foo-bar-linux) don't work with that. - -GRUBPLATFORM_arm = "uboot" -GRUBPLATFORM_aarch64 = "efi" -GRUBPLATFORM ??= "pc" - -EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} --disable-grub-mkfont --program-prefix="" \ - --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no \ - --enable-largefile \ -" - -do_install_append () { - install -d ${D}${sysconfdir}/grub.d - rm -rf ${D}${libdir}/charset.alias -} - -# debugedit chokes on bare metal binaries -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -RDEPENDS_${PN} = "diffutils freetype" - -INSANE_SKIP_${PN} = "arch" -INSANE_SKIP_${PN}-dbg = "arch" From patchwork Mon May 22 05:00:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100251 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86268qge; Sun, 21 May 2017 22:02:26 -0700 (PDT) X-Received: by 10.98.152.214 with SMTP id d83mr23399008pfk.7.1495429346093; Sun, 21 May 2017 22:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429346; cv=none; d=google.com; s=arc-20160816; b=ldrZ6OG4Y/mSNADdjWN0ME0DTqBlZsUXq4scvK/VF/aJdtXaFRaCBu/ZNRClwztPY+ xVJ3stwuBKho2Xy/pfP37iAesvvOp1Ov+kARB5edtmGs05QUKiXwjSSzk5SCD1CylpF4 FPLiPqrIe/x6w1+22q7AxKAeggvp7g49uzyOllPneejRjl4MZncUItm3uTks4ZNi1U5L p0OxQstW1xKE4vy00JqNwS+t5NasBjkWd/401/CoXqFwtgR+KyJSNfi5bbYhEtNLZ7rz vp0h0cVcMANqbeG9lnCB/StlyZkWB8OBpsjL2qR0QQtA9NmM3jiJm+3hkwUoYizt4ClV VS9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=9dcANcZHaSX/TxPMWUDxmTDT5bjJ+cEZR2OtO89lQX4=; b=UqsG2XrD6j4lBdUDJSBcA4W+YmbMHur4rtrtNztjjBdbNjbCx+TV2TqaeupRnQ3jzK TlRUd57FTOZgIQr3VrnPSsloXTFHyJ/Z61Jdhp8YXg23Uhhwh01Fj93IFObaLJ2SW2b1 mnld+MjepclM3BhOmVL0HRYGB/ThYDblNLagCjBE8vgb8tcNbr6eAMv8cyoguZq+n6ZV miYz6Bm02aXkc2SYiXJm65oznYlwjnvU7PuQIeko243NvwRJGC8Apcf7NWDAc1hUjEVG nP66By+PAUSCtRzgU5Is+xkjr9AHTJUOFqX46SRbX4wbWBEymx269EtIDwnkOoeB/efI +YxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 1si15522078pgb.225.2017.05.21.22.02.25; Sun, 21 May 2017 22:02:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 01E7A77FC0; Mon, 22 May 2017 05:02:16 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 9480977F77 for ; Mon, 22 May 2017 05:01:00 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id n23so17287015pfb.3 for ; Sun, 21 May 2017 22:01:02 -0700 (PDT) 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; bh=R+9355Gj4BvIPOuuVb5m+1Ydi/+7UXAsWjbj2Muqn9M=; b=n4sc0ikoGcR7oBFBBnZaZL5BnFiIlBKQ8dS5peQXm1N14sRJQPTAhp09USqf5A1zca l2QBqlIDo9KQqR9L8cvbIgIhkY4TxPUVWkf7Pf68W0dm7i5YGKBkWEmaJ4GuURRF2dm4 w8CMmJqc0v0n3igeelTb27nFMJTYKyCgfGsiQDc81osPo8Ua9k0SfgvRmfi2/JsYD5q7 5ZZp8zSnnfI+h146U3I2/x146BwZt5HWh6mWhy0Whw8rspY0DkdHPTvEseFnMj0vgF8L mCexKvGqMD1yICJ9NnJ2viimrAwJtwzC9ys/RuPuMjPPM98QBswXgexpB09HLWavdnWQ pfuA== 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; bh=R+9355Gj4BvIPOuuVb5m+1Ydi/+7UXAsWjbj2Muqn9M=; b=EZwmK0G2gfiSEBt2DlrQJNf9gV3D9f+8mhyucR57YmZGoJNz/exyImJdA76c6o5Bvd LNFlD2rCvAF2fdu2Y2JkF6LITGUTb1Uq4/+oMyVkIdfjdZpt5IyyToCWHqUaw0nxy/8w IWmQMWd2a33b5Kx0qyDR04VgAhpX+OuaTLy4YPCZmvJhBt8n898AQjbPxj6U030m/YSM 8Z2/6nJRhWe2D3MaZCjHpX7pSVzs24Nk+6bW5YF6YtA+xScJTx52RNIDVmJyH2EaVhSy xQE4ldgjYYd+vjaXWOemKDSJXL5c31/Utax2Bgd9JtzjRjdeoMRoGKxnFRoVI0cTf2PG LCIA== X-Gm-Message-State: AODbwcDarhgJIvt/s9drwqwKrJOpg8ch+APJlC6ToRStQeWLyv07/48R 6fW70Kp/QGCYlA== X-Received: by 10.99.66.5 with SMTP id p5mr23162860pga.107.1495429261560; Sun, 21 May 2017 22:01:01 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.00.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:00:59 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:31 -0700 Message-Id: <20170522050042.42403-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 04/15] glew: Compile with -D_GNU_SOURCE X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Required with glibc 2.26 when x11 is not in distro features it errors out due to mising CLOCK_REALTIME error: 'CLOCK_REALTIME' undeclared (first use in this function); did you mean '_XOPEN_REALTIME'? if (clock_gettime(CLOCK_REALTIME, &ts) == -1) ^~~~~~~~~~~~~~ _XOPEN_REALTIME Signed-off-by: Khem Raj --- meta/recipes-graphics/glew/glew_2.0.0.bb | 1 + 1 file changed, 1 insertion(+) -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/glew/glew_2.0.0.bb b/meta/recipes-graphics/glew/glew_2.0.0.bb index 1c93ca07b6..f2ab75629c 100644 --- a/meta/recipes-graphics/glew/glew_2.0.0.bb +++ b/meta/recipes-graphics/glew/glew_2.0.0.bb @@ -24,6 +24,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', 'egl- PACKAGECONFIG[opengl] = "SYSTEM='linux',,virtual/libx11 virtual/libgl libglu libxext libxi libxmu" PACKAGECONFIG[egl-gles2] = "SYSTEM='linux-egl' GLEW_NO_GLU='-DGLEW_NO_GLU' LDFLAGS.GL='-lEGL -lGLESv2',,virtual/egl virtual/libgles2" +CFLAGS += "-D_GNU_SOURCE" # Override SYSTEM (via PACKAGECONFIG_CONFARGS) to avoid calling config.guess, # we're cross-compiling. Pass our CFLAGS via POPT as that's the optimisation # variable and safely overwritten. From patchwork Mon May 22 05:00:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100252 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86306qge; Sun, 21 May 2017 22:02:32 -0700 (PDT) X-Received: by 10.99.115.73 with SMTP id d9mr18101260pgn.5.1495429352716; Sun, 21 May 2017 22:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429352; cv=none; d=google.com; s=arc-20160816; b=yfVHhH4TN7i3GdGdtD/KPoq5XHjyb4zzLbRGtEgD4s9+hN2UNGGmM/sRyThZ1oMHU5 WNhcRXvTyHKrb1bzxPRySzw9RMGyg82/TsZ96s1nkRoD4lrBqgkXHoZA2paKIs8gBmtM miVzsdCHI7yJHVOAfoSyutcCNmU3X5tomHz9oGz9/6doKOYnvwBPWBv4o1wbpqcPNpGY DPLx22FhGNyWnuev/1gGug0noLw/jA40IJ+1g3lxwX7bbktx/rwLBT3cuaRlMqJMfoCS vTeDMzMWWFHXkMTv1lKbmk6027Jgcsryj608R3YyYaATd+SP7I7VSN41k323dcxNkEGK iOxQ== 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:arc-authentication-results; bh=dQhoAAMPBuIybBnJAqzVlfos5cbm1kYnoRFTZP/JZr4=; b=NVFOmrmpEDrylAi2J2FlZVuBdWb/2ZM8J0oAEEFlPrTvE0A5UBlzu/jZddeSKfix4K oQXkWwyeNryr0FiGph264H8n3uooSWgvKgGD7tCATKRY+oSXJw/8KNSivGTDSPR9ayij tfqBNRSQ8vjOU2/KXTI1t31IvYGy4mvwTty42WbZAo0vV2+M2p69JEIRU1OvPgNRhlak 25zflPr4LlEbLZ+Z5J7D8J7q4L85vmkgcr64qvM8yFb5DOt9I55pc3S0meECZwZCyWcl cRRMHfafagaT0kvt34IQS8vImefLLKwUxZ9hHCRd2rn652jQtVXEFsdFDiY/ydUftbBA FnGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 2si16046103pld.107.2017.05.21.22.02.32; Sun, 21 May 2017 22:02:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A44A977FC1; Mon, 22 May 2017 05:02:23 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by mail.openembedded.org (Postfix) with ESMTP id 0308077F73 for ; Mon, 22 May 2017 05:01:02 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id 9so70330632pfj.1 for ; Sun, 21 May 2017 22:01:04 -0700 (PDT) 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=lKchD7I8VBbeYPpPfq/KFJbDtLgTnNYlDFCUZ4uu5ws=; b=J0sBPkAhhjhZt69Q1i5C7LK4LCtg15S+mYSddIOPkGIwqqOuDc/aDh0AJuJ/gWcpUK lVa7JOtY4I2jmnBI2d9TeHUDQLNbIODzhCJ3GMveGTulUPEtm7jemNpaw9G1yVeTicyS l7tz6SmwI9UkPRUWHQ2wulVm7sIS/DiiEw/2qR+FAw12Vb+g1HSBtCa99G4lPJxzRw8F 5JU7vKazTafFEKvpxpOAos0yyj0CGeB6pFwnfezzdD0/qB7NFREq1bHlwWxay1Af2iTn RE7tT2KY5Az841TO/suFUVyALdIz7Y6YXZsJ9XWVTdhtF0R6m3YIMGopu3f4/xCEvIdl v+Aw== 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=lKchD7I8VBbeYPpPfq/KFJbDtLgTnNYlDFCUZ4uu5ws=; b=Bxii40KFJC7aWbXFMZLckLEDH6ToeV9ZZqSQ5aCaH6LcHUvzRhm2yP8ow+AQrTgUs/ g6pp4lWHqrTaTFTaHAAbnBmyxaLBfI3z1h69ql5UhMeLPjmEmanuORkG4yDrFf87yCea d2gxzopVqQ9Yck1/BVVbT45r9TXtLGvwK1SAIzZRsYXdLACqlh8krJBIwp5VYEjDeqkL piafrQ0btTlX/qU4N+yraYncPD3l9K4A+IJYnerAku7IazWaFg7zwu5wxszIr3udzvCM SqgF981SIUV7N0P02vXxsB7UiZt4v4SLqvFhqILhOKr/B0mxh78JzwITfhOZzu/39/Pk kUIg== X-Gm-Message-State: AODbwcDr3ZC+Ufx3UNHiPMimJGAEpvzUtsmidNGJOurUtm+3aQuZkX1l vH5YrUwyedAjhg9S X-Received: by 10.99.130.73 with SMTP id w70mr23404400pgd.119.1495429263213; Sun, 21 May 2017 22:01:03 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:01 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:32 -0700 Message-Id: <20170522050042.42403-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 05/15] libidn: Fix hardened build with musl X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Re-introduce the patch that was deemed to be not needed but it infact is still needed with musl Signed-off-by: Khem Raj --- .../libidn/0001-idn-format-security-warnings.patch | 181 +++++++++++++++++++++ meta/recipes-extended/libidn/libidn_1.33.bb | 1 + 2 files changed, 182 insertions(+) create mode 100644 meta/recipes-extended/libidn/libidn/0001-idn-format-security-warnings.patch diff --git a/meta/recipes-extended/libidn/libidn/0001-idn-format-security-warnings.patch b/meta/recipes-extended/libidn/libidn/0001-idn-format-security-warnings.patch new file mode 100644 index 0000000000..5adc7d9fd9 --- /dev/null +++ b/meta/recipes-extended/libidn/libidn/0001-idn-format-security-warnings.patch @@ -0,0 +1,181 @@ +From 82f98dcbc429bbe89a9837c533cbcbc02e77c790 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andr=C3=A9=20Draszik?= +Date: Tue, 28 Jun 2016 12:43:31 +0100 +Subject: [PATCH] idn: fix printf() format security warnings +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +| ../../libidn-1.32/src/idn.c: In function 'main': +| ../../libidn-1.32/src/idn.c:172:7: error: format not a string literal and no format arguments [-Werror=format-security] +| error (0, 0, _("only one of -s, -e, -d, -a, -u or -n can be specified")); +| ^~~~~ +| ../../libidn-1.32/src/idn.c:187:5: error: format not a string literal and no format arguments [-Werror=format-security] +| fprintf (stderr, _("Type each input string on a line by itself, " +| ^~~~~~~ +| ../../libidn-1.32/src/idn.c:202:4: error: format not a string literal and no format arguments [-Werror=format-security] +| error (EXIT_FAILURE, errno, _("input error")); +| ^~~~~ +| ../../libidn-1.32/src/idn.c:220:8: error: format not a string literal and no format arguments [-Werror=format-security] +| _("could not convert from UTF-8 to UCS-4")); +| ^ +| ../../libidn-1.32/src/idn.c:245:8: error: format not a string literal and no format arguments [-Werror=format-security] +| _("could not convert from UTF-8 to UCS-4")); +| ^ +| ../../libidn-1.32/src/idn.c:281:6: error: format not a string literal and no format arguments [-Werror=format-security] +| _("could not convert from UTF-8 to UCS-4")); +| ^ +| ../../libidn-1.32/src/idn.c:340:6: error: format not a string literal and no format arguments [-Werror=format-security] +| _("could not convert from UCS-4 to UTF-8")); +| ^ +| ../../libidn-1.32/src/idn.c:364:6: error: format not a string literal and no format arguments [-Werror=format-security] +| _("could not convert from UCS-4 to UTF-8")); +| ^ +| ../../libidn-1.32/src/idn.c:442:8: error: format not a string literal and no format arguments [-Werror=format-security] +| _("could not convert from UCS-4 to UTF-8")); +| ^ +| ../../libidn-1.32/src/idn.c:498:6: error: format not a string literal and no format arguments [-Werror=format-security] +| _("could not convert from UTF-8 to UCS-4")); +| ^ +| ../../libidn-1.32/src/idn.c:527:5: error: format not a string literal and no format arguments [-Werror=format-security] +| _("could not convert from UTF-8 to UCS-4")); +| ^ +| ../../libidn-1.32/src/idn.c:540:6: error: format not a string literal and no format arguments [-Werror=format-security] +| error (EXIT_FAILURE, 0, _("could not do NFKC normalization")); +| ^~~~~ +| ../../libidn-1.32/src/idn.c:551:5: error: format not a string literal and no format arguments [-Werror=format-security] +| _("could not convert from UTF-8 to UCS-4")); +| ^ + +Signed-off-by: André Draszik +--- +Upstream-Status: Pending + + src/idn.c | 27 ++++++++++++++------------- + 1 file changed, 14 insertions(+), 13 deletions(-) + +diff --git a/src/idn.c b/src/idn.c +index be1c7d1..68e4291 100644 +--- a/src/idn.c ++++ b/src/idn.c +@@ -170,7 +170,7 @@ main (int argc, char *argv[]) + (args_info.idna_to_unicode_given ? 1 : 0) + + (args_info.nfkc_given ? 1 : 0) != 1) + { +- error (0, 0, _("only one of -s, -e, -d, -a, -u or -n can be specified")); ++ error (0, 0, "%s", _("only one of -s, -e, -d, -a, -u or -n can be specified")); + usage (EXIT_FAILURE); + } + +@@ -185,7 +185,7 @@ main (int argc, char *argv[]) + if (!args_info.quiet_given + && args_info.inputs_num == 0 + && isatty (fileno (stdin))) +- fprintf (stderr, _("Type each input string on a line by itself, " ++ fprintf (stderr, "%s", _("Type each input string on a line by itself, " + "terminated by a newline character.\n")); + + do +@@ -197,7 +197,7 @@ main (int argc, char *argv[]) + if (feof (stdin)) + break; + +- error (EXIT_FAILURE, errno, _("input error")); ++ error (EXIT_FAILURE, errno, "%s", _("input error")); + } + + if (strlen (line) > 0) +@@ -215,7 +215,7 @@ main (int argc, char *argv[]) + if (!q) + { + free (p); +- error (EXIT_FAILURE, 0, ++ error (EXIT_FAILURE, 0, "%s", + _("could not convert from UTF-8 to UCS-4")); + } + +@@ -240,7 +240,7 @@ main (int argc, char *argv[]) + if (!q) + { + free (r); +- error (EXIT_FAILURE, 0, ++ error (EXIT_FAILURE, 0, "%s", + _("could not convert from UTF-8 to UCS-4")); + } + +@@ -277,7 +277,7 @@ main (int argc, char *argv[]) + q = stringprep_utf8_to_ucs4 (p, -1, &len); + free (p); + if (!q) +- error (EXIT_FAILURE, 0, ++ error (EXIT_FAILURE, 0, "%s", + _("could not convert from UTF-8 to UCS-4")); + + if (args_info.debug_given) +@@ -336,7 +336,7 @@ main (int argc, char *argv[]) + r = stringprep_ucs4_to_utf8 (q, -1, NULL, NULL); + free (q); + if (!r) +- error (EXIT_FAILURE, 0, ++ error (EXIT_FAILURE, 0, "%s", + _("could not convert from UCS-4 to UTF-8")); + + p = stringprep_utf8_to_locale (r); +@@ -360,7 +360,7 @@ main (int argc, char *argv[]) + q = stringprep_utf8_to_ucs4 (p, -1, NULL); + free (p); + if (!q) +- error (EXIT_FAILURE, 0, ++ error (EXIT_FAILURE, 0, "%s", + _("could not convert from UCS-4 to UTF-8")); + + if (args_info.debug_given) +@@ -438,7 +438,7 @@ main (int argc, char *argv[]) + if (!q) + { + free (p); +- error (EXIT_FAILURE, 0, ++ error (EXIT_FAILURE, 0, "%s", + _("could not convert from UCS-4 to UTF-8")); + } + +@@ -494,7 +494,7 @@ main (int argc, char *argv[]) + r = stringprep_ucs4_to_utf8 (q, -1, NULL, NULL); + free (q); + if (!r) +- error (EXIT_FAILURE, 0, ++ error (EXIT_FAILURE, 0, "%s", + _("could not convert from UTF-8 to UCS-4")); + + p = stringprep_utf8_to_locale (r); +@@ -523,7 +523,7 @@ main (int argc, char *argv[]) + if (!q) + { + free (p); +- error (EXIT_FAILURE, 0, ++ error (EXIT_FAILURE, 0, "%s", + _("could not convert from UTF-8 to UCS-4")); + } + +@@ -537,7 +537,8 @@ main (int argc, char *argv[]) + r = stringprep_utf8_nfkc_normalize (p, -1); + free (p); + if (!r) +- error (EXIT_FAILURE, 0, _("could not do NFKC normalization")); ++ error (EXIT_FAILURE, 0, "%s", ++ _("could not do NFKC normalization")); + + if (args_info.debug_given) + { +@@ -547,7 +548,7 @@ main (int argc, char *argv[]) + if (!q) + { + free (r); +- error (EXIT_FAILURE, 0, ++ error (EXIT_FAILURE, 0, "%s", + _("could not convert from UTF-8 to UCS-4")); + } + +-- +2.8.1 + diff --git a/meta/recipes-extended/libidn/libidn_1.33.bb b/meta/recipes-extended/libidn/libidn_1.33.bb index 109cc7f3f5..9e8bdbae18 100644 --- a/meta/recipes-extended/libidn/libidn_1.33.bb +++ b/meta/recipes-extended/libidn/libidn_1.33.bb @@ -20,6 +20,7 @@ SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \ file://dont-depend-on-help2man.patch \ file://0001-idn-fix-printf-format-security-warnings.patch \ file://gcc7-compatibility.patch \ + file://0001-idn-format-security-warnings.patch \ " SRC_URI[md5sum] = "a9aa7e003665de9c82bd3f9fc6ccf308" From patchwork Mon May 22 05:00:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100253 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86327qge; Sun, 21 May 2017 22:02:38 -0700 (PDT) X-Received: by 10.99.125.87 with SMTP id m23mr23134669pgn.79.1495429358322; Sun, 21 May 2017 22:02:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429358; cv=none; d=google.com; s=arc-20160816; b=w4V10/gSPVhkSfr4HKlfhWDGzWd88KNMB+d73DQ0IMSd7LBluLVYJh8DJaHkdp2PnF C4b+G9CIhH86jwD1nOIBFIjNfx3qJ6BexqkMFwAaPq2thz7oYI+M7ZMFz4jgC5qjjCMx CkdVw2cVQ4nZnbRQXsnc/7gcHfOM+x0sq7BLZqwX+bAugKS2t/N/5hZ7paampmrM3e/S 9LsohvMOoxRMvadq+Ze/xAJUPt3nS0PCvnPTwcvs9Nl0IR47s77+PtA981duMN/r4Svl v39wj9d1qdussUp1qwi18vgdneDjZIZShkHNMWFsNjUpUXCypi4kN6uLFu8Fhc9sRqE/ eYmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=tFGYVdo0y0sokrn4AzE1vtsdb6X2u6EkHz1IBiqEeV8=; b=vIgdprzFc/NSUbPfLyKo1fOmY4FHkltjietWWZVGvQvy8RZFvOnlkHwmpyH/sthUnb YqiGvI845rkZdGr5kzwAeodeZXpFJvqhTpOEpW4Ggq6MGZJqDXP5vTWFL28Z333Y6Mbz qjIGoBvWKXo3tCenloGfUi8BJn7Uydmcsr7nGSbfECE4j3qKCiV/WvjoV6SYJHLHGnjT 6z6pz03VPJWcMCQqcj1eD1g8xw6fTEUgwXZH2FbwiSL46JeR3TI3clbbI6G1QCpkYthF 0hWm3pePu0oozChia3WopxHWxnjqqqo+TXx9tjEmV/BESApFAA38N+0iJlq2Mld8VjUd IjWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 z135si16116128pgz.5.2017.05.21.22.02.37; Sun, 21 May 2017 22:02:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A427E77FD1; Mon, 22 May 2017 05:02:24 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by mail.openembedded.org (Postfix) with ESMTP id 07ADD77F6B for ; Mon, 22 May 2017 05:01:03 +0000 (UTC) Received: by mail-pf0-f174.google.com with SMTP id m17so70263403pfg.3 for ; Sun, 21 May 2017 22:01:05 -0700 (PDT) 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; bh=FngdPK0Yo7KYkFahpDgpoYN97V0YIbTgO2RaYhYkIT8=; b=g/4k4Jk4f2LptHFo5HMRsi8+q2Qnqoa8cFoQsVXzFCwuFoxSCuyUQrS2JeaXSr/oZ1 +KMgyvrG9vNnHFPXR0/FpgG+aS/1OFDh2SJ8t193LzLs2c2hWLuLbBUed6v30oITY+d7 ba0wBjLIN+ILlA/qY7/bdiZV/bhmDChxW2/iw8fzNVn+e21HIQypIbPGHQkWxAisz94U XlX1/Haniv34woxHZ1/vgoIqxDd2zLF9DKvyYP2KT5AQrsv9c6erXsOPiemxvWIJZPyR QNBdPOeLcr+yyxOCqZBVQjqB2Lp7x0GXC3s67FMVxvzd/h6iDtAxLGTtastk/6okHWZ0 TSVQ== 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; bh=FngdPK0Yo7KYkFahpDgpoYN97V0YIbTgO2RaYhYkIT8=; b=ATRDWyKtUOfLcVswR9vDJz+RxGrioPIv8mg37TcjDfP1V4xvp2FFd2RKJAgkx/kkRX LocynvJuMg1/6myH5tphAYPO5lhJl1j3KHiXir2HDFUkOaW+CV43Ox9XEQXNsm09SHx5 LxFJrbZD6jQk70Jvurvw/bZ+SS3dOGBQo78pyFkCNaIrIZ/zqzvoUPHjGGj5fITCXp5j lPZR5py8/DKrTBjD9WO3FI4n8FIpQyH6G3Hm3atAjk3o4IU5O8RG7/WuM6I0JBh2oLtY yLXR240DJw4hI0i/hjvk7FiI1I+qlJyc8Z4G96/+yQ3ONw3NLSQU017mSYAJHMBHg6N1 oNMg== X-Gm-Message-State: AODbwcDNKZdf9aYTwKxt0P1ANVgvNyq6PHnhKYKap3e0XcW7NArTXwRz E+yT8kcNy2psPveH X-Received: by 10.98.138.150 with SMTP id o22mr23195989pfk.120.1495429264724; Sun, 21 May 2017 22:01:04 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:03 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:33 -0700 Message-Id: <20170522050042.42403-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 06/15] libgcrypt: Do not restrict to ARM ISA X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This works ok with thumb2 as well now a days It was added in 2006 http://git.openembedded.org/openembedded/commit/?id=037b00e3d629962e8d2bc4fcc944c9ecf9a240be Signed-off-by: Khem Raj --- meta/recipes-support/libgcrypt/libgcrypt.inc | 2 -- 1 file changed, 2 deletions(-) -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc index 84c1cc018b..3c7e89aa92 100644 --- a/meta/recipes-support/libgcrypt/libgcrypt.inc +++ b/meta/recipes-support/libgcrypt/libgcrypt.inc @@ -47,6 +47,4 @@ PACKAGES =+ "dumpsexp-dev" FILES_${PN}-dev += "${bindir}/hmac256" FILES_dumpsexp-dev += "${bindir}/dumpsexp" -ARM_INSTRUCTION_SET = "arm" - BBCLASSEXTEND = "native nativesdk" From patchwork Mon May 22 05:00:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100254 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86355qge; Sun, 21 May 2017 22:02:43 -0700 (PDT) X-Received: by 10.84.241.132 with SMTP id b4mr26623437pll.107.1495429363900; Sun, 21 May 2017 22:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429363; cv=none; d=google.com; s=arc-20160816; b=wJsM/ZLNcSBY+P9kXyghWHaFLKF5hz1dcBM53q4G9B8kWfxqG8YBNlugfaZw7LRvYw 3bqRaKlaxPBtd8OlZg0PlXaNWlnGq39yeQ5LeBB4rwTK6XIxP82Z1bewpv9lBz4cCB4p 0UvoqeaOl7vZLC6d71yd4n8YsRT0OEi41WN2uFktnoGM2mSjwa36gLXJEZTavddaOfoR 9/KQC6fPDRX2+wm3lnB4LMpVRp8ya6pLS2GWqj+tD96s2HRO9U7IY+u8lGOG7KarwOya 99ZZK6DmphpOZhXAEh0DZjpST8Cxyg93LePc2lPnV7ntOVOXPfa52ZsLwBdbMbqM4Mwe bJJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Lcx8QD7m68NCGmBARBJHxFG+9itJbhnftxw1RlAE37Y=; b=fNj07ljZUveldRHiuG+IbOD/quNlzTl4rT+fqYoIfv1jfDBrV1YECOvH7TJSlD0Bc0 IsP6vM0F5zyknBFWjk6yVTzQMOU0P0RTx6UqxSY7cDsHHFMAPw/uIIl01FxhZJyksu5t 3agiJUdvitUF2cWksvB7YgDPtHUnFsBg0krrF7y/G76nnVgGdTVWmpnsW8eafHdzIqMv CpyTnhL8zy+ojC6DGPvNTANLWWgQDwlT18LKjHFH4Oxak92PT8eYqFN6Kc0j8idHds0N 646NLuZuKiYHnm6S24npKRwR5PLT0ayiWcrAn4fBIuXkIFNlKTAfpMMFOo9qL8ea+LE2 fXAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 v14si16249061plk.134.2017.05.21.22.02.43; Sun, 21 May 2017 22:02:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A4FFB77FDD; Mon, 22 May 2017 05:02:25 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 7D32177F6B for ; Mon, 22 May 2017 05:01:06 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id n23so17287620pfb.3 for ; Sun, 21 May 2017 22:01:08 -0700 (PDT) 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; bh=qMYUpjNCUfQ4p/IC5iayFK4p6cQnmaLu5MxBp8ieVuw=; b=uEjAMUTAYi9pXRwldFVajRafu6JqgRUWx24VEBqoJUFO2+xiDAE2UeG4mpynDVtsfK j1TFihEH2kKsuXpMcj34PchxHLrADaFU3B5ogRY2LwBA9YfVWjOHHQSkokQl3Yq7X8Fx KVhp9mO9nmQBjpgoH1JbssXpsImca9k5gORv03HpyPrSN9a1C7YA9uY+FvFaVAKtY+FS H9aboUmt9T4ju/g1Lul0t0Z78QfziVVINHP/d7RmCoB0RG4MFPrxxFuXxU6qrXqg7ZJf DLK+d2x18GpJywATYtS23VFslicdScvYGsnSAll5uEvhGnCZnr9AFnq/KTC+IweGuLEe EOJw== 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; bh=qMYUpjNCUfQ4p/IC5iayFK4p6cQnmaLu5MxBp8ieVuw=; b=Tc35pxqq4pCpCLNdvfEQCJJOekAPL/bcyRrUM7W47XIEKUdJC/0fLpL6ISVAVuQQaF upwqbzhkO/BfZMTKF+x7nWa9qiuoUWwADkpnWCuFk8eDqkRTiGNPDKL5vr51hzDv+SRW /nGxC4iYHZHWWa66v9uFGt2t6YB4NT3s3VZ5BXBa8Iek+0CNegCrqREnLbN+z1pRutFF aslnH6PwN03g56vphJ1/UUJ8929kfyD1Mk2XLFN92zsIYuofHikXjahbbKQc3ndPK26O x9CMfkE9cS6/dPSsLwre7IQPt6mXl3Bf2aM30jd+Vwy8AX+vone991ec27DHJb047han U/Wg== X-Gm-Message-State: AODbwcBveuhiESqOtmyl5U68zb4+RHDjlmYJNJVSRU2KVK9VLkuyaqeE OZaGdqOv8VC262IY X-Received: by 10.84.232.77 with SMTP id f13mr1086840pln.0.1495429266318; Sun, 21 May 2017 22:01:06 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:05 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:34 -0700 Message-Id: <20170522050042.42403-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 07/15] webkitgtk: Fix build for armv5 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Detect atomics during configure Signed-off-by: Khem Raj --- .../detect-atomics-during-configure.patch | 34 ++++++++++++++++++++++ meta/recipes-sato/webkit/webkitgtk_2.16.1.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk/detect-atomics-during-configure.patch -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-sato/webkit/webkitgtk/detect-atomics-during-configure.patch b/meta/recipes-sato/webkit/webkitgtk/detect-atomics-during-configure.patch new file mode 100644 index 0000000000..12836f28f2 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/detect-atomics-during-configure.patch @@ -0,0 +1,34 @@ +Taken from +https://bugs.webkit.org/show_bug.cgi?id=161900 + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +Index: webkitgtk-2.16.1/Source/WTF/wtf/CMakeLists.txt +=================================================================== +--- webkitgtk-2.16.1.orig/Source/WTF/wtf/CMakeLists.txt ++++ webkitgtk-2.16.1/Source/WTF/wtf/CMakeLists.txt +@@ -182,7 +182,6 @@ set(WTF_HEADERS + + set(WTF_SOURCES + Assertions.cpp +- Atomics.cpp + AutomaticThread.cpp + BitVector.cpp + ClockType.cpp +@@ -301,6 +300,15 @@ if (NOT USE_SYSTEM_MALLOC) + list(APPEND WTF_LIBRARIES bmalloc) + endif () + ++file(WRITE ${CMAKE_BINARY_DIR}/test_atomics.cpp ++ "int main(void)\n" ++ "{ long long x = 1; return (int) __sync_add_and_fetch_8(&x, 1); }\n") ++try_compile(ATOMICS_BUILD_SUCCEEDED ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/test_atomics.cpp) ++if (NOT ATOMICS_BUILD_SUCCEEDED) ++ list(APPEND WTF_SOURCES Atomics.cpp) ++endif () ++file(REMOVE ${CMAKE_BINARY_DIR}/test_atomics.cpp) ++ + list(APPEND WTF_SOURCES + unicode/icu/CollatorICU.cpp + ) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.16.1.bb b/meta/recipes-sato/webkit/webkitgtk_2.16.1.bb index 0931a50636..a52d93cfbe 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.16.1.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.16.1.bb @@ -20,6 +20,7 @@ SRC_URI = "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ file://x32_support.patch \ file://cross-compile.patch \ file://gcc7.patch \ + file://detect-atomics-during-configure.patch \ " SRC_URI[md5sum] = "d3bcf995a667fd9febb9ab991acf0ca7" SRC_URI[sha256sum] = "eb92383232328ce655b703c64370ed3795662479719ad1b4a869ed46769d2945" From patchwork Mon May 22 05:00:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100255 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86386qge; Sun, 21 May 2017 22:02:49 -0700 (PDT) X-Received: by 10.99.152.67 with SMTP id l3mr23546608pgo.97.1495429369291; Sun, 21 May 2017 22:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429369; cv=none; d=google.com; s=arc-20160816; b=txJWeRiSoISvw4kIZ1StOCPlrkqpfRSCcFTqg6twUk/NqwrLYgScAAal6n3BIr0LHS IdPIrnnsmLLO3lHPw+nKlzMWAzcCFXzNFV6+ZMRG/2UF3fUi0RR5a1CKoiOd6DVIaUw4 49Nphxp4XTuvNB7lpK1Sq8n6BSko+k8fn3K0c2L9QK9iA3eWvGEHk7yhgzRJtaSe9RSi Purtk4dAqy2+mFYlro7vx1z+3dpXZVSNhw1xPbP6DyHJu3SjMs/ri0s2r9fwnpynNOD1 ZX9kdZFG00y6b6lX508Vz0mcmT19+vaRoGGs7DHSen9U3kKe6vsJHNws1OcV1sUAYhcm M4AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=8r7hbv/G8a5oYYyW5rOlXmOFWDgdDrdWmi8v5bN7Zew=; b=NrmFMC3MfODEgLODRNUDHQNeEoi32+iO6rkxYpwrQD1NEYBpmLYlPmrixDw6cPG6oX cqkcug6hLWR/xN5PDLkQHpyGWcZtkWlVwh4dpAo9W80q2DVzH6gPxT2leUH2FFzf+km0 SKgfGyoNy2wMnNKDx3uPoIJfZgut9Bp9CZYIiyoRWuuB4Gk+15NEQzGP5CkyZJPemrTT hemzKTyt+t9Ssc8rw9bcRENBX0RDxMebhlKchgFkElPnJqjyPYdjFeZofHVe5VpLZdMF iOxj8hb7OM40zk7WrImI+9cFBq+Dz7+uPRozm78n380xu6i41B+JERn7Cth/mFtrjXWH wesQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 y40si15852194pla.289.2017.05.21.22.02.48; Sun, 21 May 2017 22:02:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DA3D377FE9; Mon, 22 May 2017 05:02:26 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 4222E77F6B for ; Mon, 22 May 2017 05:01:07 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id n23so17287722pfb.3 for ; Sun, 21 May 2017 22:01:08 -0700 (PDT) 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; bh=DMubrUO8VGUQlsqpJzGJS1j8gegNbogpVDjm8gTi2o0=; b=SEbpW1O++zdsGDFJVPym3+COtBfDH1iVh/iHA1gG3CslYgnweYz84xYDgSmenRN+Mc /cwc2GqtxKKfgMd98iCTh9bRsbHlneh+Sd2PXVi0yt+5zdEzKabTUBsimIJkm0ju9ifs V8Mttbu4EjOUFwCKyugKSASQdX3MYB4wBxHCKV8g+WNTbvlZmBln25cedMV+m8EUX9J2 gGis+uMA5dUYRIOJ0amQ6bqH3B+YE4CTIdI11u77Ghfo2ORChrFy/WG792IoLnU7PwvJ tTdMYYwxDeEB3sZtwxfgb56fvxbrg7rPxRTwEQhmqkz7aJMeGIFCBQGUrHCDlhhFxbsp tdQw== 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; bh=DMubrUO8VGUQlsqpJzGJS1j8gegNbogpVDjm8gTi2o0=; b=kuPJLJfpMDIlSfkndV7d7AXDECQgh1xhApHhmcaRCwMQA2+24/66X1mzKBLMVl7ca6 S67wQEbNgpMkF0CbQNPKw6COjDVax7uSCXTioBaU21H7ClTKHxIbpeAxYnzQBgoR15Vv Az65oZpCnbEYSP7RTFwhSFxCkLBBEczyf0ai0+eUZoqD0yyutRsWxSlf5oI379f+iqO5 0VhZh1J2R5CML8e71PS28qfcK8hlsuAxfoStbS8iCd2TUcl9o/86hjabY2dbAyHrz2sT MeoElqZxhLb7Loox7h5zaOqvqfx7w8+6JHK5HjgiRsGVdkhHgnWBeYDuEaIOQlhA4T+5 w3iw== X-Gm-Message-State: AODbwcALcOH/rMr3rQ3O6e6F/Sameco9dgj3FeVq52psmmljcTuOb/vf UhXHhku9ZXhoHw== X-Received: by 10.98.105.132 with SMTP id e126mr23033750pfc.201.1495429268730; Sun, 21 May 2017 22:01:08 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:07 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:35 -0700 Message-Id: <20170522050042.42403-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 08/15] xkeyboard-config: Enable nls support explicitly X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Helps compile when distros disable NLS Signed-off-by: Khem Raj --- meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb index d00904df21..d308e9b07b 100644 --- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb +++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb @@ -19,6 +19,8 @@ SRC_URI[sha256sum] = "d1bfc72553c4e3ef1cd6f13eec0488cf940498b612ab8a0b362e7090c9 SECTION = "x11/libs" DEPENDS = "intltool-native virtual/gettext util-macros libxslt-native" +USE_NLS = "yes" + EXTRA_OECONF = "--with-xkb-rules-symlink=xorg --disable-runtime-deps" FILES_${PN} += "${datadir}/X11/xkb" From patchwork Mon May 22 05:00:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100256 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86420qge; Sun, 21 May 2017 22:02:55 -0700 (PDT) X-Received: by 10.84.216.30 with SMTP id m30mr26754631pli.161.1495429375076; Sun, 21 May 2017 22:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429375; cv=none; d=google.com; s=arc-20160816; b=s9UX3Hcmrx8vsg9lpOL4/wHY9hoZPfo29BsG9hmIebZfkuXZDX4Awn1f8J/7et00fM lbAo37pIR1SElEC0XrznRlxjlaU0S6pGoLtoCllOMb7M7sPY55rimBPdK8BMq4EmSFn8 8cqrI080lD2OD4vVeMQuVUPQfjF/p99tElz87xkqR7fgOf23hUGsIfI1mJ+GmT80/wq8 y9eGz282w2SkA9Hf83iOV/DBrORjZWPIKrXVeZlXYnL9VNJVwQu+IIeiyd3/DLlt8B/M I+HV7pAGJMre2eDVpAkL65R99uUhS1+Fmf1dmTI6sYpaR6rQHRY3e+WRT6X+HHSuppZl WdJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=xYDf807Z6c11jUAO51F7F3HVTtAPF1OvUD6fkezqkLs=; b=fgqiNdb8pV6fsclL3okqYbS0c23EwPBWj6d8bPxDcdsbIRb7xjRkphpYRY384GzIdZ 4tVOclF7CI5h2GM1+Vz0lE2kOI1tQ5sbZlwpXnFzZ0w7kQDok6zHPWUTtTu0nF5qR+x2 7v+uhvtGFzVvVu3epUDIgM4O5rOCgbg3JPzyeoP9Ayp7VXTqRrQmv7hpBTekrHjrVhzH 8e51LMjObYB+ScVy6Q6rpkmw2Bex8qvhwts2OljAv3kDYCFoGJCcF1iaShofHV4hqEW1 d7v/1l3LxFU32EiNZ7TrozWRSdbK4VMJ8uAYtufEBQHGIZ5BqKfe/wvGDenY1Af4GyA7 inrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 m11si16414410pln.8.2017.05.21.22.02.54; Sun, 21 May 2017 22:02:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2117C77FED; Mon, 22 May 2017 05:02:28 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id D7C8077F6B for ; Mon, 22 May 2017 05:01:09 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id n23so17287920pfb.3 for ; Sun, 21 May 2017 22:01:11 -0700 (PDT) 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; bh=mEtgfpWTf2TWq/ksYE+EST1Ya6ifokvF0tQL6LUN7Go=; b=jenA+TYFKhi5Gl1/9V+DwN0ifk3+jUwfRlv90hz3yw2+HAVssjaSvdtPSTqt20LqEC H34Dwu+z9HQsw4QcMy/vWAHCgAZlinz27YEUNUwdN0S5MuNOouVuPyQViXjRxlzX6yZ4 stqsl/d9Dm5R+BWZaL/+tamJP5w4ZQfkWL0D7di04FjHYA4NCaS9RDD3wbSO/GgJr5h7 zTHeq4ipAHyPa34vKI2W0ExDgZ25ir77JQrrArrhWBfDALSBQCHOGmFGyw4M/2YOoKCr DoyrdOrg+d4iCES4Enj04TaL+5aJYbOp3XxMVTlgnhQrWx/R2ZLy1wFEJ4fTp0uHfDMT MbFQ== 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; bh=mEtgfpWTf2TWq/ksYE+EST1Ya6ifokvF0tQL6LUN7Go=; b=MRtE/TnLHzWahHMY+X9RXM8ypvuMkMrYTlZNeagPD4xBWtBmdHwM41+Jw3Fk1RXiwq cMGqudz1o6AQRNj0fX5HtnlWcfI6EuVQoB7DS09ywhlRGS7TE3cnubbmbKq2dUW1hx5w n5uTVlNcf9ea+JQioZXw0mv8ySDnfRUmESWxLbuCjLI96HVv21EWX7X793JAmQFBc+cb Vi1bbs+/4kSxc54kYNgs+RbJkQHIbkGdvz+YlF4nMc0v60ks5kxfljN4sXfzmCtDDrcN 046z8wr3U6KYvQu9De6RITYfruG2dj48JjQm4NkTTc7PDY39qVnuitxEKUfmAgRwR30C BBCw== X-Gm-Message-State: AODbwcDvvNsQmCb2kpxPwbdqQrzNDMmL7JgVw6LiHOPpW1u/uCVOWtcY m+9m/NsvJrZPgg== X-Received: by 10.98.28.202 with SMTP id c193mr23812459pfc.233.1495429270567; Sun, 21 May 2017 22:01:10 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:09 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:36 -0700 Message-Id: <20170522050042.42403-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 09/15] systemd: Make knobs for compiler specific nn, ar, ranlib X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org These are used with LTO enabled so it has to be compiler specific, making it weak default, makes clang to override them when enabled. Signed-off-by: Khem Raj --- meta/recipes-core/systemd/systemd_232.bb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb index 398cb46f0d..8c778ae778 100644 --- a/meta/recipes-core/systemd/systemd_232.bb +++ b/meta/recipes-core/systemd/systemd_232.bb @@ -160,10 +160,14 @@ CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', '' # disable problematic GCC 5.2 optimizations [YOCTO #8291] FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" +COMPILER_NM ?= "${HOST_PREFIX}gcc-nm" +COMPILER_AR ?= "${HOST_PREFIX}gcc-ar" +COMPILER_RANLIB ?= "${HOST_PREFIX}gcc-ranlib" + do_configure_prepend() { - export NM="${HOST_PREFIX}gcc-nm" - export AR="${HOST_PREFIX}gcc-ar" - export RANLIB="${HOST_PREFIX}gcc-ranlib" + export NM="${COMPILER_NM}" + export AR="${COMPILER_AR}" + export RANLIB="${COMPILER_RANLIB}" export KMOD="${base_bindir}/kmod" if [ -d ${S}/units.pre_sed ] ; then cp -r ${S}/units.pre_sed ${S}/units From patchwork Mon May 22 05:00:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100257 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86449qge; Sun, 21 May 2017 22:03:01 -0700 (PDT) X-Received: by 10.84.211.150 with SMTP id c22mr26608865pli.96.1495429381243; Sun, 21 May 2017 22:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429381; cv=none; d=google.com; s=arc-20160816; b=G+mvKuaMd5+YAUsIISmEi7h1ufIQh9C9QtKhTXX/DQgGvJ3hMBWFGMcnbkHHPSaiKp ZyYdGAhBmgvqQDcaZ/Q4rLCfMKrND8ouxDOwNgv5PxSpP1+m3uBuzKtedE1x7N2w0sQQ IC7bVsApm/EuN6r6z9KKMDZ9OOB87GMwIHKY9+Kn3kxWBBkD5PYRauV8pYGq39xuvLS7 rRVTRopzGGQ/RmgSIGSzZArEdZa5A4yhZCr2mlgP1meiZUgRgPIkLlVf5pj2f1LS/I8x n/0ycTUqyaS3RgQjzL/GQqVH7qRFq/gTWv4sjbsASrFQ8/NT774ZqRuZuT4i18fp4/63 tz1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=eA/Df3nzGnQgEtpf1mZat5lOzI3GioezFF0HMrdSjPs=; b=0LouHySwqgnRvmuTuEtd1Wl92H39/27GXOsAq/6dODObS4h/x538CL4jQIBbjgltsc aVKRw5uMAomY0MsoErlqURmAtSwpdFIsNu/O/W4OLHLrT3vIYkstoflkxLbUk9qwuRIn A0H1Pa2pVHqggUYSETD//1DlwIyttbFttVPy7Sa/+NOgRt8S3LE/z08TNK/LmT3W4BLh wA7Z5zeIEs6OmqYY1JsljBt1YLVqWftSogkHeHHOR89qXpks1eKYhAH3ITIVcfZuoRi3 zvmvtjzvaDCHhU2AfAMoCFSZy9oj2x1WaNrUxqqTVxwKXNOpKP77LbgUAVZ0in6x5uF/ EI8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 3si16166639plm.40.2017.05.21.22.03.00; Sun, 21 May 2017 22:03:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 39C5377FF6; Mon, 22 May 2017 05:02:29 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id AEDCC77F6B for ; Mon, 22 May 2017 05:01:10 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id n23so17288137pfb.3 for ; Sun, 21 May 2017 22:01:12 -0700 (PDT) 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; bh=G03xFQ07IDJFvKD3/2ew68olH6xBK0bROKPYhWvciDc=; b=kioQkiQD91gduiRl2moD8brxz1LxYgAY4lDt06IdpbqfdNijIf4YfDoHNYq58dPmSS yrdDe6cXoCFi+Ed/elCIwwsYMIB9/KZRC/HaF5nId68ggpM7wLHH8jKAfRURPLSnPYFa rqFktASTvJL7cyqYnL6pNXC+pkjUX5wwUmhPJrT+B2lcMHZe0AmHDxu2ksIFIqihYD65 0TQ06fPBA8UKwBK+ymDWSB3p9+iTlNJosdkBJHfnwlQIk/vCKgsjWK9ftJ763nwSuKoV Ue83130mk63xw0MPQU8Cg6V0Rq5m/IP0bQ7bIabnlveZGVhJGZKwsiD2QcP+tG205rJa 5QzQ== 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; bh=G03xFQ07IDJFvKD3/2ew68olH6xBK0bROKPYhWvciDc=; b=Y3NMM/XYF+pCjdE6Y+UgjfAfgiKJlzpkxIxbSyyEE7w/UAoESpHci5lpryBPioxvBP k7IUzWb+FT3Wzh0xC/yJJ6o54SB8BzwiPfNaVnJipD4n5zjGqTXSWazG7BstomzlNoHL 5vEbU+kZh8S8Xj0G1skdEYTHFJJIfnZANDg3EXIsdFuyUSizEPsUWPhBpE+YPTsOWAk/ itVpDVGNpb/fpUlIwdC1q6N1lQPaWNedaW2PDPC08Xmp+gLtPEn2Oa5gEcYSvmpGt+3h khn9B9njdIwMxGdhg9RtPLuWYkS7lERrJ6MFlJOL+fieYguBpc/w6ooi3ZxQPI1g6oDX c1OQ== X-Gm-Message-State: AODbwcCGKaWCg21OWhdJZ0o93VBM4lDSnkDUgKDVX8lrpt4FG/AofH0T Oc49YrHjXfDoxg== X-Received: by 10.98.111.133 with SMTP id k127mr23185472pfc.215.1495429272038; Sun, 21 May 2017 22:01:12 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:10 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:37 -0700 Message-Id: <20170522050042.42403-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Fixes errors like libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' Signed-off-by: Khem Raj --- meta/recipes-support/db/db_5.3.28.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/db/db_5.3.28.bb b/meta/recipes-support/db/db_5.3.28.bb index 26065bbb0b..bbf52605f8 100644 --- a/meta/recipes-support/db/db_5.3.28.bb +++ b/meta/recipes-support/db/db_5.3.28.bb @@ -72,7 +72,7 @@ MUTEX = "" MUTEX_arm = "${ARM_MUTEX}" MUTEX_armeb = "${ARM_MUTEX}" EXTRA_OECONF += "${MUTEX} STRIP=true" -EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" +EXTRA_OEMAKE_append_class-target = " LIBTOOL='${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool --tag=CC'" AUTOTOOLS_SCRIPT_PATH = "${S}/dist" From patchwork Mon May 22 05:00:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100258 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86473qge; Sun, 21 May 2017 22:03:06 -0700 (PDT) X-Received: by 10.99.119.7 with SMTP id s7mr22673885pgc.143.1495429386245; Sun, 21 May 2017 22:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429386; cv=none; d=google.com; s=arc-20160816; b=aTG/vhNB2LmUMaILGmSsJwOVxh6SfiCkfzlsKnr572ikQ0uQ3qV2sIaIiPzgNVEuym tDPVMS/tYaK33/wdtAHiIjaWtiuCiuPAZbY0r/pLVQz7Ln4Ps9tTKOUrHLCmVuiwqKsM XEHLLj8EaQxXU98uLTJ0/UULCP6qQhe8zFA3LqQbeyb5Qk1DUFYdTA1oA33Zm6uAtJa0 BlBAElcotfgffx89NX5iHPqM1WcBLS08NcP60OguQShTtdv1nOc4tYN73HTCPSNomL57 vNQcSYYhlTGi2NtCFFqGjqLFQv+t5mAi9+i3K4ZBhKLUaS8OAzfx++Giwl9hgHGO81Wq wV9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=v6kzHiVO7AvZBRtxn2wT4iZXza83pHff94G61cXMktc=; b=0TIpCQxJTlOAonRCdJ2Mve93CKJkb+JmYse/DMgiz6m69mVOEqpra1JkUNiems8Tin FR+6q5lvmXjN1W1QE1PjOjCjioxsVfpejjhbDIycfAgBsFYEoby4N7xzX0SoER7m+6AE rDccBmtaoAbh7AhKDRo8jsvmkyGGGi92Ah7EN8D2ub0LGgKESMFr2YxB8MmsWMDS/H7u 1hS/vs61S2V6Aya75iYCFjVntjM+ONszjDCBH9LBcMcfvp805feA9+59s6NqI4tQPgmV F36KZyuLRkKs/d3Tfhnuckg/yrkxdmfgrRm0CsQ0Vc/8n4JboKV5CF4DWzrjovxkyduC 1BvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 p14si16020623pgc.77.2017.05.21.22.03.05; Sun, 21 May 2017 22:03:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 31D5377FFB; Mon, 22 May 2017 05:02:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id BC3B177F80 for ; Mon, 22 May 2017 05:01:11 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id f27so17306464pfe.0 for ; Sun, 21 May 2017 22:01:13 -0700 (PDT) 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; bh=lQYMiEWnecITkdmN1fJyTrPTtv6mZd04neZwzJ/BD8Q=; b=E2K2CUEBskfoBldurO6BZShqEOlEZ+7bNKd2y6qFxIFMhFMSNPcKvg1tR9pf5gBC6r FKAuRyKX5HSO/LKHpkLt/3NukG4CTaZ8u6S1qSKKvBk7JO/+oOendoA4sCe9GtKPxW0Y aHIq2cRYhd3QC2aQ8jyiOYLDIBQaDwj7NqmOC80QWuIFKGo/oc9Ps0hCJQWGob6vV3D8 Xmn9iq1GfwT6fM26R6MjP1QGFJTv8pYB9djwfLpCTdTPtf6G/IgotF2jo8SCmDyc/uSJ cb4/n2cgPCbzongm9ZcOvuvF+q1DuA834NIci8Jkgbfc1qB0zbPynaE6Lho4c3dK37za yaiA== 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; bh=lQYMiEWnecITkdmN1fJyTrPTtv6mZd04neZwzJ/BD8Q=; b=HaEVZkle4rwMSgoe75PfEVnAW5GLm5fZuYnCDAslpel0L4Z21vBegKeXYJYfw2jy8V k7AhTajIJuA2EpwDz4ylFNBU+X4HYM21xCG2KGssiEhHgGm5IMhb8i19oi3L47CQMTZD BYAnklW0zgPYQ16fg8HEruyrPbCm2LatBzK3YbuecfedJ8RlZZQjwylswGajKmqAl0/H B0InCTUY1mdTuMRBKVAT2NwOsUUWPy4/GXmNmZoIqysQQivKYoCZ9KiTXeaCLUxZVvP+ o4KA3I7UXfTX8Q2GPcThYLVcl3l2PyxiiOGL0t7V1lylFCPEwu6EVVP8QpFaoPMwrt6D SQGw== X-Gm-Message-State: AODbwcAvLRRDzQnk+BNpVisra8f/N/7f226xdocJ0/fHh73dO34trCeT VszrDT/SdeTkDQ== X-Received: by 10.98.149.154 with SMTP id c26mr23687690pfk.37.1495429273395; Sun, 21 May 2017 22:01:13 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:12 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:38 -0700 Message-Id: <20170522050042.42403-11-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 11/15] linux-yocto: Enable drm by default X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Helps in running XFCE on virtualbox with HD Signed-off-by: Khem Raj --- meta/recipes-kernel/linux/linux-yocto/drm.cfg | 10 ++++++++++ meta/recipes-kernel/linux/linux-yocto_4.9.bb | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto/drm.cfg -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-kernel/linux/linux-yocto/drm.cfg b/meta/recipes-kernel/linux/linux-yocto/drm.cfg new file mode 100644 index 0000000000..5c694ccc57 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto/drm.cfg @@ -0,0 +1,10 @@ +CONFIG_DRM=y +CONFIG_DRM_TTM=y +CONFIG_DRM_VMWGFX=y +CONFIG_DRM_VMWGFX_FBCON=y +CONFIG_FB=y +CONFIG_FB_CFB_FILLRECT=y +CONFIG_FB_CFB_COPYAREA=y +CONFIG_FB_CFB_IMAGEBLIT=y +CONFIG_FB_DEFERRED_IO=y +CONFIG_FB_MODE_HELPERS=y diff --git a/meta/recipes-kernel/linux/linux-yocto_4.9.bb b/meta/recipes-kernel/linux/linux-yocto_4.9.bb index 309d4a7a4f..011ba3bbe6 100644 --- a/meta/recipes-kernel/linux/linux-yocto_4.9.bb +++ b/meta/recipes-kernel/linux/linux-yocto_4.9.bb @@ -26,6 +26,8 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.9.git;name=machine;branch=${ LINUX_VERSION ?= "4.9.27" +SRC_URI += "file://drm.cfg" + PV = "${LINUX_VERSION}+git${SRCPV}" KMETA = "kernel-meta" From patchwork Mon May 22 05:00:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100259 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86499qge; Sun, 21 May 2017 22:03:11 -0700 (PDT) X-Received: by 10.84.143.36 with SMTP id 33mr25984169ply.45.1495429391122; Sun, 21 May 2017 22:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429391; cv=none; d=google.com; s=arc-20160816; b=hZiwkjjPObEz/SYU+Syr/gD2lAm7PT7ujREsp2/O/3vNY+TbzFPHATlIqMsMB3sYFD ZiL4St2nsKz94tCH+wQ/hpiphAv9WcIrKcoz0PZeR4LZgETywrXH7TOoABC/Ybhk3mW6 PJ6sdGqdeXfYYnlwF/72WqbZelboW/uKe+MfFR9Rd9/1G41rdJmKKx3dHJdUcUlZhrOD nKr05jHeJ58BP0pIxEpQFGOIx8b1mTsAPGBqKfPYPJySY+xvipDQP/ocPE3sljzgDrUY CwYFy3Jx05o/d513vckOc7wvzixt+yVFb5K17NbZtB5blYc7GbG4070iCzj+/ZSD3kq4 FUAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=MTYDfsYJ93ninoxIJQWMQnYnY84pAPQagoFSoRzq45w=; b=rKY/0rNA26qoSOQWDvdsi0iK1oIlJiCh+wkX/P+fWr7qu1f906Y7kDmOp+UGSwNnME Ol1p3UPDmxD9jkx8KuExoQOTdsfW8EHRkkDNlGiFM81DfHEJpWnO//LvedAYAkU1SK8W KgvtdopuYzCANyQDF5nHB+ilFrKuhcBuzf+abY+JXjHO1T/UGNZ9WIe5SVG56/gL8hOQ PGYkaaGoZDV6WawPOBOOYAY3djYGHn3fFZdZRi9OQ4S4h+E7haaHkezVVHTHcppp4Ko9 QLke/5tWbLAg4PrIvxgtTZALQ2aumqEEKlH+OKL3xYb3JdJv/99Jlj43yDeIrb35/6vu IvVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 b2si16334335pgc.211.2017.05.21.22.03.10; Sun, 21 May 2017 22:03:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2FA2B78000; Mon, 22 May 2017 05:02:31 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by mail.openembedded.org (Postfix) with ESMTP id CB38D77F6B for ; Mon, 22 May 2017 05:01:13 +0000 (UTC) Received: by mail-pf0-f180.google.com with SMTP id 9so70335115pfj.1 for ; Sun, 21 May 2017 22:01:15 -0700 (PDT) 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; bh=iD9xd2Q6bUYlxvX5U5OAWM9+X8m/RZF/JUNmo5otjMQ=; b=lY0iwT8QfMYC1VbbaYSAoJPqZiCmPHpxZr/XBNUSGnJwxbFE5fJJQmfmtWUMFms3i5 5mpLXQAz6vasSAiZOcS2wdVUGeKwXaL850ex50tWqJbKVNy0oChAZY5fR2ZX1dHDAJnU FGKH+cjvZqBKXBbqAiVPzAgMlnvXmm1K39pMTU/h1ZpWhks4ie4xksLlL7nT0qa9o3EA C/H7M0ugh2V2FcgtrFvsnp5oZ3889RNqUw1y7GRc9fK5Mbm+NuEXr367usvq1zvBgC8B 4QmkkzPxd3YNEBtI3VetnmQSw9q9k0mVXiBBPUViyfxc+YWYp6S5+1gE5YazglwGSvO0 +3cA== 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; bh=iD9xd2Q6bUYlxvX5U5OAWM9+X8m/RZF/JUNmo5otjMQ=; b=uLd50jRDDN4mG96pd8PHshNefLPMscBSuMrSLOD5nj4aV6dWL7Wt6KAKCQo2fEvFBe WPpnF+FIOoXiaofVd2C5afX0EgI521KTztiHvm3vIkUhLCVtrIIIayw6jLGlSbcTnC+O X7MUkOikxC/83ecKznTdUxS/lEE/0jbrh70pJpyHZZiJjISLnGz6jxXsQLfX4b5y8Uhz Di8s+fjGa6T1yjNqLl3XP4AodoIS/M2kuNQEqAGrxdhRFOakM5XQj9H7z565se742PUA m+CG80E+AM59DO9bnk2PFnKhjAW8F7UjInqwdsyN4w6qYyRcahbDXwK3gziqLAz4d90D B5dg== X-Gm-Message-State: AODbwcBOUm88H64SpuZ9JOeaFxoxE49jXQ9uK14c9Q9Ij1GgptcnAPMS M2VKadNslgmz9w== X-Received: by 10.98.218.72 with SMTP id w8mr23039478pfl.155.1495429274923; Sun, 21 May 2017 22:01:14 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:13 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:39 -0700 Message-Id: <20170522050042.42403-12-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 12/15] iproute2: Fix build error due to missing stdint.h> include X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...nclude-stdint.h-explicitly-for-UINT16_MAX.patch | 32 ++++++++++++++++++++++ .../iproute2/iproute2_4.10.0.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch b/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch new file mode 100644 index 0000000000..eb0c0abbab --- /dev/null +++ b/meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch @@ -0,0 +1,32 @@ +From 3c885d87befc706bb923933b9819de6fe2de897e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 20 May 2017 14:03:19 -0700 +Subject: [PATCH] include stdint.h explicitly for UINT16_MAX) + +Fixes +| tc_core.c:190:29: error: 'UINT16_MAX' undeclared (first use in this function); did you mean '__INT16_MAX__'? +| if ((sz >> s->size_log) > UINT16_MAX) { +| ^~~~~~~~~~ + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + tc/tc_core.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tc/tc_core.c b/tc/tc_core.c +index 7bbe0d7..821b741 100644 +--- a/tc/tc_core.c ++++ b/tc/tc_core.c +@@ -12,6 +12,7 @@ + + #include + #include ++#include + #include + #include + #include +-- +2.13.0 + diff --git a/meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb b/meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb index a050e8737e..063d467440 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_4.10.0.bb @@ -4,6 +4,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \ file://configure-cross.patch \ file://0001-iproute2-de-bash-scripts.patch \ file://0001-libc-compat.h-add-musl-workaround.patch \ + file://0001-include-stdint.h-explicitly-for-UINT16_MAX.patch \ " SRC_URI[md5sum] = "b94a2b0edefaeac124dc8f5d006931b9" From patchwork Mon May 22 05:00:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100260 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86522qge; Sun, 21 May 2017 22:03:16 -0700 (PDT) X-Received: by 10.84.232.76 with SMTP id f12mr26853869pln.101.1495429396592; Sun, 21 May 2017 22:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429396; cv=none; d=google.com; s=arc-20160816; b=H/aywDAI4VfvUmFG2h2K547dhVs6I8aQj9Xz8hRwuECoe6H/wfRSfv77d0O3XkKw44 DBG7GuGJaSuCKEoX0HCLzVo8U3E1uCbf3+y2pHEp4CXTHPOKqFfNptIrbjF16BAcRCal QXWucosBObt+M4NFjSYvXwWQzgoMDeAMMR/RcYtAEVlzBzQcsfo25U78WrIIwtRGTpdd gMa+QpyxLIZ7euACpKjf4RSmMJOn7Y3R46/ewuowaw4hYZW1Y0wZ3YA4/su9vLEmgXhe 3bR8At8+1I+z7nvCAf7ldQm4LnVrJyCTk7yaWabLuZCWXBBM8F3EWqgg44Gsgbj2AA5U 3vBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=W+q/02v6zlNlQMfg/f4zrtoAlrOH7tJRo5+OE9rt4vA=; b=xOHGYG4CIwK32qYE8b6dSLtn49NVK0HfN3U/OQGl6jajWM3tQwMn5d58sKxVmTH6qF LYUHACtCkZcWgQnTUwqV+7ZbcYHdBKXnCLHVFZwznG1drlttoFvapAjhrLr4MtxzDtGr E6LbIHZTcDNb8u8p+bmUhNsZQInNLm8qJCH20mMWdcN6QwPgRhKwHtHJT5MY16k+xdcU DZKX/3rUlFk/RofWPSJB0xcLODS/QgWwiKUMWSqOv+uckr8X+cCz9SKcUBGLP+djZAzK nfFpihfhED/XCdwIUbVUEkHwaw2+bQzqz8s63SyyaIyU/ZZ3k9nJPTQwVTMxKDTCOfpN KT2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 c2si16318505pli.7.2017.05.21.22.03.16; Sun, 21 May 2017 22:03:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3250878044; Mon, 22 May 2017 05:02:32 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by mail.openembedded.org (Postfix) with ESMTP id 0F38877F86 for ; Mon, 22 May 2017 05:01:14 +0000 (UTC) Received: by mail-pf0-f174.google.com with SMTP id 9so70335691pfj.1 for ; Sun, 21 May 2017 22:01:16 -0700 (PDT) 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; bh=BPi6W/SyTjvEb9moU+4djUY7BBq+FUZgfXF/U7OwOJ0=; b=tV9C0a3+2FleGprvZUf4jAIw+IG8vc6MHlWQj0FmOFB+4oEyRhrk/IFSsi5odbjs4X mubILOHIoZwycHS31eQVrpA6yt0Yn1OHMDOTnEtz5T/BPhbtTeAT4WjWyLq2dtUBxdT6 aFHuRwfRkMAf2cUs6M1UqzJZX1jNAzCaP5WaxEhd50efft0QfP9nsdeqbdNUoYpWaPWl H3A8AgBLuVRoKVe8gj+s+bGTIby3iilX3+qE/Y2m9aCJ9xRsjrsGEVffGqcImKmCk6Y+ aeCa1acKa5QWtA5E7krIals7a4RnEYqD/UqDbRIbipEMY+iU2fNjzwK+0GqNsj3sTnlP 41WA== 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; bh=BPi6W/SyTjvEb9moU+4djUY7BBq+FUZgfXF/U7OwOJ0=; b=kEKqzEaDkus+LWTPwi8fsFFXjjdGXsXZYS5ieSacpZxXlDvExQshDzmyGwDR/g4WoU uq8xk7kvXO5QLmn0LoYXXt50U8k9XwUt8N/mdZb7gG/cnHuCiPALAIddYnj7D/GAilXx i3tx27cbHIgCjGFPJoqifxvAxHLmekzBuKHezuJ8Hd72OhFKj/sFksfK7dYBcRgW7706 Y8t+7az3J+9dgpk3qWvatUyzzdZtL72osznTYIi0Eg+rrYM+R7XWTaN0hE3dZTWfvcTA DUxwzn/TfD44F/syRrasMPgNIqOq0hRwPAvZTd6wWfiMempthvuzChFhQD9Ii4KXENuK 1ufQ== X-Gm-Message-State: AODbwcAwNUMczF2/NgG2LIduJF3G71QYRSbqEwLol4bzqMbH4m3zHt5D fHP23V0nTH8cJA== X-Received: by 10.98.245.155 with SMTP id b27mr23209137pfm.181.1495429276449; Sun, 21 May 2017 22:01:16 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:15 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:40 -0700 Message-Id: <20170522050042.42403-13-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 13/15] nfs-utils: Fix build error due to missing stdint.h> include X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...nclude-stdint.h-for-UINT16_MAX-definition.patch | 27 ++++++++++++++++++++++ .../nfs-utils/nfs-utils_1.3.4.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch new file mode 100644 index 0000000000..235a2c76fc --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UINT16_MAX-definition.patch @@ -0,0 +1,27 @@ +From 36b48057bce76dced335d67a2894a420967811c9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 20 May 2017 14:07:53 -0700 +Subject: [PATCH] include stdint.h for UINT16_MAX definition + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + support/nsm/rpc.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/support/nsm/rpc.c b/support/nsm/rpc.c +index 4e5f40e..d91c6ea 100644 +--- a/support/nsm/rpc.c ++++ b/support/nsm/rpc.c +@@ -40,6 +40,7 @@ + + #include + #include ++#include + #include + #include + #include +-- +2.13.0 + diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.4.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.4.bb index 4ca9ab2a3d..344695212c 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.4.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.4.bb @@ -31,6 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x file://nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch \ file://nfs-utils-debianize-start-statd.patch \ file://bugfix-adjust-statd-service-name.patch \ + file://0001-include-stdint.h-for-UINT16_MAX-definition.patch \ " SRC_URI[md5sum] = "54e4119043ec8507a2a0e054cf2889a4" From patchwork Mon May 22 05:00:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100261 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86537qge; Sun, 21 May 2017 22:03:21 -0700 (PDT) X-Received: by 10.98.34.22 with SMTP id i22mr23732640pfi.103.1495429401573; Sun, 21 May 2017 22:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429401; cv=none; d=google.com; s=arc-20160816; b=X0Cn6xbtOacI8hDdIKiyyDOX7522e3dbmplnfynhbshYUuIgsF9aL1kTorXnnhWz1v Vv6swKlDp6tJoBDs9mtwFd+JtUCvsttJWfIEzLniART4nGk+7OFifZFQm9FnSxGy2j51 7t6Sd+CdDMd7gVwwS4A3vN2GSSkWggjHhlOZ6GaCU2yzxlRXIxcSwcLkIQF08SLTk3gZ r6ldyc4Gm3Lo4TO5NCxy6ojDqwdWRvIjTUs2f3uDwwMID1t9K2I8zi6weidvZuRx3tzL yTWSNt3taLO6dRKgWJfj6lnQ8vG2Y3hrwWON2dUUCWWXaATrGL7ks3saFPYeKS+w2do3 Qt8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=KaN+F3IGPE+9iZAfXPKT8CW9yV9ASr166NwQOGxVusI=; b=Yb51sKjr9rMITbuIw3/f/0R+5FJ6jpIRpwYcp6yUcwtcMsOPoK4xFHiokx5QdmLe+W UVhLAUkN+VEWe2NlE75f9fFp9qVCih7xfYaijcfS1Hg/D0FXQOxDL12czyREsgoygZIw fwrIweCxT+BcwVc4OM2fU+Rrakj2ZuWcxBMqaisNx/43KOw2RExn0s2SmzBG4llXBmEI Sc/+n/zrQZG0RiZH4HmIRcEtGkqqznQB3K8jKPl8HPW1LbiRdYh6XLvQke7P0IvRD1SY p/Rczyg/FvLWBa7WxDo8b2I6tpq9eRvWQArt6lXkfnCFSk77xUsE/TDIka0zzqBgkFop fuEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 1si16066628pgo.200.2017.05.21.22.03.21; Sun, 21 May 2017 22:03:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2E6DB7804A; Mon, 22 May 2017 05:02:33 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by mail.openembedded.org (Postfix) with ESMTP id EA95177F6B for ; Mon, 22 May 2017 05:01:16 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id m17so70268660pfg.3 for ; Sun, 21 May 2017 22:01:18 -0700 (PDT) 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; bh=vcIQ1C/QbV50bGrAHpwLbFhMmX2uGtKOPnK3S7ru9k0=; b=LewRxnsFl9WBTa8p5Hw+yoNGjiqjuoYQHdbrVz54DKrNSHcS1EDes9KO9FI4o2Cwc0 E+9eGh5NjxpezPgaisVjLlqiBHfbirWaDPG4BBLJRw9B/H6R8O19dVTO9F89yb6b3OW8 ZuU0RAlulkSRaRfy8ZsrMxsjZAWkvfoz+Ow6QNV9/knlDdoGW4Z/nOvU7BVNgO5At/aF U77NvV04gXN3arP5bWRSCUHhb1zjUyoBqwH0P9lPrCuv0O7rNtDmDEdXB8vuJgcaQ0aC GxfVMJ0wQynht0eg3rv11wlwwk23izp6iaQLNbxKTaoRoLRDHvfayHzvTTJ1HQyOAqba UvrQ== 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; bh=vcIQ1C/QbV50bGrAHpwLbFhMmX2uGtKOPnK3S7ru9k0=; b=aPCDy9/d1dibbTBTvzucXZ7n0ECeSqjdSumrS7paQmCWnlIMyi2Tm6SbCVv0YAdaRM csho+t/LDZRxORBmMM7Qk+pOipHPYC6vqAGIjxLtlJ6GEJqJ8S4vLEAmbkx984yNWsxe HB9q1xhMlpv/YakBn5js91Bua987W16RHJo0kU4YDtq31lrinhNU8bpDuGotMmj8jJSd W1JAvs0bAom7i5r0S9XMXApyGYr7pxTe7aZr76xzg9FJt3cMrdYxZew+lM9lJ0vhwNwQ wcqWAxvArdvks+/EPXEt7XhYl2o9gctfy/ELvHz7bk8EOjgwPoWNm0DcH3XWMhH+hYIz B2vg== X-Gm-Message-State: AODbwcA0jUcUwSQSCYP2Pcg7j26XFPhUvmMRGNG3OQwAXHTFBc58MmkI ywir5A2di9LMSg== X-Received: by 10.98.138.150 with SMTP id o22mr23196881pfk.120.1495429277920; Sun, 21 May 2017 22:01:17 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:16 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:41 -0700 Message-Id: <20170522050042.42403-14-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 14/15] libtirpc: Fix build error due to missing stdint.h> include X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../0001-include-stdint.h-for-uintptr_t.patch | 32 ++++++++++++++++++++++ meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch b/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch new file mode 100644 index 0000000000..1fe9833afe --- /dev/null +++ b/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch @@ -0,0 +1,32 @@ +From b80d3b573c1dade2b29b22f8acc3b9e2c7ddefd7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 20 May 2017 13:36:43 -0700 +Subject: [PATCH] include stdint.h for uintptr_t + +Fixes +| ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'? +| if (len < (uintptr_t)xdrs->x_base) { +| ^~~~~~~~~ + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + src/xdr_sizeof.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c +index d23fbd1..79d6707 100644 +--- a/src/xdr_sizeof.c ++++ b/src/xdr_sizeof.c +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + #include "un-namespace.h" + + /* ARGSUSED */ +-- +2.13.0 + diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb b/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb index 662c8999c2..5518fb3c78 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb @@ -15,6 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2;name=libtirpc \ file://libtirpc-0.2.1-fortify.patch \ file://export_key_secretkey_is_set.patch \ file://0001-replace-__bzero-with-memset-API.patch \ + file://0001-include-stdint.h-for-uintptr_t.patch \ " SRC_URI_append_libc-uclibc = " file://remove-des-functionality.patch \ From patchwork Mon May 22 05:00:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100262 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86572qge; Sun, 21 May 2017 22:03:27 -0700 (PDT) X-Received: by 10.98.213.69 with SMTP id d66mr23052268pfg.88.1495429407433; Sun, 21 May 2017 22:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429407; cv=none; d=google.com; s=arc-20160816; b=b3Y2KQtMkKx1pKQUizW69nXnwiDLGjFCZ2I1W87dVwvASHfyFFIP8foyJbdal8aFlZ e/rlTtZmOtQKlm9LzWjDyPiztw3n/3QLYf3jb1b+dpO/YrnR81ke/KXknbzJ/P0tvNtk l9zauiWSGXnIJRWiFywDnZTZejs0RzI5Nt+TQbx3gIUlddUrlM2uzAveaG9aq8GufWaP FVUhD7v+XcSoWW+iUviiaqMngxWIZwWb0h+oIjZDizzPtdyO7+YdGvEka153wtDrAEJB XiGKpTEk4pazzh5VXqzjE3zxbgcdizggUC5jIR523QncL7P5uWqpH0tGd2kdIgFoCYlG SY1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=G7OYhDGwwxA5Y5P8Tj2ezeOPi9ZRrjJSDhsYWvj3GKY=; b=VL94CPUivLB+kNfBjatg/GDladoAraVqY7kqmj+HcaJfAVjVZio0UtWnJ0RQ4bipWq BNkkq9SSHEfrCfX9a8D2NQ+p4EveK10lax/siSpnEEmRoT5avy28j2b+aLWnT7GiGklz 80qtiQaoRRqnVoDY33neTGrmKhHM8KDGEv0gEZxTLLiiNRcy1JOUCdGqsRNUQBhrilsH VA0BYMfgZmc/X8y15h1yvvvpechSa9aQ9uIKp+y8FZxk0d7rRao/q+2jj58jDtriqAH8 eQJsCtri8mSfajckb5QQOg+208Ni0L9Vnp6F1qrNWVD0AWGJ9FXWfrvSWV4cE0AINeBP YOtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE 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 g12si16181197plm.327.2017.05.21.22.03.27; Sun, 21 May 2017 22:03:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 24D9E78059; Mon, 22 May 2017 05:02:34 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by mail.openembedded.org (Postfix) with ESMTP id 2654977F6B for ; Mon, 22 May 2017 05:01:18 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id e193so70358389pfh.0 for ; Sun, 21 May 2017 22:01:20 -0700 (PDT) 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; bh=m+LAqVQp8kxx2WsJwhcTdUjXPFALK2CoNkfJRo9pSfU=; b=hABkE3UFEYmdoOAtP14zEUtunSQdEhrRNdunKCvyMKnxw1zlG+NKt4ZgIkA2DKKsEx 9LlJTVbpDF6pjzI8xdB/t79spECuM9r+9qnvwzGxvFwNz/GykcneK0ou9FUN+1tOzJps fgTpR1eE/b5DBIqlBlVtzQVg1CAWBd6IF2O/bHmlKufF05HExxpdojktYekhy7f2FT4q QpZgpLUO2Iozj/Msk70iOpf52D0/SfovGMrFyR4sJhmJuDKAOB6hcto3PUiSj9o/W/7i SE7OnRAyhxvNIf3xP1cktmKGHUgOXyHRVYIu2Hg4CwR4ELfX1yFueXzNyLZLOPxcQAk+ 0DEQ== 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; bh=m+LAqVQp8kxx2WsJwhcTdUjXPFALK2CoNkfJRo9pSfU=; b=DkdJYQjATRms9E5kBFPNnY1QLviSZwYZSEMmdF3WpPiyQIJy8H9pxpn1522bWVfTIE El0pOPoAQLBc+7HGv/0uJzRfQOOypp45oks+O3N/YY80bwdOUCOQHBNm4JK0R70ogs7C KT0EQEK9yOBknxz0ccl+WUjoW8qy4cJYYBmqJoovhD39MaPtb9k8YY0unKSfwa8r7w74 x/l3Xz57sn1UJmwycbNHM+72AR+xYXnlBy3hycvqraPEm1adr9sSIOK67fmRV8fP6x2T XGWfypQGiBK1/UuxSqMvYI/RyjuC7Z84o3qmYPVd9f+6IQf/yPzqHF+nepAtVJJ+HEkT phLQ== X-Gm-Message-State: AODbwcA/6mnHw5JcnA7qqlB5E46R/ORwqsUoJcj5mHia0hX6Fb15Hvcr A7TF3wRw5dspHQ== X-Received: by 10.98.133.145 with SMTP id m17mr23515666pfk.164.1495429279700; Sun, 21 May 2017 22:01:19 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:18 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:42 -0700 Message-Id: <20170522050042.42403-15-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 15/15] nspr: Fix build error due to missing stdint.h> include X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...int.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch | 30 ++++++++++++++++++++++ meta/recipes-support/nspr/nspr_4.14.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch b/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch new file mode 100644 index 0000000000..b3bdd8e08d --- /dev/null +++ b/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch @@ -0,0 +1,30 @@ +From f7551ec58e2f0a892295e0c2a650083101e12c54 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 20 May 2017 13:24:26 -0700 +Subject: [PATCH] include stdint.h for SSIZE_MAX and SIZE_MAX definitions + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + pr/tests/prfz.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/pr/tests/prfz.c b/pr/tests/prfz.c +index 0c5a432..9c17590 100644 +--- a/pr/tests/prfz.c ++++ b/pr/tests/prfz.c +@@ -10,7 +10,9 @@ + #include + #include + #include +- ++#ifdef XP_UNIX ++#include ++#endif + int + main(int argc, char **argv) + { +-- +2.13.0 + diff --git a/meta/recipes-support/nspr/nspr_4.14.bb b/meta/recipes-support/nspr/nspr_4.14.bb index f5ce91c754..6b47820c06 100644 --- a/meta/recipes-support/nspr/nspr_4.14.bb +++ b/meta/recipes-support/nspr/nspr_4.14.bb @@ -10,6 +10,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz file://fix-build-on-x86_64.patch \ file://remove-srcdir-from-configure-in.patch \ file://0002-Add-nios2-support.patch \ + file://0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch \ file://nspr.pc.in \ "