From patchwork Mon Dec 10 23:52:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 153380 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp11313ljp; Mon, 10 Dec 2018 15:52:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/W2ZP8ByWQ0Sbp9fzXt0PSEbdXXjWkSse2QNOCcnU9glOyYkvvjJiXbAxLdAkNkRx4yaxTh X-Received: by 2002:a17:902:14e:: with SMTP id 72mr14072522plb.287.1544485974805; Mon, 10 Dec 2018 15:52:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544485974; cv=none; d=google.com; s=arc-20160816; b=zQlRmxZ+VxVRtvJutW1bv3nl+aMH04871yULCbR7yqxUmMZw9o4UtATmEgE1N0dDN3 NHFt8zcEfIcPdVK/5d3r7yThWFZbPSr/tL6UbXCBEJsu3rotHl0yCpF+GC0g3VU+ysVJ LlS4zrzxvnFXjMb0crrcf2U7s8yRyALlGZ2Y6CyfQS1zIZZ47DyUZuf5Ek397mFRAcsq Uk6Hcp34NJA2aNFXpMBH1+n0Ils13n1re+hj0z3ISONhtglawX6hbcAx0ssri6MIVfql Pa9mVTIxXRk7xSWo5YDwcMb25mc3z3q8lbDIS1Fv2qDuukqY9Yo6ZnUEUKATRBoAM8ca Qlwg== 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=GTQPcflOYaVyZpKNgT/zSsoKB9WtWn+Gi0m/8QjDOhE=; b=ZuDcJVmE6vpiHuXzAAi0x4/UoHwhTV2gt+yhiem6IBarwaHSbGFaIHSFS1mK2/u46k kRJArMnfA2ekM1P4+Pb9U6i/Norec3V441P/+Mt0TY4CPIGPnIvyK4RbQ7v7JaLnP5qU TrzEKRgBCsGaljlg/78ntkB6ZGnzuj5LSyPxLNHX7o+MC6pr4GVIBcSdCIv+jIyOSfM4 ZpEWOktyz0+H7YI7GcaY7Vdd7+5l0XofHKHCHP8XRSGYz2OcNs5sV6bASqPKd+8E9ITY 0o1YszGY3LqkItipTZY4y4TOBX/zMw3fRit7iA876o+QH/Q5IaxdZxUn6PXupi/U8CXJ CRVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=pGlZaLPa; 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 b11si11835423pla.405.2018.12.10.15.52.54; Mon, 10 Dec 2018 15:52:54 -0800 (PST) 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=pGlZaLPa; 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 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0C8B06C49A; Mon, 10 Dec 2018 23:52:52 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id A1BEB6B074 for ; Mon, 10 Dec 2018 23:52:22 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id y4so5714842pgc.12 for ; Mon, 10 Dec 2018 15:52:24 -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=YMkIYTahY74g0JvwwW1ezPCvxz4VIFu/Cs8gLw7qy0s=; b=pGlZaLPary19TRyIlky0jBuSOFReiLFOB6mUeUcDm/oxgWazyv7CKC6e7gtAfQJW/x RckKs4fpD5borYWZ2xSVjzTRzf1uwkYUigOp7Pbl6oUQcZEC9IWIRoundbgkjWzIA779 BmfH2V2OwZWUi9UWrWWkDl74tf4KRrfITtm/XnNVS34EwbFwQYjv8DJaB4oyppwUURKl 5cdtowpvuTtLXvKnzuOgqyerTZCyWO7K+EZPATkAosQFkOmLiw8+HDhB8D9Wmrpeb90k JIIvHAnHIiFHLIB1IXwltXp+wLzX9Al5UbvBmNHWOgx+HFRAxO8j+EP5u7Vy3bBg+3RE CuHA== 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=YMkIYTahY74g0JvwwW1ezPCvxz4VIFu/Cs8gLw7qy0s=; b=j2p4IZ/DvjSRBv0nklnAt5/4HQZ9xXBYmvy+iF9PAz+rEr+6HFXpl0D4+hPzFl82w9 9Aq1JCisMy26umR1TFibMaXfPIuPgcEsUDuiefivvQgtuahmJjhU6hxkSxrg6Z29Z3xE iiUWgYxIdSebp6gOXOivwoQPjwsyeqa2osC/UMz4ydFkijhREkIcssRAm3KGK0eA+MlO jyEsBW2qmIW3v2l9AI/VExP9x3tbNddyolR0nJYh5jg+qE75QdnGOJ9JS8YqvqlBtsbp aaPKU97YKrvxCBj/nOXqQ3lUsczGHkSJlcDPmTjjHNQW8X7q/bCbPZ4FVBuiGvIehcSd F9fw== X-Gm-Message-State: AA+aEWaqRivxf55Gac/QOyBJebi5avcek4vNR9lo4T/nhqPmiCN3yAYn x5ohsI+ZF6JU74PPdbdIrrtwiEKcxYQ= X-Received: by 2002:a62:16d6:: with SMTP id 205mr14227205pfw.256.1544485943526; Mon, 10 Dec 2018 15:52:23 -0800 (PST) Received: from localhost.localdomain ([2601:646:877f:9499::6872]) by smtp.gmail.com with ESMTPSA id p2sm18841557pgc.94.2018.12.10.15.52.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 15:52:23 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 10 Dec 2018 15:52:07 -0800 Message-Id: <20181210235207.11741-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181210235207.11741-1-raj.khem@gmail.com> References: <20181210235207.11741-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] webkitgtk: Link compiler-rt for clang specific built-ins 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org When using clang, its increasingly using its own runtime which means libgcc is not enough to find all primitives its using. Fixes errors like recipe-sysroot/usr/lib/libwebkit2gtk-4.0.so: undefined reference to `__mulodi4' Signed-off-by: Khem Raj --- meta/recipes-sato/webkit/webkitgtk_2.22.4.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb index 60f1b3ea5d..196122002b 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb @@ -98,6 +98,8 @@ EXTRA_OECMAKE_append_x86-x32 = " -DENABLE_JIT=OFF " SECURITY_CFLAGS_remove_aarch64 = "-fpie" SECURITY_CFLAGS_append_aarch64 = " -fPIE" +LDFLAGS_append_toolchain-clang = " -rtlib=compiler-rt" + FILES_${PN} += "${libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so" RRECOMMENDS_${PN} += "ca-certificates shared-mime-info"