From patchwork Mon Nov 18 05:03:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 179581 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp2401649ilf; Sun, 17 Nov 2019 21:05:18 -0800 (PST) X-Google-Smtp-Source: APXvYqwith8OwLAy9jEOdxlKlZOyhNOB2yFn23TBLl86J/DnKnHzC72sWdJPZ8S3cNiPfDwGhrkE X-Received: by 2002:a63:d501:: with SMTP id c1mr28417098pgg.356.1574053517969; Sun, 17 Nov 2019 21:05:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574053517; cv=none; d=google.com; s=arc-20160816; b=Dvp60Ma6XTn8ftwtZvVwCtTRM/q4DOC+d6AZNpXnk03IuGR2gm8g8Q4xrqhlnTTHBD KP2v4QzmwWDkBOMqjrCFmKyyH4mvGlYj03HvZgoHqB4vqGGiWwg97SepeI95UUkdi8al FhdHl++xOGpE5VBvZ2rrQOjdaot8Ilkh0f95iAlg/d93mJd65XfBYf92xRrOa2bYARD2 Qhao9bknHQRHvbhfL8THvlZyNol48GZWbrg927rEchE6on/rNyUea0f+IeQ5+6+IrvFl RLzw3xjLKDFQmtUkNK6wCljI0osZ4TNRguyxh7PAmpWKyTxXncsIBDX0E4Fy/lvJLY/k 3BQQ== 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; bh=uCM/fXXPyPfBtB8keKkdTcHRXDDBITj+b1ALch8iUX4=; b=GsUii98szTw6eDMyRQcpyXqnuYT1B+Y38VzlnrsaLlNom32PpoNMz0mc/w+YU/wvxf Q6lK4BOMYYtyndJ4GwVK51BEt9jzCun0EWnPCfpVErHv5qobt25kLzUKzBqmwqABsVnS cmtptTUym0yVjdCHDHyaJgae7k3TWT5LNlEV2zOFKS17dSBRbgGvck0UgxDmIO/FhxDv kPWajbNVFMspHcusNSkpy+KN7GAo/wdn+fvF0Fozoxc/C89TzeubSqv2xy8j3/HRW3XM yZ88K11ZNx1bNbJkTQ32NTYzmgiVw7RK7UcpdIBLTRqdr0f+iasAfQ4mjBgpOK3qsokI YjnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=uoRoLtvh; 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 h21si17426630pjq.74.2019.11.17.21.05.17; Sun, 17 Nov 2019 21:05:17 -0800 (PST) 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=uoRoLtvh; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AE58E7F8AC; Mon, 18 Nov 2019 05:05:00 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mail.openembedded.org (Postfix) with ESMTP id E44337F8AC for ; Mon, 18 Nov 2019 05:04:09 +0000 (UTC) Received: by mail-pf1-f182.google.com with SMTP id r4so9759151pfl.7 for ; Sun, 17 Nov 2019 21:04:10 -0800 (PST) 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=dVN0ANCj9wPzXDb0J0jKNQAFKWXg+qMbocpb113YD3I=; b=uoRoLtvhq4R3bdM1ulveIRD+OaPdTENfmqZAtjJHXNe3E73qVHrXaDyKbwGbJgjLM4 lPG4tsIlMp6qMjOkNY4e4khlFNwl4zMAB1nSZjxSC88OPKIFcMYbC9AXHVvTChKQDCdG 1dZjO02j2dEdtyKhDBcOjKn2G5QHxHyraDk3J/Rj5RjwfndvNQarTS+A8XmMcEOXHNa3 Td/7EarSQlLSYeyttzDVlBk8wWF4SfS9j6fjENf3lugW3tv1Hgz51nF3YT7Oj7JQhES+ IS/1qB+ONhy41TiLPqNDxC6ge8wQ11QmyPzuVoRb42IHVqeoJugn/7c1JJ0YESDfcyzy PtOA== 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=dVN0ANCj9wPzXDb0J0jKNQAFKWXg+qMbocpb113YD3I=; b=C6KbS4QU8q6hWl0ebvr3oKScC2vvIVv5y1hvOiPs2HaP0jHani0/nkC7mCnCGUf2Fi xj9D8pJnk2MD6chbhURX+VYJnfh4vHu0WIvMiGliHXM2DonqPMwovus6Nzhf/hmYtsSC K1nVpSUSqvcMejDGFtIDnuYC234/T3ke3K4dxOzcTcAwgAVU1wQjaouHww1/fWw02LTg ct+MuXUUIzrp/bSVJnO1u41dARXma8hqkENE9sI3EDNQV11N147wPLw1/FpfeE4BjdPV S5uVUdA9LPS5XKQNZPvu+nNs+sfCrczEmzc9vOTbQqcTr8NLWYcCVlYpt2uZn4T2rayA Hrng== X-Gm-Message-State: APjAAAUWmeRwOCAQc2t8rBfcZOgFDAtmXIGNGD+zFV51FUA35xBcRI9/ EQEcfOt3vsm9Bg3qYBs70Th7+W1AcXU= X-Received: by 2002:aa7:85d7:: with SMTP id z23mr31977498pfn.24.1574053449680; Sun, 17 Nov 2019 21:04:09 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::30e8]) by smtp.gmail.com with ESMTPSA id y6sm16881131pfm.12.2019.11.17.21.04.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2019 21:04:09 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 17 Nov 2019 21:03:52 -0800 Message-Id: <20191118050352.1379153-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191118050352.1379153-1-raj.khem@gmail.com> References: <20191118050352.1379153-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 5/5] libtorrent: Disable instrumentation on ppc/mips 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org >From https://github.com/rakshasa/rtorrent/issues/156 all atomics (__sync_fetch_and_and_8) are not avaliable on mips/ppc, this patch helps workaround the build error Fixes ld: libtorrent.so: undefined reference to `__sync_add_and_fetch_8' Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb b/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb index a3902b25f6..3ee69554b6 100644 --- a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb +++ b/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb @@ -15,6 +15,13 @@ PV = "0.13.8" S = "${WORKDIR}/git" +PACKAGECONFIG ??= "instrumentation" + +PACKAGECONFIG_remove_mipsarch = "instrumentation" +PACKAGECONFIG_remove_powerpc = "instrumentation" + +PACKAGECONFIG[instrumentation] = "--enable-instrumentation,--disable-instrumentation," + inherit autotools pkgconfig EXTRA_OECONF = "--with-zlib=${STAGING_EXECPREFIXDIR}"