Message ID | 20181012102824.15460-1-sbabic@denx.de |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRBT7OQHPAKGQE7CVMFII@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::43d; helo=mail-wr1-x43d.google.com; envelope-from=swupdate+bncbcxploxj6ikrbt7oqhpakgqe7cvmfii@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="URma/IWV"; dkim-atps=neutral Received: from mail-wr1-x43d.google.com (mail-wr1-x43d.google.com [IPv6:2a00:1450:4864:20::43d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42WkZW1Jz4z9s1x for <incoming@patchwork.ozlabs.org>; Fri, 12 Oct 2018 21:28:34 +1100 (AEDT) Received: by mail-wr1-x43d.google.com with SMTP id g17-v6sf7395912wru.16 for <incoming@patchwork.ozlabs.org>; Fri, 12 Oct 2018 03:28:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1539340111; cv=pass; d=google.com; s=arc-20160816; b=Be5RWhDhYVv2kUveQ7qzPCWYpPRrGU9T9u6VJrKGUDEiPGFq2+kAcZY8nkh2A6rcO9 qI6185djxMRxUkIb8EMkupgvAgn0rf8ut9hjfuHXTttnJM49g5rRdFX2NvUGit2OBD/l 2yoHryStzxCKxAiInUzxB0SvH42yU3atBjaQe0FKaYKNnoBg9CV+Ol5oOC2sKkqH8vt+ 9sqkNEVR630Pc1BziZKRUGsuEQDEfIdvLnJwo0+az9ohdZSyNEyPj2zRbbJ35m/F6mfF yXFGJ7nLrI/hBLWGTafMEnx8IK9+NLfoWUHC544r15mROB3R2gfwaVs0QvQcdz7AU+Ko lIbQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:message-id:date:subject:cc:to:from :mime-version:sender:dkim-signature; bh=Z4br6WCMi941CRRESaYSeXbMew6fqGfXe4zSr73XzN4=; b=01At2gmQFfNyJioI7AZ7gyxrPSab2acwT2wxQq5mnoL6FYNDYme/ZSK053ZJ/8b3Yr 1RELVO7AFL77KROPcyZgBeKCVT/ru8QzceLcxNk/ar/y9ZiRPAljuPdNRkJnNy2BptIo nMrIjIAfZiLgYiNo6D7UYd5iQsFKCQvUGDQeiXy/3kCNW10yg3f0Q+8WLrcKUew0uU7s 4DO9+cYpXozobIDM9cYAYgddmR3+vkx+bOlQ7FRiVwVfbVKveY3mp8a/P+/jMfG4eFli ozOTgW+Bn8AbdhbCjoVsuXXZtX93TwnLJ6cZJg1CLsKH3zf+ZCPn8e4aN+uz6L6co/3d U8vw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=Z4br6WCMi941CRRESaYSeXbMew6fqGfXe4zSr73XzN4=; b=URma/IWVblQ3W77dXoBwOMw5woYaFmHDFuHMHidAYa7dOWf7EocivZyeOv8bGA7rLG CtEA8DhPCTGwIv8hs4mURYOQd6D/4NroJQNAoe+/opOB74mUmMf2ePqej1qoAdCx4l5C KjGNSRXBJOh1yZ3CzJ/m4n99C1oZ5sqrh3+M07RSv3XHA7IZ62Boer2rF9RUrR4AkmW2 fFSuigWj91UDfaBaIUK5Xyio2mUDW2SLDLjgAhlAq/h0b5a0oDGVR4M2HbROF3zgPKah 9G7/qJF3maFK7HvLj2+lRXZIiF5neI/+k16/04XpzhVYri+QE9kr8jvzLmiX0/Y6YyQY mFPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=Z4br6WCMi941CRRESaYSeXbMew6fqGfXe4zSr73XzN4=; b=IFG9pix5kotzHISmf86yviBoT1z4uCkNK+yWxFBBPokPOteA7WM7FovKp+b7B2Dl7L LQRNq8yCBKoNmak6R/YO7Bmo7gL3RfVEydVYYSRQcSjWZuBJLrN7wejX8aAKEKdoS/Y4 zFDMylYiqM1dh//6DdJAD9BVr4q3pzUI1C/dI/xy2TkQS3KI/j/RRCw+79F9DdjVSRQK 6qpRDP37b71KwrrJhtFxW07FdTMC8sAZ9HK+eKDWfuZ0jxSlkIE7YJY+ELUll5e4L/8n AxiRv/YK4qVenv3MNx19BoFCTvxPx/QWbDCWnN8rmSzT42jtRe9uIfBKJgdvRGm11eGM yeMg== Sender: swupdate@googlegroups.com X-Gm-Message-State: ABuFfog0XfdGfzS9ISoLUPlENVPTCJXlPhoH0xyIQG4TcQa3F1hzUXQr 1rfUnA9MbluLAjHki57LdIY= X-Google-Smtp-Source: ACcGV63afExEO1z6Sju+cguxZt0CImBFkXOfbwBuNqds7VbjSvRwscgQQPKsIpP9NBNF/TKYVgLUIA== X-Received: by 2002:adf:b3d1:: with SMTP id x17-v6mr57406wrd.5.1539340111853; Fri, 12 Oct 2018 03:28:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 2002:a5d:40d1:: with SMTP id b17-v6ls1270019wrq.1.gmail; Fri, 12 Oct 2018 03:28:31 -0700 (PDT) X-Received: by 2002:a5d:4e88:: with SMTP id e8-v6mr476504wru.19.1539340111336; Fri, 12 Oct 2018 03:28:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539340111; cv=none; d=google.com; s=arc-20160816; b=FrT2HLmezXa+qCJpOIj9vtTosc7N4SmaZCtSgddvVAMXXGfPWheAoajheWtA83hZWD 5Wqe8APco2nLoHPt3a3lDTP3CmeyaZTyn8lkCW7VeWgzLPKT4AUUGS/fBKYIX/XFbnGB +zTVz5YnAY9xpUYL3bDd//1OGvM/TxXOownZHYnJzEt9lepX5bT/pIULsMs15qxJ0N+R /bnwKY95itC9L8LQH1IoEKEWH/tguAEfKaTjJ4uNNTpXTs91Zv+x6eqxWlFGCo5udq+k NRql31cOp323U0Qfmw/JEJ8x6VgEIpC3qrgwSlme3hjaEwzYlIKUWbriBxRPaLDTygFn 2KNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from; bh=LjLrlpS1LAvcTFYz5Y9LxoE3w1gCShFl6kWkoEjG/1s=; b=gNR2OZk7rzgtvUTGmI2wwOEMs2TAQWMLOWtI/MJ9dkr8UBjc+oBpxB2S9mpK0K09UT zYVpBvVshCRPiNKiZ3SE5wlUyZh4tvemI/wl0/FK69raUjQe630OK6bwuvlIawa7HnYO 3lvB65xabw0afTkKA4CoF7EsF5NjhxkAUIXMTnvF+uyx+tPBnKlAdNMgJ4/9fdxBuPsb 7BuU811gjF8Yf+cDBb65kSgR3TkuzZpw9hZeDrVQvV0BELToe+ueW3IBs53bc/rt7CQk NExpqnYelnOLOo0n0ZKMRIvDXYXMm7TtB/wYY/8e6TnleqptUwbPpT2tjlWH/XcHLpyW i5MQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id 204-v6si1193251wmw.3.2018.10.12.03.28.31 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Oct 2018 03:28:31 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42WkZR0vZSz1r2R5; Fri, 12 Oct 2018 12:28:31 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42WkZR0kr8z1qrVc; Fri, 12 Oct 2018 12:28:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id FKa8h6DahunH; Fri, 12 Oct 2018 12:28:30 +0200 (CEST) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 12 Oct 2018 12:28:30 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id C5E9C45403A5; Fri, 12 Oct 2018 12:28:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id PRDpxj1XzEeK; Fri, 12 Oct 2018 12:28:27 +0200 (CEST) Received: from papero.fritz.box (papero.fritz.box [192.168.178.132]) by babic.homelinux.org (Postfix) with ESMTP id 0EAC1454019C; Fri, 12 Oct 2018 12:28:26 +0200 (CEST) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH] Fix build race condition in bindings Date: Fri, 12 Oct 2018 12:28:24 +0200 Message-Id: <20181012102824.15460-1-sbabic@denx.de> X-Mailer: git-send-email 2.17.1 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
Fix build race condition in bindings
|
expand
|
diff --git a/bindings/Makefile b/bindings/Makefile index ba9e75c..4152340 100644 --- a/bindings/Makefile +++ b/bindings/Makefile @@ -1,6 +1,6 @@ # Copyright (C) 2014-2018 Stefano Babic <sbabic@denx.de> # # SPDX-License-Identifier: GPL-2.0-or-later -obj-$(CONFIG_LUA) += auxiliar.o lua_swupdate.o ../corelib/lua_compat.o +obj-$(CONFIG_LUA) += auxiliar.o lua_swupdate.o lua_compat_shared.o EXTRA_CFLAGS += -fPIC diff --git a/bindings/lua_compat_shared.c b/bindings/lua_compat_shared.c new file mode 100644 index 0000000..b8019a0 --- /dev/null +++ b/bindings/lua_compat_shared.c @@ -0,0 +1 @@ +#include <../corelib/lua_compat.c>
On powerful server runing with "make -j16", a race condition happens due to the lua_compat object that is in shared library, too. Signed-off-by: Stefano Babic <sbabic@denx.de> --- bindings/Makefile | 2 +- bindings/lua_compat_shared.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 bindings/lua_compat_shared.c