summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-libc-headers/x.mbox
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/x.mbox')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/x.mbox174
1 files changed, 0 insertions, 174 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/x.mbox b/meta/recipes-kernel/linux-libc-headers/x.mbox
deleted file mode 100644
index 25e76e7595..0000000000
--- a/meta/recipes-kernel/linux-libc-headers/x.mbox
+++ /dev/null
@@ -1,174 +0,0 @@
1From openembedded-core-bounces@lists.openembedded.org Tue Dec 25 20:46:09 2018
2Delivered-To: bruce.ashfield@gmail.com
3Received: by 2002:a2e:4c3:0:0:0:0:0 with SMTP id a64-v6csp5312962ljf;
4 Tue, 25 Dec 2018 17:46:09 -0800 (PST)
5X-Google-Smtp-Source: ALg8bN5+ydksOT9csVRJHxYDz7K6mUppK0qIlnMBsbGWz9Sq8Fdlk64bzsaJk68T9XGeIzgSwxS9
6X-Received: by 2002:a63:295:: with SMTP id 143mr16751743pgc.362.1545788769434;
7 Tue, 25 Dec 2018 17:46:09 -0800 (PST)
8ARC-Seal: i=1; a=rsa-sha256; t=1545788769; cv=none;
9 d=google.com; s=arc-20160816;
10 b=jG9fBrPvXAw8K+BjylRwE9cyo1dGTSQIXWYQAsxDXBL4sJKb/9HQ7t9CARYj48ptNC
11 PyU9C1SF8FBe8jel1WM2zKHYxcoKShkfNv92t9jrw7thhkeRGtOPIfoQXt1ma6+1MLGa
12 hdinQ5eBKdQt2AouG0A8huAMuHJfxYB9XpD5771sN0XD51Ecc8oYTYOEPmzg21EYg9EC
13 /8A+bodbKwBlIjg6x/O1ucx7W6fV5iyeyaOsJbzbPZeTdC3FqGycgSfErAkyoEJjYwAP
14 /k5PPo4vm6SU3PHJOV7a2cLbWfG6bS5K6/cxzdpXQKTGheKZOc6FFE3ptZfAwkFbVxfX
15 Siww==
16ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
17 h=errors-to:sender:content-transfer-encoding:mime-version
18 :list-subscribe:list-help:list-post:list-archive:list-unsubscribe
19 :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to;
20 bh=L66KCbYgtwDc95aWv7eY3oTToexeHY5x8MVGyHJ/gPM=;
21 b=rrE3b6NDRkazf03I4sTmeHnGX/emKFRWJSUcjyKS2hmAS83KcWTj/WfkinO4w4TeuB
22 S7hPfsAA+DsVLI8Qz0Y2FpZp8dyCeDTDkJtPqZdlDhErV2b3weNNFqbiY4fjIlREkYO/
23 OIg0TgyyPGu4Ekur2dkYbdGmxIGtNsdIEQwv/zROwASqQiK/jpz7M156pGCbKYiSZz1g
24 k3Bwrg+ON72xwBpMoN/x/9Ep7UXl3dvKAkgxUgPaBnPuwDW3HV+y4a3AYyiBoXRRILvm
25 NDuAEwBRysljjsAeD1fxvwtKosRKuNfQpKDwibdgcsHjywPZKykADwYvp3Yc9bdOUwry
26 A8FA==
27ARC-Authentication-Results: i=1; mx.google.com;
28 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
29Return-Path: <openembedded-core-bounces@lists.openembedded.org>
30Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62])
31 by mx.google.com with ESMTP id j35si31697173pgl.223.2018.12.25.17.46.08;
32 Tue, 25 Dec 2018 17:46:09 -0800 (PST)
33Received-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;
34Authentication-Results: mx.google.com;
35 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
36Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1])
37 by mail.openembedded.org (Postfix) with ESMTP id 564896BEF4;
38 Wed, 26 Dec 2018 01:45:54 +0000 (UTC)
39X-Original-To: openembedded-core@lists.openembedded.org
40Delivered-To: openembedded-core@lists.openembedded.org
41Received: from mail.windriver.com (mail.windriver.com [147.11.1.11])
42 by mail.openembedded.org (Postfix) with ESMTP id 812D86B79B
43 for <openembedded-core@lists.openembedded.org>;
44 Wed, 26 Dec 2018 01:45:45 +0000 (UTC)
45Received: from ala-blade48.wrs.com (ala-blade48.wrs.com [147.11.105.68])
46 by mail.windriver.com (8.15.2/8.15.1) with SMTP id wBQ1ji3b015924;
47 Tue, 25 Dec 2018 17:45:44 -0800 (PST)
48Received: by ala-blade48.wrs.com (sSMTP sendmail emulation);
49 Tue, 25 Dec 2018 17:45:44 -0800
50From: He Zhe <zhe.he@windriver.com>
51To: openembedded-core@lists.openembedded.org
52Date: Tue, 25 Dec 2018 17:45:44 -0800
53Message-Id: <20181226014544.1991-1-zhe.he@windriver.com>
54X-Mailer: git-send-email 2.11.0
55Cc: bruce.ashfield@windriver.com
56Subject: [OE-core] [PATCH] linux-libc-headers: Fix build failure with fixed
57 input and output files instead of pipe
58X-BeenThere: openembedded-core@lists.openembedded.org
59X-Mailman-Version: 2.1.12
60Precedence: list
61List-Id: Patches and discussions about the oe-core layer
62 <openembedded-core.lists.openembedded.org>
63List-Unsubscribe: <http://lists.openembedded.org/mailman/options/openembedded-core>,
64 <mailto:openembedded-core-request@lists.openembedded.org?subject=unsubscribe>
65List-Archive: <http://lists.openembedded.org/pipermail/openembedded-core/>
66List-Post: <mailto:openembedded-core@lists.openembedded.org>
67List-Help: <mailto:openembedded-core-request@lists.openembedded.org?subject=help>
68List-Subscribe: <http://lists.openembedded.org/mailman/listinfo/openembedded-core>,
69 <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe>
70MIME-Version: 1.0
71Content-Type: text/plain; charset="us-ascii"
72Content-Transfer-Encoding: 7bit
73Sender: openembedded-core-bounces@lists.openembedded.org
74Errors-To: openembedded-core-bounces@lists.openembedded.org
75Status: RO
76X-Status: A
77Content-Length: 4076
78Lines: 94
79
80This is an amendment for
812322dc4 "linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe"
82which moves just the temporary input file from /tmp to build directory. But the
83build directory may not in the same file system with the output file,
84/dev/null, either and thus make it possible to trigger that bug, 67f846b, in
85binutil v2.31.
86
87This patch puts both the input and output files into build directory for good.
88
89Signed-off-by: He Zhe <zhe.he@windriver.com>
90---
91 ...fixed-input-and-output-files-instead-of-.patch} | 22 ++++++++++------------
92 .../linux-libc-headers/linux-libc-headers_4.18.bb | 2 +-
93 2 files changed, 11 insertions(+), 13 deletions(-)
94 rename meta/recipes-kernel/linux-libc-headers/linux-libc-headers/{0001-scripts-Use-fixed-temporary-file-instead-of-pipe-for.patch => 0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch} (83%)
95
96diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-temporary-file-instead-of-pipe-for.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch
97similarity index 83%
98rename from meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-temporary-file-instead-of-pipe-for.patch
99rename to meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch
100index 0d8fa80939..9ba1c076e8 100644
101--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-temporary-file-instead-of-pipe-for.patch
102+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch
103@@ -1,7 +1,7 @@
104-From 3bbea65e11918f8753e8006a2198b999cdb0af58 Mon Sep 17 00:00:00 2001
105+From 694eba7bb974f6b8bd308804cb24350150108b2b Mon Sep 17 00:00:00 2001
106 From: He Zhe <zhe.he@windriver.com>
107 Date: Wed, 21 Nov 2018 15:12:43 +0800
108-Subject: [PATCH] scripts: Use fixed temporary file instead of pipe for
109+Subject: [PATCH] scripts: Use fixed input and output files instead of pipe for
110 here-doc
111
112 There was a bug of "as" in binutils that when it checks if the input file and
113@@ -40,31 +40,29 @@ Upstream-Status: Inappropriate [A work around for binutils v2.31]
114
115 Signed-off-by: He Zhe <zhe.he@windriver.com>
116 ---
117- scripts/gcc-goto.sh | 7 ++++++-
118- 1 file changed, 6 insertions(+), 1 deletion(-)
119+ scripts/gcc-goto.sh | 5 ++++-
120+ 1 file changed, 4 insertions(+), 1 deletion(-)
121
122 diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh
123-index 083c526..0aaf1b4 100755
124+index 083c526..8dfac55 100755
125 --- a/scripts/gcc-goto.sh
126 +++ b/scripts/gcc-goto.sh
127-@@ -3,7 +3,9 @@
128+@@ -3,7 +3,7 @@
129 # Test for gcc 'asm goto' support
130 # Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
131
132 -cat << "END" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"
133-+TMPFILE=`mktemp -p .`
134-+
135-+cat << "END" > ${TMPFILE}
136++cat << "END" > ./input
137 int main(void)
138 {
139 #if defined(__arm__) || defined(__aarch64__)
140-@@ -20,3 +22,6 @@ entry:
141+@@ -20,3 +20,6 @@ entry:
142 return 0;
143 }
144 END
145 +
146-+$@ -x c ${TMPFILE} -c -o /dev/null && echo "y"
147-+rm ${TMPFILE}
148++$@ -x c ./input -c -o ./output && echo "y"
149++rm ./input ./output
150 --
151 2.7.4
152
153diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb
154index 00420aa6f7..229a0027d7 100644
155--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb
156+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb
157@@ -10,7 +10,7 @@ SRC_URI_append_libc-musl = "\
158 "
159
160 SRC_URI_append = "\
161- file://0001-scripts-Use-fixed-temporary-file-instead-of-pipe-for.patch \
162+ file://0001-scripts-Use-fixed-input-and-output-files-instead-of-.patch \
163 "
164
165 SRC_URI[md5sum] = "bee5fe53ee1c3142b8f0c12c0d3348f9"
166--
1672.11.0
168
169--
170_______________________________________________
171Openembedded-core mailing list
172Openembedded-core@lists.openembedded.org
173http://lists.openembedded.org/mailman/listinfo/openembedded-core
174