From patchwork Tue Mar 20 03:59:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132118 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp368179ljb; Mon, 19 Mar 2018 21:00:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELugsGf1t0eHnZHnVVpF9XPyyHbSDbPVaRZt9I6Gl2GowgosK5gsPDIKQSdca+OoE0YPjDIj X-Received: by 2002:a17:902:5609:: with SMTP id h9-v6mr14867249pli.121.1521518448034; Mon, 19 Mar 2018 21:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521518448; cv=none; d=google.com; s=arc-20160816; b=qJcC+YwLWH51kbeL4qtONzN9R7DK0ks2MjXBhcV+PeCfVLze2LxlcQ7wdeoy6QwcCD UQPQzrJA8gvPAONAQ/XD0MdsoYiCmWxAbMJTTfII3mNVnwf7dcKvhMWKNRximkpCojL2 IKw3B3pJ4FYZArRbg7oOhsuyskopVFnG2SUVt+7JXL9NKa1w4j+cjRIQ/mKm7fBzCxBE HfO/tmCpo/XZeynBbgL8OuVCU5nrhcHVxrerzheEt+cKVBimEc+193vECY21em8ucBtF RW7Oy2PkXMYglK9fhcBCqVcbSh2EQObnnkfodYdGl99rZDk1EbPX5uwJ6yssncZO/OCL 7/QA== 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=MtHC5YA7EYt5kbCoc4Il0rhx/5tdQhpMhBk2XDdIJF4=; b=Wnh1CvDL5FwwQ4tzo1YFZhjQvYtdWKxADcw2GDTb96l40beEs+GfP6weYud8u1NHs7 Ws+Mel5Bo8s4odhYwvljOdBK7FAcL5cM6qwBNJX6ZXW29BI/ISBl8VcmSfpvWCQnqFS7 rkOVji6eszuXYMlDBXB1RYqF8DO7BL7CcUi9mFZ05MAKMN3l2lltDiEwpH1d6zti+6jJ ON2X5U86eNKBzM74vCg9+dKebZbAC1jsJjZzNlNUxJPbUJsW7JREkhbDEHx/3VSLQWxN 1j8SpWGPgYsd/lGUM9nBxfyBRKq16okC8CVhj4RhSjheUSUq/OtS20zDZmxwMlJG6sfz v4iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=NfrhCNEx; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l59-v6si780343plb.77.2018.03.19.21.00.47; Mon, 19 Mar 2018 21:00:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=NfrhCNEx; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 6B35F789BE; Tue, 20 Mar 2018 04:00:44 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f68.google.com (mail-pl0-f68.google.com [209.85.160.68]) by mail.openembedded.org (Postfix) with ESMTP id 3104278947 for ; Tue, 20 Mar 2018 04:00:09 +0000 (UTC) Received: by mail-pl0-f68.google.com with SMTP id b7-v6so231303plr.8 for ; Mon, 19 Mar 2018 21:00: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=/zv9wJ5fPqiYX4KZ1/GAB2r0CWpKC25Ts9RO9FY9aFw=; b=NfrhCNEx8ChKUewDjJebkpa5E/kRMDhtDLCfM5P19vKE+BXTqUlhIdlR5k9xRTL0fd mRjCYtnDhqzHuFALbXW1xqiwrvL9tx8w81f0gp0LpfAod7fjf+xsx38h98+4x0FS0B+C ZiidCK6igOixiAOYTvLqoDkzVuBBVO9xBRkxjyfeqNWQXlhQutQvTkmd03WdgC7II663 i8J1GBGuhPaxkjB+gDPFQ4NDLyqMa5VEF6HROS5lMJTD7fH/8FHYMc/YxHASXmFLwwjT UIMu+e5K1WXgZQd4Art4mKxseOWOcfkpa0TwT/UKkQ2HTHa7oXi1L5l21X0IRAYKGAAA j1Zw== 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=/zv9wJ5fPqiYX4KZ1/GAB2r0CWpKC25Ts9RO9FY9aFw=; b=UznpB7dt76NJefjjEfWmB3G1CwSpf3dylWCy5PQimso9dZX9LOrQbz0SlQMOlzJshz t7yTQIepH2khIF02zWPrLw9iGpPm7b5WJ2ond/b9V5/zEx/0vpMSuEsUddIm6KTGc3/G F/Oadgd67ZQAuXdJUYKTgZogIJch0syBfjBHWPDILqnA9wLG110tq1BamE1hy7tLyml1 GrqxJe6C3Ial3wgoRRfbpXxS3tJ8AZghSHu/teBA70Fh1/blwzzbfOTvLRdJOr7L4Jiv +xco9aPhHqEpU1FIiSNynbR+MH2SY8wq2L75YyfgJTWnbBaIUDRbK9jD9SmF9D+ncUqn ztGA== X-Gm-Message-State: AElRT7Gk9J8xdvG6nP2WHKyEeE2CPtskFr1SZoxBS+L/PEMtRCBtxZLA IbNyD8wOYrNQhVOPOrIEiHNE8w== X-Received: by 2002:a17:902:7b95:: with SMTP id w21-v6mr15278097pll.260.1521518411250; Mon, 19 Mar 2018 21:00:11 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id m9sm927862pff.143.2018.03.19.21.00.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Mar 2018 21:00:10 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 19 Mar 2018 20:59:56 -0700 Message-Id: <20180320040000.29408-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180320040000.29408-1-raj.khem@gmail.com> References: <20180320040000.29408-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/6] krb5: Add -D_REENTRANT -pthread to CFLAGS on risc-v X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This is not defined by gcc for risc-v, probably a bug in gcc but until then insulate ourselves Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/krb5/krb5_1.16.bb | 1 + 1 file changed, 1 insertion(+) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb index 3bdb090be..267a40ced 100644 --- a/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb +++ b/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb @@ -51,6 +51,7 @@ CACHED_CONFIGUREVARS += "krb5_cv_attr_constructor_destructor=yes ac_cv_func_regc ac_cv_file__etc_TIMEZONE=no" CFLAGS_append = " -fPIC -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" +CFLAGS_append_riscv64 = " -D_REENTRANT -pthread" LDFLAGS_append = " -pthread" do_configure() {