From patchwork Sat Mar 17 03:40:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131947 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp220050ljb; Fri, 16 Mar 2018 20:41:02 -0700 (PDT) X-Google-Smtp-Source: AG47ELufLoWVS7+ur2Fx2dseKuvrU/3hk2JtbkDdkLD9ZzWkOyO8sBybb4nUXl+6NNm8Rb3YQRL5 X-Received: by 2002:a17:902:5845:: with SMTP id f5-v6mr4530131plj.164.1521258062743; Fri, 16 Mar 2018 20:41:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521258062; cv=none; d=google.com; s=arc-20160816; b=tbITnRXgMNyNmzkH6QaTghLPuxrz++ET+hGzGowNKCH1+9NbF1omzxITgnZl/Dy6F5 An9ezWjNDSSSCrf0Nd4iHCGWCOMdaAo5p8gQqe3psA90MglnS3afCYq/Rn9+YOWRCKDx 9RdFugidZGDzuBx9tsbsgO8v2rSvIjcZzd/kOrF2Dm9QxkDMVFOyJLgldFZaqMAwDb2m /sc77TbMXyYxtbuu7rNoF4aLKVTaMgLcfNv97Cwap4itQAxmQmdj8Y4T6AKN7KRFILLl jI/x2IWUTwUD01BycwYG7rxNMsFfKWEOyfoFvuMcVyniGyMWbX9gyIH2eS1327ipZ1YQ MIrg== 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=2XMzf7Q+Z8OPiBxXbzq5AnBV8rneEuAhMwrTaGvigBs=; b=AEu2YkkIqG0Ki6PujFWS/wcdkZy/U15AitCVnglxhw8I73uJrip8Qu7WYLll7N4nYE 5AGC08dQZV4S2vM3VKEIqW4tKNTMTxJVobM7U7KAzsKxfL4pBlswgHoa99s4OqeZ9d/1 Bd94rGJ96NGnhYa5dINg0GSdnaZoZfM+HX3CrksK0kEDAyx5Pfcbrxyj4/z2ugdK1bAH vJrUk+gGO/3EH5As4MvvgFaAde6cF06S461eKLo3+P3DY8tP0Sb03HXSdmkP4JoyJk2/ b6tqnUyJ150q3gakbML+XFkP8qrr/Ox4xyzzHQZy3WRcSJw6pEvD8RVnBckfWzTDghuq qseQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=eQRnujqh; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p9si6109178pge.163.2018.03.16.20.41.02; Fri, 16 Mar 2018 20:41:02 -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 header.s=20161025 header.b=eQRnujqh; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DF6947897C; Sat, 17 Mar 2018 03:40:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 2F33278975 for ; Sat, 17 Mar 2018 03:40:43 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id e9so4832802pgs.10 for ; Fri, 16 Mar 2018 20:40:45 -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=Y1liX0m2MnAiNqDIlM1H6KtHt6N1aXFS2xr8zNbRuYY=; b=eQRnujqh0jGfoLg06W5bcj+L4cl42FKyT1X/wYHGKdX0HqwaT70Li7DkgN+xc+vL3T WDkUyXDMm5vQlmuHv1vOnWtGKR3a/XzDbUrnFTXev088iOy6FEqSCX9/DMyBtQX4+bMq zfcKs+IfG67M1UMuaMEVwvad7rXPHM+RDecGPn3yMee9FNTEqqXNqvAMAQ1XqmaG2zKI Lb9O9OsJqmB5BTxTSqJM1i4z/DQMcVYMj5ejH9aDRZnaOqr5Yq6QoBkl45ISpboKMNPk aynUIkqmzUDRrwCpmdInd97SFUJYA8daRx3b70N82T2M5pNMwxovWPffCZCHdDiqZdEv NxXg== 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=Y1liX0m2MnAiNqDIlM1H6KtHt6N1aXFS2xr8zNbRuYY=; b=T4zpYHzibpc5o6l26VmlQ4iLfDJMAL+2vokeXrOuLqRk1j5SS/M71h2glVpxgJuKCi R9ViRt7johjLsIycC0ygZhs4QlCbwU93Ey0w3KNTJc/2d4FETFHuIG7T61B1m9RJzfZX ofCju/Z2LMeCvF7RbOqMifHFpsohg/joSgtrQSvSwQdW6nQREpvJyqKm9RTlCpBd6Bpw WP6CB+n//PqfdwZuBaxUfSalD4muDyboGng3SdtI0cvbawrzwmWFZh3BkqjcHqT8Ei0g HSZC8BW14GMCIGoa8m7fD6PPY0npojfGmc28IdHbWOgsT+mhxliBK2LnICq28FeZv6Hv rsdA== X-Gm-Message-State: AElRT7EEE4SVYzVHzTx0SYpJgucs9W28RT9tz1qN1ODsd1SxtHHm44xG vrdCWtgFyA1izf45ErhkYPHxgQ== X-Received: by 10.99.115.3 with SMTP id o3mr3353987pgc.428.1521258045064; Fri, 16 Mar 2018 20:40:45 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id 184sm874800pfg.124.2018.03.16.20.40.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 20:40:44 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 16 Mar 2018 20:40:32 -0700 Message-Id: <61dfa9e2dce4ac2ac04ab2e6d8730a3be00bfa7a.1521257828.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: References: Subject: [OE-core] [PATCH 1/5] gcc: Do not use --with-linker-hash-style if LINKER_HASH_STYLE is empty 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 We allow to set LINKER_HASH_STYLE to be empty so this would fail since --with-linker-hash-style needs an argument and cant be empty Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-7.3.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc index d56d2c5e06..a80926216b 100644 --- a/meta/recipes-devtools/gcc/gcc-7.3.inc +++ b/meta/recipes-devtools/gcc/gcc-7.3.inc @@ -100,7 +100,7 @@ EXTRA_OECONF_BASE = "\ --disable-bootstrap \ --disable-libmudflap \ --with-system-zlib \ - --with-linker-hash-style=${LINKER_HASH_STYLE} \ + ${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \ --enable-linker-build-id \ --with-ppl=no \ --with-cloog=no \ From patchwork Sat Mar 17 03:40:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131948 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp220092ljb; Fri, 16 Mar 2018 20:41:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELsGcSplnKKwNZ03GHPYMX20r6UAFLokdbGRO3YLxt4tyTtMAt8FcpcHZ1Fty1SBoJX90Mp0 X-Received: by 10.101.72.136 with SMTP id n8mr3347422pgs.201.1521258067942; Fri, 16 Mar 2018 20:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521258067; cv=none; d=google.com; s=arc-20160816; b=02jNDsdqGUTyqUAYBVkerbTl3gDhyQAdixOhARGkC5qjFFdlzi6vBYGGZhUGHucKum 8STkaZ+WQHzgCY3tQeHEEcA7WQO1cGYqA2ZYoeoOOb4+snmf4mmlqVKPlIpGMw3pn1Sn DdwkUwIbPOwPj1WjjN5BwJjpCHpV0Pfe353Swt0gRgaRcxY/p8igei5O4mImDYdmky4K uCjbG1Hi9z1Fq5hdN7EPA3keeuPYkF7MPd0FUef1LA7iVvy/HpODFAITIHhvQQIOI9xD K8MW+Kcf3baJg6HSw+H1R+o0j3P4MyQiK7lfBDATjaYGfjOccjiFVB6d+jcTTfj4PA9Z PL3Q== 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=C1LSzpTKfJ7LcFI6s4j4VFnt+rOac3ORhhU5OHsXO04=; b=wbniwM9CD7Ekcmoz5CzZHhsP1ZzXYebsGGMkw84hwAk+d7K4TMIPuzeX1wrhdx+5zF rWMZnULWo+IDLz/a62900T41ALhibKr4m7IoMNpaUPcsOX+dG3q15NSDzX5j+yVyJrmN FvpYOUEK5aUlqOSxwNWJGDQLLc6HwMjAC04ejSZg47yeRaWwn6A3C1npCZciYDTzDbU/ WeWNgRAa9wqBzrIgR6UNcIR84eTlZ8z+RIg/iUlpibvTkl4Te3CwowoxFYXSnE9g2sZw R/fAK9HwDB38gEM4QMjXrkI9UJ8Ko1b5ViGOoJ9lO+0waOpHBYJdT3YVNV30BJr0iZ5X xOHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=kGfaPwMM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id r3si1765704pgt.200.2018.03.16.20.41.07; Fri, 16 Mar 2018 20:41:07 -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 header.s=20161025 header.b=kGfaPwMM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 22D077898C; Sat, 17 Mar 2018 03:41:01 +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 E800B78977 for ; Sat, 17 Mar 2018 03:40:45 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id y186so4930032pfb.2 for ; Fri, 16 Mar 2018 20:40:47 -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=EsVooicBH4ym8odMdNiw6ZT04hj2/MaaIOVmL9iVvIc=; b=kGfaPwMMqZ1rSKDZ4JGfqwwTdDBwKoGCoqP/GGyNYHfDmo4BlP80oz0O7WAaE2uw2X wso/3vPnJnNqr8QLRApn/5HIYll+AUWq1CpDGsqf9pfwQgQLWMvc7846h0+q75tWWir8 8/CBd7zzStNthrauSKdNifzjY+WMdYvK2haoV/GbqGDFYVS6+viigxMHPtMLFkDbfwPG 2+fZnr0u1GBPxgGtpZKOwJxtU0V5zKZUgsBhkqJh5yCRhNcKh6Mr7b+zvCFrlzKxN32W /6vZ8XVKDvKN8tdzQYPa+WKwKLtbYYzEI0DZP20c6+KmUYd97J//AsVtLJe3HCphhuA1 I2YQ== 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=EsVooicBH4ym8odMdNiw6ZT04hj2/MaaIOVmL9iVvIc=; b=mtbSE2b8moGLUz/JbjA23zaFBVy0fxCgMRMjlOgtFOs2zMvwluUug032oF1Bkbmq/P KY/pxW1k4mS2WiYxFwY08kylUGQQAriseeRb+EU6P7EpJVEXZWkis2lMniTZzc/VDney a2XhZ7FbLAsbK/w1tjLG9BnDaHGYUs39/w7bfZV+3y/5AWL+u8u7QdjTvgMf6BIvVNUm Q1XYt+DX6gt8EDfgTaXJdSdSV2a7/QGz0ANgzm2QnytqHasU0E1+WscYGrB/wDPKTEfu NWWKMhsU3deqOnKd009boQorHsD38Cmgoeg88nI4ezTVA/gCIfN/r70YN4bETUpmaMO/ BQsw== X-Gm-Message-State: AElRT7Fe9evrHId0c7wNqC/rJxovhtwrpPiPXJ+/ud6LDrok0qMzJt2Z DpmAAyphqF3hht3coLWerzDSAg== X-Received: by 10.101.73.7 with SMTP id p7mr3335150pgs.250.1521258046742; Fri, 16 Mar 2018 20:40:46 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id 184sm874800pfg.124.2018.03.16.20.40.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 20:40:45 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 16 Mar 2018 20:40:33 -0700 Message-Id: <599013164ebd8a85844940a1b8b522dca3c1bf86.1521257828.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: References: Subject: [OE-core] [PATCH 2/5] mtd-utils: Explicitly add pthread options to cflags 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 Some architectures e.g. riscv gcc does not add -D_REENTRANT when enabling pthreads. Help it here by adding these options while gcc gets fixed Signed-off-by: Khem Raj --- meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb index 3c34bdd84e..d09d633022 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb @@ -24,6 +24,8 @@ S = "${WORKDIR}/git/" PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" PACKAGECONFIG[xattr] = ",,acl," +CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" + EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} ${@bb.utils.contains('PACKAGECONFIG', 'xattr', '', '-DWITHOUT_XATTR', d)} -I${S}/include' 'BUILDDIR=${S}'" ALTERNATIVE_${PN} = "flash_eraseall" From patchwork Sat Mar 17 03:40:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131949 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp220133ljb; Fri, 16 Mar 2018 20:41:13 -0700 (PDT) X-Google-Smtp-Source: AG47ELvfWZ/zqklmEhaZ/+rjasBc5SUGId8PCg0UOqZhX8uGWNew7BYwRKUy0fWishRgJ6ggFmrJ X-Received: by 2002:a17:902:2e43:: with SMTP id q61-v6mr4366597plb.404.1521258073763; Fri, 16 Mar 2018 20:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521258073; cv=none; d=google.com; s=arc-20160816; b=mNNtFyeQSoj1hUDY8AX9H7ZfJEttNmUyeEWUfHJoi5DfUjDFszpkHXwbh7XzauPxIL jnpEH2GP4CpWarWs79bEMQ/jOTlihd98pvER1A9HF2xK/dNXpWiG0AgrtGXCCVz+edUn wXiW/JjT2Spdy36wKpvBhnEe1ea5khzp9qKMZTNrqWnj8pWKBo6qohjPkUupVRzj9O1T SqBdJmKUfUbMMd7bExQ2k4ewBUBQxRtP3+neZyqtLnEjpeJ6Gbh5o8JREU7v9WOebZQ/ G8LBsMM6Rykc/x+xZUiyN3Xka+sdT1LoaGFgo8dmTs0n5+dIg8dzJbylf/5w6B/gXue9 j7sA== 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=n7d0e8I60IQkCUTIOhRSqWdcReAZqNG3hObq0oVyz8A=; b=w+ieNhsZX0IdV2bJhpkqPcJkAese7QVFg7XL0zP+QOg45FMziuSm58XGB/yUAy3Lo7 TukYecuJ8Z+PDQOw2YZ06qSAfDbq3SQMT7OgabqAuPdQl399s7U3VU4v8caBOzQKC3sr YYOJY3asupNWXcX4ULEXM0/0kaYinGFrAjm1RcIGW5v2nyR4Jn6GDu5gbcRU34aiz9W8 dcxmtoB8Wek1yaYsN5GD3b4/sKtmMUGEDFwkiRnRzje1CO+xXMkdp1KPwR7Lg+yx3tUH ClDrG4CwmCpQnSUoOrQEUZVg4SZ57JDgbr2nmLei48kwWwhLSmAzjhIM2DUzXvAZsMJD F5tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KZdNes21; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 2si6075452pgc.114.2018.03.16.20.41.13; Fri, 16 Mar 2018 20:41:13 -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 header.s=20161025 header.b=KZdNes21; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 33F2778991; Sat, 17 Mar 2018 03:41:02 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 6487C78977 for ; Sat, 17 Mar 2018 03:40:46 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id s13so4831184pgn.12 for ; Fri, 16 Mar 2018 20:40:48 -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=Mq1hUloFxtz85FchJbFjfuyVIeZxfxwIvrFZ6GfD1Q8=; b=KZdNes21uId+axKMT46RKGeCn3vrosheo6ThqRSY2BcC4WSRqBfHBEii8Wlspx4bxu pCLzz35hgU3FqheTGA1UvHmbLM+XXUzdmNu23sqdE0E5paeO57v+Rf/Bwksa/isHHcOm td9WgzcPU+42RSwDZ8IgM5t/z10vq/7+QKeK4Me6D0gs0v3bkyHwqpxX+FDUUDLxSC6g HWpm/SMkfHiSb8ho9yeuzKHukV7UVrtT2eshh5GvsVjtjjwe5limgRjkwnvq0mUR4IyP GeQO8gh4Ek7ROfjiuo57cHPCxrwKzyED4+V0xKfIVtCJVkpjuw66INvpdKCEh6qf6D/3 3Glg== 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=Mq1hUloFxtz85FchJbFjfuyVIeZxfxwIvrFZ6GfD1Q8=; b=U0d/HDLOpF2lh5Pil9mcKoO9Ki9+FeI/KL/rg1e0A4lqb+cHVLc0Ig712a3iFEwQjV 31hLkom03uK0Bieozf/seSyTYdCM46QMdKp56TgMPeKcjOlS25s3++QTqCdigxW/zyid Fo/SiMKrmHNyiF+bLrsysutif00S+8E7cFJN5q7+Y8r3wRuJVArX2g9GKdjP7tcsF2iu HGxNUa2dAdUkCILrsaeXc6QjCTMGEcHdD+KAoKDnfaTDwc+39hT9UO3TNKoMCZjK/3za WIj3MTomxcJYe3zD78sFh0BsuwqiaP87iWIiO60BkO/lwoLx78VsW3Rsoqj5LyzvuGv1 w4jw== X-Gm-Message-State: AElRT7Fkz/6JJS+qdi8gZ/JuUgbrP2a0GXoq91hDAsS89jXVas0z4zIe m+xr1GQgtDWc3yCM5ydBfOz4bQ== X-Received: by 10.99.134.193 with SMTP id x184mr3396794pgd.324.1521258047798; Fri, 16 Mar 2018 20:40:47 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id 184sm874800pfg.124.2018.03.16.20.40.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 20:40:46 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 16 Mar 2018 20:40:34 -0700 Message-Id: <19ff9542e08c7df5898cc811f65200050ecf02d5.1521257828.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: References: Subject: [OE-core] [PATCH 3/5] x264: Use updated gnu-config artifacts 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 It is not using autoconf completely, therefore there is no autoreconf happening, so when we depend on latest gnu-config changes e.g. new architectures like riscv the build does not see them and fails. Installing these files from native sysroot helps Signed-off-by: Khem Raj --- meta/recipes-multimedia/x264/x264_git.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/meta/recipes-multimedia/x264/x264_git.bb b/meta/recipes-multimedia/x264/x264_git.bb index a669295044..c445d15e69 100644 --- a/meta/recipes-multimedia/x264/x264_git.bb +++ b/meta/recipes-multimedia/x264/x264_git.bb @@ -43,6 +43,8 @@ EXTRA_OECONF = '--prefix=${prefix} \ ' do_configure() { + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} ./configure ${EXTRA_OECONF} } From patchwork Sat Mar 17 03:40:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131950 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp220213ljb; Fri, 16 Mar 2018 20:41:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELs52+HL0Tz3geEOFyM1avx9ezh0Q8S8J2whtacXMgpMS1Vk8STmBhtkGe6pqcnSxvXYc2e9 X-Received: by 2002:a17:902:7b85:: with SMTP id w5-v6mr4436172pll.131.1521258079757; Fri, 16 Mar 2018 20:41:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521258079; cv=none; d=google.com; s=arc-20160816; b=OEnbDfzDfSX/i+7uM14BgBxh7Wtfssz3vBj9dU9A/11iAHofyKL9kOVZcjDTxFG/NM cb1EH7YIrwslN9yl75vTLPaDKoM1IEsW2/6XLlFgfZTx11h1Kkk+BpTBPMvwjcDBALU2 aUB46yWokS2xWbaMOLL2sJzCzqSErUKmylNJ50H2Lldpc1Bjhq3zUbC2I6AEUsb4xgrg Ir59dUrr1vKcBRhMZWltYSbU78pxcVFy/hNk3JVJ1aFfKgShGf7CajbxX9o0ueUA17VD U4fhHVLNMDjLs19e5v02paGoYmU46C7oZSw6V1Ik2n1tjgDtpSfhtz2S4sZvJTp6WhGr eNNw== 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=fRHefiXgpljRPS/08PcssFMFw9TnURh11d/DRXbIW2o=; b=d1Sw9Wpi7+m2MaiE2iCBZjrHHPnqOvZu93infmD+hLOZA/WRM/i3wjylUwUJhse/hd jXkjCQDVe3FT+GT3hX10ndPG7cJweUdsusWKVdLRme298myWpmG1sf+q6vmXDQggrX2e d7yvNBrkUc3m+CNeEvviB9Ly+DN4Kg47gyIvA2AUJbaVjN/a1zc2rczrJZkDFUt8vNjN WsWXsxVuiDbESwwDBDIWt6boMocrWcgIpFafTcZ3dfrZMYvtG/vpNgIBAVztLfRzr4KT XPPbn78+r8QBwltsmBj1sIKazsG1TlT1zFNntkyR128ym3tye4eyZb5b9zZG6WlTAVWk FU1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=s8ZiN1Yt; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l20si5247243pfj.289.2018.03.16.20.41.19; Fri, 16 Mar 2018 20:41:19 -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 header.s=20161025 header.b=s8ZiN1Yt; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 420BC78996; Sat, 17 Mar 2018 03:41:03 +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 2D2C778975 for ; Sat, 17 Mar 2018 03:40:47 +0000 (UTC) Received: by mail-pf0-f177.google.com with SMTP id l27so397357pfk.12 for ; Fri, 16 Mar 2018 20:40:49 -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=PbDWFOiPkRlhOkjV4QyY10KCXO1B7lQgzR/vaCwA/lo=; b=s8ZiN1YtKyW7+6+4BSSfPDu2YzLYhDuOxsTZvQrbyYKXmL12amgB8O8DYIdq3EC0CD rjsuH4nvFSHFhmToy/O/VAkJEvHlzSw/thhhf0HH6KoFiBWAARyY5C2Sz2GvMWM3G+PQ Cizcm8rg3DcrH4Ez6KH8jnM7j/pB0dGCVEpb//LeW3TOl9N56sus4xHwXYTjapYkzE5Y 6tTYvLqdRprYHr6Qkt+q6MDVLzJ6FJSKxreu7ZauyFM28uRuezfSWqPSkXnwkAw4N4c5 usrS3Gdq32QhmI0KYGslX0ghFTYwSbcK51pSrK1/nlop0HAb0bQaNA9yxXO4Vm0muwmg ODGQ== 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=PbDWFOiPkRlhOkjV4QyY10KCXO1B7lQgzR/vaCwA/lo=; b=kbe3b8VIgCXOpaRxdBNoIfzGy2bgYMfBbvEB70iPHAnJ5M6fFAsQRs30FOvFeyHQu6 k5g+ijtdPgSjf+sBgEkcZLU9Q0/G65GbKxDBKvl/7/QVRYw5W8p5XbaGZAzb42aDF625 6BPAepN5LM86NkrQWtPvuFck/UA5IAPmoClxhsa3C3xz0V7Xbgk6+RULj76OgjAVcOZG l1Q1bT7tOYGCecUGZInl+KiVkG7FXhShwfmxQHsrS/h4upXBTZByIKcaD8f1VPtUvZuP QxOuckJTf5sD0JgBrGH37aa8r0kb9l6N/Xmgea4ne9+lHVh7cxJF8RJHlMrm+JKCicFn gdcQ== X-Gm-Message-State: AElRT7Epz4F4335XfLk5TLMKhV04vgzvHx2b/zfAWDwSULTRrwzuTEMU 6HDYq6aMd618e+Cg1pQDCaqJDA== X-Received: by 10.99.149.68 with SMTP id t4mr3363464pgn.144.1521258048915; Fri, 16 Mar 2018 20:40:48 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id 184sm874800pfg.124.2018.03.16.20.40.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 20:40:48 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 16 Mar 2018 20:40:35 -0700 Message-Id: X-Mailer: git-send-email 2.16.2 In-Reply-To: References: Subject: [OE-core] [PATCH 4/5] python-numpy: Fix build for riscv64 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 --- .../files/0001-npy_cpu-Add-riscv-support.patch | 28 +++++ .../python-numpy/files/riscv64/_numpyconfig.h | 32 +++++ .../python-numpy/files/riscv64/config.h | 139 +++++++++++++++++++++ .../recipes-devtools/python-numpy/python-numpy.inc | 5 + 4 files changed, 204 insertions(+) create mode 100644 meta/recipes-devtools/python-numpy/files/0001-npy_cpu-Add-riscv-support.patch create mode 100644 meta/recipes-devtools/python-numpy/files/riscv64/_numpyconfig.h create mode 100644 meta/recipes-devtools/python-numpy/files/riscv64/config.h -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/python-numpy/files/0001-npy_cpu-Add-riscv-support.patch b/meta/recipes-devtools/python-numpy/files/0001-npy_cpu-Add-riscv-support.patch new file mode 100644 index 0000000000..4f5c4f5f0d --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/0001-npy_cpu-Add-riscv-support.patch @@ -0,0 +1,28 @@ +From 30fb1bf9244bb0789c02ec7c98a923acc7200206 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 16 Mar 2018 19:55:21 -0700 +Subject: [PATCH] npy_cpu: Add riscv support + +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted [https://github.com/numpy/numpy/pull/10761] + + numpy/core/include/numpy/npy_cpu.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h +index 84653ea18..9e88db873 100644 +--- a/numpy/core/include/numpy/npy_cpu.h ++++ b/numpy/core/include/numpy/npy_cpu.h +@@ -78,6 +78,8 @@ + #define NPY_CPU_AARCH64 + #elif defined(__mc68000__) + #define NPY_CPU_M68K ++#elif defined(__riscv) ++ #define NPY_CPU_RISCV + #elif defined(__arc__) && defined(__LITTLE_ENDIAN__) + #define NPY_CPU_ARCEL + #elif defined(__arc__) && defined(__BIG_ENDIAN__) +-- +2.16.2 + diff --git a/meta/recipes-devtools/python-numpy/files/riscv64/_numpyconfig.h b/meta/recipes-devtools/python-numpy/files/riscv64/_numpyconfig.h new file mode 100644 index 0000000000..109deb0435 --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/riscv64/_numpyconfig.h @@ -0,0 +1,32 @@ +#define NPY_HAVE_ENDIAN_H 1 +#define NPY_SIZEOF_SHORT SIZEOF_SHORT +#define NPY_SIZEOF_INT SIZEOF_INT +#define NPY_SIZEOF_LONG SIZEOF_LONG +#define NPY_SIZEOF_FLOAT 4 +#define NPY_SIZEOF_COMPLEX_FLOAT 8 +#define NPY_SIZEOF_DOUBLE 8 +#define NPY_SIZEOF_COMPLEX_DOUBLE 16 +#define NPY_SIZEOF_LONGDOUBLE 16 +#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32 +#define NPY_SIZEOF_PY_INTPTR_T 8 +#define NPY_SIZEOF_PY_LONG_LONG 8 +#define NPY_SIZEOF_LONGLONG 8 +#define NPY_SIZEOF_OFF_T 8 +#define NPY_NO_SMP 0 +#define NPY_HAVE_DECL_ISNAN +#define NPY_HAVE_DECL_ISINF +#define NPY_HAVE_DECL_ISFINITE +#define NPY_HAVE_DECL_SIGNBIT +#define NPY_USE_C99_COMPLEX 1 +#define NPY_HAVE_COMPLEX_DOUBLE 1 +#define NPY_HAVE_COMPLEX_FLOAT 1 +#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1 +#define NPY_ENABLE_SEPARATE_COMPILATION 1 +#define NPY_USE_C99_FORMATS 1 +#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden"))) +#define NPY_ABI_VERSION 0x01000009 +#define NPY_API_VERSION 0x0000000A + +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS 1 +#endif diff --git a/meta/recipes-devtools/python-numpy/files/riscv64/config.h b/meta/recipes-devtools/python-numpy/files/riscv64/config.h new file mode 100644 index 0000000000..c30b868f2f --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/riscv64/config.h @@ -0,0 +1,139 @@ +#define HAVE_ENDIAN_H 1 +#define SIZEOF_PY_INTPTR_T 8 +#define SIZEOF_PY_LONG_LONG 8 +#define MATHLIB m +#define HAVE_SIN 1 +#define HAVE_COS 1 +#define HAVE_TAN 1 +#define HAVE_SINH 1 +#define HAVE_COSH 1 +#define HAVE_TANH 1 +#define HAVE_FABS 1 +#define HAVE_FLOOR 1 +#define HAVE_CEIL 1 +#define HAVE_SQRT 1 +#define HAVE_LOG10 1 +#define HAVE_LOG 1 +#define HAVE_EXP 1 +#define HAVE_ASIN 1 +#define HAVE_ACOS 1 +#define HAVE_ATAN 1 +#define HAVE_FMOD 1 +#define HAVE_MODF 1 +#define HAVE_FREXP 1 +#define HAVE_LDEXP 1 +#define HAVE_RINT 1 +#define HAVE_TRUNC 1 +#define HAVE_EXP2 1 +#define HAVE_LOG2 1 +#define HAVE_ATAN2 1 +#define HAVE_POW 1 +#define HAVE_NEXTAFTER 1 +#define HAVE_SINF 1 +#define HAVE_COSF 1 +#define HAVE_TANF 1 +#define HAVE_SINHF 1 +#define HAVE_COSHF 1 +#define HAVE_TANHF 1 +#define HAVE_FABSF 1 +#define HAVE_FLOORF 1 +#define HAVE_CEILF 1 +#define HAVE_RINTF 1 +#define HAVE_TRUNCF 1 +#define HAVE_SQRTF 1 +#define HAVE_LOG10F 1 +#define HAVE_LOGF 1 +#define HAVE_LOG1PF 1 +#define HAVE_EXPF 1 +#define HAVE_EXPM1F 1 +#define HAVE_ASINF 1 +#define HAVE_ACOSF 1 +#define HAVE_ATANF 1 +#define HAVE_ASINHF 1 +#define HAVE_ACOSHF 1 +#define HAVE_ATANHF 1 +#define HAVE_HYPOTF 1 +#define HAVE_ATAN2F 1 +#define HAVE_POWF 1 +#define HAVE_FMODF 1 +#define HAVE_MODFF 1 +#define HAVE_FREXPF 1 +#define HAVE_LDEXPF 1 +#define HAVE_EXP2F 1 +#define HAVE_LOG2F 1 +#define HAVE_COPYSIGNF 1 +#define HAVE_NEXTAFTERF 1 +#define HAVE_SINL 1 +#define HAVE_COSL 1 +#define HAVE_TANL 1 +#define HAVE_SINHL 1 +#define HAVE_COSHL 1 +#define HAVE_TANHL 1 +#define HAVE_FABSL 1 +#define HAVE_FLOORL 1 +#define HAVE_CEILL 1 +#define HAVE_RINTL 1 +#define HAVE_TRUNCL 1 +#define HAVE_SQRTL 1 +#define HAVE_LOG10L 1 +#define HAVE_LOGL 1 +#define HAVE_LOG1PL 1 +#define HAVE_EXPL 1 +#define HAVE_EXPM1L 1 +#define HAVE_ASINL 1 +#define HAVE_ACOSL 1 +#define HAVE_ATANL 1 +#define HAVE_ASINHL 1 +#define HAVE_ACOSHL 1 +#define HAVE_ATANHL 1 +#define HAVE_HYPOTL 1 +#define HAVE_ATAN2L 1 +#define HAVE_POWL 1 +#define HAVE_FMODL 1 +#define HAVE_MODFL 1 +#define HAVE_FREXPL 1 +#define HAVE_LDEXPL 1 +#define HAVE_EXP2L 1 +#define HAVE_LOG2L 1 +#define HAVE_COPYSIGNL 1 +#define HAVE_NEXTAFTERL 1 +#define HAVE_DECL_SIGNBIT +#define HAVE_COMPLEX_H 1 +#define HAVE_CREAL 1 +#define HAVE_CIMAG 1 +#define HAVE_CABS 1 +#define HAVE_CARG 1 +#define HAVE_CEXP 1 +#define HAVE_CSQRT 1 +#define HAVE_CLOG 1 +#define HAVE_CCOS 1 +#define HAVE_CSIN 1 +#define HAVE_CPOW 1 +#define HAVE_CREALF 1 +#define HAVE_CIMAGF 1 +#define HAVE_CABSF 1 +#define HAVE_CARGF 1 +#define HAVE_CEXPF 1 +#define HAVE_CSQRTF 1 +#define HAVE_CLOGF 1 +#define HAVE_CCOSF 1 +#define HAVE_CSINF 1 +#define HAVE_CPOWF 1 +#define HAVE_CREALL 1 +#define HAVE_CIMAGL 1 +#define HAVE_CABSL 1 +#define HAVE_CARGL 1 +#define HAVE_CEXPL 1 +#define HAVE_CSQRTL 1 +#define HAVE_CLOGL 1 +#define HAVE_CCOSL 1 +#define HAVE_CSINL 1 +#define HAVE_CPOWL 1 +#define HAVE_LDOUBLE_IEEE_QUAD_LE 1 +#ifndef __cplusplus +/* #undef inline */ +#endif + +#ifndef _NPY_NPY_CONFIG_H_ +#error config.h should never be included directly, include npy_config.h instead +#endif diff --git a/meta/recipes-devtools/python-numpy/python-numpy.inc b/meta/recipes-devtools/python-numpy/python-numpy.inc index 10af4c50e3..5c5f0c837a 100644 --- a/meta/recipes-devtools/python-numpy/python-numpy.inc +++ b/meta/recipes-devtools/python-numpy/python-numpy.inc @@ -8,6 +8,7 @@ SRCNAME = "numpy" SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ file://fix_shebang_f2py.patch \ + file://0001-npy_cpu-Add-riscv-support.patch \ ${CONFIGFILESURI} " SRC_URI[md5sum] = "0e09f20f62ab9f8a02cb7bd3fd023482" SRC_URI[sha256sum] = "8708a775be9a9a457b80a49193c57bd9d51a8a195ed1f1c4b8e89eaf3aa646ee" @@ -69,6 +70,10 @@ CONFIGFILESURI_mipsarchn32el = " \ file://config.h \ file://_numpyconfig.h \ " +CONFIGFILESURI_riscv64 = " \ + file://config.h \ + file://_numpyconfig.h \ +" S = "${WORKDIR}/numpy-${PV}" From patchwork Sat Mar 17 03:40:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131951 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp220264ljb; Fri, 16 Mar 2018 20:41:25 -0700 (PDT) X-Google-Smtp-Source: AG47ELsjxxc/pFlLek7VW//WpCuYTVaNv//XImAxmvCdcmuiq0O8QOXeHNIGWNU2DiDuPd+6j8Kk X-Received: by 2002:a17:902:9883:: with SMTP id s3-v6mr4360706plp.96.1521258085858; Fri, 16 Mar 2018 20:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521258085; cv=none; d=google.com; s=arc-20160816; b=gyKy2jyKOvSDKbuUDwjbHZ+FHy6qD0Qf4CaCKRGjlAcZemh+tQf2x+6pp+dE4+BXGn 3M+p0g7y1n4vLwTezag/vaHTI95JQa5JXv23EU3hgy5MWR9/0gpwYrnn+E6HIpFD+Rpg EqMjk0vVtfdN+Pm+bPbdu98lcm/iKGPuB/eA1N0TWxO9rUnB180y1MC/MOhoqPCPv/ME fZHkd8SmJKMyOiimO1Ew9rBCI7Ev5ScfL5Pkt88IzbuSOo0G/fIjZp4O5Mh0oS9iTYgx 719CTV0wMFBLg3sMjaLURd/qKuhJXt0hwNCukMnw1QeaFXZ36aD8N5+9lz4Yc+9wLUzJ iNHw== 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=JyzojcD6ce2ybpgowo+ydIKbw/MbGaxsYby6fkXqLYo=; b=KemMN7/CgZzbDFFUlrd0U5maDxQZr+5awTdh22vcwVF7ANBE49dVJosso/wdMCxaDF A8/cEEHmhkp7qdS/7IqfmV49m5cx+9Eaw5mcLdBLUMx8KmRYjxYFkrC1rWfcAMcW9IDO DmE+446JPZkK9AWKYqUNPUq7capJC6IngA3bD1Kl4Q6cnsdcDE5qVFUjpX9gg2csMWav jwJ4Vn6p9qUXp0u3hg3FhIILwIbaQ2pUURJexrZ3TCVXQxitGJmxBgoN9TbNv4eIZ7yt fAdhsiFqrHDIHuXbIPdw1hOIHNdwuKthEXuBioGd8Ia66M480xhEEAZbWq+oTAEaInwp 0bPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ViauqvQp; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v2-v6si7279121plp.113.2018.03.16.20.41.25; Fri, 16 Mar 2018 20:41:25 -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 header.s=20161025 header.b=ViauqvQp; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 48EC87899C; Sat, 17 Mar 2018 03:41:04 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 2B9F978988 for ; Sat, 17 Mar 2018 03:40:48 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id i14so4847661pgv.3 for ; Fri, 16 Mar 2018 20:40:50 -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=x4NkTESie65fJotsXxejqNBT9GzO7m+dcA3yKdqS5LE=; b=ViauqvQp0FUwvNhBHW2wQAMi67kDYjDsnQsNWF9DQkPnv08r+Y+lGQLwkpnFaNNWZS 5JnFzZdlO/gwrV6gWwFr4n7w3oywoL8U/UPzo7RHrwbd1tVkJ9NG1I5FRPVYE0G4YaWV RviN7px+jv9r89EScerI15+JtrG1M5IDtKG0VjM3lIM86bUFx2hJmG5gGencWqfvMkH1 sTS+qCy+hF5sBgZq4owUYEq+u46h6UZArLaVosORJ2n0GDDdhJSyBLtaY8L/Ukq+CHQu JF3hC2FGHWzNrMZKqZMSNf3Spgz2wHDipUaW6yO1n43wIZV7N4oHoCHk1ORUbLZ1jDbo 5qkg== 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=x4NkTESie65fJotsXxejqNBT9GzO7m+dcA3yKdqS5LE=; b=YSKj/MmMLy7AxXQ0R78XiigX3GQ8fPVehMfTD3SuFohTrX+flUR+5f/vWE97j29hGr QvkXZl6kIWdD5ZSTJOm4rdm15Ounjo5e03Zl6hSzVlEVKB+isrB1B/5zDQP6lE1ziFK4 QtbMitYGVw3g0ZOzHuQne0WlRcRzh1JZVdan1r39/HYbNXFtPGkClsb5lpxd7j6NLGTu KePhO5iKKBTCPADCy3m8EHosmv8ZAp0cE9wG7t8R93Y7JQdkq3XcilsZqXXX2egfFOhQ k0L+nzb9CZXhDr3yTPAmbSTTKFPubyoPU9hugur2umhnPE87u9Gm4Q5WaGibSFCm6LMP kD1w== X-Gm-Message-State: AElRT7GAsJVKlJIVkXKPMnMRi+56jTC3ka98oqXXmMtmaJADOxZuosUU MeYTxVDibdoSQG/8+qAkfw4ofw== X-Received: by 10.101.99.66 with SMTP id p2mr3269678pgv.384.1521258050125; Fri, 16 Mar 2018 20:40:50 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id 184sm874800pfg.124.2018.03.16.20.40.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 20:40:49 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 16 Mar 2018 20:40:36 -0700 Message-Id: <4ba522fb958aa945019feecf16c73f001b04346f.1521257828.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: References: Subject: [OE-core] [PATCH 5/5] dpkg: Backport riscv support 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 Refresh patches with devtool Signed-off-by: Khem Raj --- .../0001-arch-Add-support-for-riscv64-CPU.patch | 54 ++++++++++++++++++++++ .../dpkg/dpkg/glibc2.5-sync_file_range.patch | 21 +++++++-- meta/recipes-devtools/dpkg/dpkg_1.18.24.bb | 1 + 3 files changed, 71 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-devtools/dpkg/dpkg/0001-arch-Add-support-for-riscv64-CPU.patch -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-arch-Add-support-for-riscv64-CPU.patch b/meta/recipes-devtools/dpkg/dpkg/0001-arch-Add-support-for-riscv64-CPU.patch new file mode 100644 index 0000000000..45c606e690 --- /dev/null +++ b/meta/recipes-devtools/dpkg/dpkg/0001-arch-Add-support-for-riscv64-CPU.patch @@ -0,0 +1,54 @@ +From 319f32d743f5b5e725012654d124e49226d5de91 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 16 Mar 2018 20:28:24 -0700 +Subject: [PATCH] arch: Add support for riscv64 CPU + + * Architecture support: + - Add support for riscv64 CPU. Closes: #822914 + Thanks to Manuel A. Fernandez Montecelo + +Upstream-Status: Backport [https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=dpkg%2Fdpkg.git;a=commitdiff_plain;h=ee0855cc66076691de4796be48f8a0d889fde001;hp=2f5816d8be40b449d2473b22f9e0c33b32f3bd78] + +Signed-off-by: Khem Raj +--- + data/cputable | 1 + + scripts/t/Dpkg_Arch.t | 4 ++-- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/data/cputable b/data/cputable +index a2bd7d6..9f2a8e0 100644 +--- a/data/cputable ++++ b/data/cputable +@@ -41,6 +41,7 @@ powerpc powerpc (powerpc|ppc) 32 big + powerpcel powerpcle powerpcle 32 little + ppc64 powerpc64 (powerpc|ppc)64 64 big + ppc64el powerpc64le powerpc64le 64 little ++riscv64 riscv64 riscv64 64 little + s390 s390 s390 32 big + s390x s390x s390x 64 big + sh3 sh3 sh3 32 little +diff --git a/scripts/t/Dpkg_Arch.t b/scripts/t/Dpkg_Arch.t +index d478b49..ecd5d66 100644 +--- a/scripts/t/Dpkg_Arch.t ++++ b/scripts/t/Dpkg_Arch.t +@@ -16,7 +16,7 @@ + use strict; + use warnings; + +-use Test::More tests => 16367; ++use Test::More tests => 16832; + + use_ok('Dpkg::Arch', qw(debarch_to_debtuple debarch_to_multiarch + debarch_eq debarch_is debarch_is_wildcard +@@ -162,7 +162,7 @@ is(gnutriplet_to_debarch(undef), undef, 'undef gnutriplet'); + is(gnutriplet_to_debarch('unknown-unknown-unknown'), undef, 'unknown gnutriplet'); + is(gnutriplet_to_debarch('x86_64-linux-gnu'), 'amd64', 'known gnutriplet'); + +-is(scalar get_valid_arches(), 524, 'expected amount of known architectures'); ++is(scalar get_valid_arches(), 539, 'expected amount of known architectures'); + + { + local $ENV{CC} = 'false'; +-- +2.16.2 + diff --git a/meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch b/meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch index d56b8a69a3..d48386647e 100644 --- a/meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch +++ b/meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch @@ -1,12 +1,17 @@ +From 9d260d408f9e17abd1d1dccd685bd7e80a3655a9 Mon Sep 17 00:00:00 2001 +From: Donn Seeley +Date: Tue, 25 Feb 2014 17:44:04 +0800 +Subject: [PATCH] dpkg: fix a link problem for dpkg-native on CentOS 5.8 + CentOS 5.8 kernels and headers support the sync_file_range() system call, but glibc 2.5 doesn't provide the syscall stub. It appears that this problem is known but will never be fixed: https://bugzilla.redhat.com/show_bug.cgi?id=518581 - Bug 518581 - [RHEL5] glibc misses sync_file_range syscall interface + Bug 518581 - [RHEL5] glibc misses sync_file_range syscall interface - Status: CLOSED CANTFIX + Status: CLOSED CANTFIX Last Closed: 2009-11-22 22:19:55 Kirby Zhou 2009-08-20 23:37:55 EDT @@ -60,13 +65,16 @@ Upstream-Status: Inappropriate [everyone else builds on newer hosts :-)] Signed-off-by: Donn Seeley Signed-off-by: Lei Liu + --- - src/archives.c | 4 ++-- + src/archives.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) +diff --git a/src/archives.c b/src/archives.c +index 4b2fc92..a92b795 100644 --- a/src/archives.c +++ b/src/archives.c -@@ -75,7 +75,7 @@ +@@ -69,7 +69,7 @@ fd_writeback_init(int fd) /* Ignore the return code as it should be considered equivalent to an * asynchronous hint for the kernel, we are doing an fsync() later on * anyway. */ @@ -75,7 +83,7 @@ Signed-off-by: Lei Liu sync_file_range(fd, 0, 0, SYNC_FILE_RANGE_WRITE); #elif defined(HAVE_POSIX_FADVISE) posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED); -@@ -1179,7 +1179,7 @@ +@@ -1078,7 +1078,7 @@ tarobject(void *ctx, struct tar_entry *ti) return 0; } @@ -84,3 +92,6 @@ Signed-off-by: Lei Liu static void tar_writeback_barrier(struct fileinlist *files, struct pkginfo *pkg) { +-- +2.16.2 + diff --git a/meta/recipes-devtools/dpkg/dpkg_1.18.24.bb b/meta/recipes-devtools/dpkg/dpkg_1.18.24.bb index c0c59f1410..6d8ec34768 100644 --- a/meta/recipes-devtools/dpkg/dpkg_1.18.24.bb +++ b/meta/recipes-devtools/dpkg/dpkg_1.18.24.bb @@ -14,6 +14,7 @@ SRC_URI = "http://snapshot.debian.org/archive/debian/20170518T093838Z/pool/main/ file://0006-add-musleabi-to-known-target-tripets.patch \ file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \ file://0001-dpkg-Support-muslx32-build.patch \ + file://0001-arch-Add-support-for-riscv64-CPU.patch \ " SRC_URI_append_class-native = " file://glibc2.5-sync_file_range.patch "