From patchwork Mon Dec 10 23:52:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 153379 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp10992ljp; Mon, 10 Dec 2018 15:52:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/XCwTCSy8Kei+oXSBtJ888cJkeyi4IeR0/LV9RX7F3+U/Ep/E0OFZe6EFGDkfIIXxTST/69 X-Received: by 2002:a63:b30f:: with SMTP id i15mr12688475pgf.240.1544485948533; Mon, 10 Dec 2018 15:52:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544485948; cv=none; d=google.com; s=arc-20160816; b=OZBSGEIwhZfMf0v/bSEMCzQUpCxcMZfJGF8YvUHJ8F45kBqKcst6UFqAWQMRSTUPTE hlqtt6XgvjvsPIpmEC7jqPEacA6Nydna4UWEexCgCrQ/49rFA+6wOc7/N8NcdhmpEudZ m1P4SRdOGOsMj5qc4J7mTciJ6DPVw1QESJrohpv8v7IPs/dJjQ9n9PSrGScGalbNi1gx p2s5GLBGPvxSeR19QyJyzghYDflfD5IHIBqQ1cm/4rQBMKYp8mfjC5ac5PsTo7fqjoea IoNJVP0qwRJBE65yvkyoD9Qci5jbBxf7fIhKNaXNHvo94+a09+fOXuH0N3DkeNVzsL2K eqNQ== 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:message-id:date:to:from:dkim-signature:delivered-to; bh=dHAfSnBWUOWOsiJk9LNdFkR7FNPndVZhrVQ8Jlm1VqI=; b=g1xwNLgTAvUOSBt8hn8+hUl8BQd7e6Lkrd37k0ETIHuhWAdQjurvjO8QY9V276PCn3 cTwui0Micv/dtuj5ycXKdPiBamuRI6pWcK/C2pfbgM9oGSGvpmNVcuR1GPZAFUmImYH8 2M7HBsTdlT1MrRZjyLQv7y9cUJc47eBOLWn/Wf6ZVEWEE2zpYq2fz4inFJVtoKaH1lOm HCyEcvlH+Oo+BGkDiqVzBqQL3g3szdUAK4bL6qSj4UfF+eGy6vkyfn2ggzq5YZ94C1xH OIc1A2nQWBpc1Ot7QW0O7lndSBbHyItOJ0tdRbUGG+8/4k6z1LWJukyGI5v7wHxunb9B BDnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=IErWivLv; 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 i18si10839077pgl.414.2018.12.10.15.52.28; Mon, 10 Dec 2018 15:52:28 -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=IErWivLv; 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 306836C48C; Mon, 10 Dec 2018 23:52:24 +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 545476B074 for ; Mon, 10 Dec 2018 23:52:22 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id s198so5738369pgs.2 for ; Mon, 10 Dec 2018 15:52:23 -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:mime-version :content-transfer-encoding; bh=A0oLEZhEYXWKL7Ra3SMvp0EsCmVKCYJdYZ+S2tYoqO4=; b=IErWivLvyjizFX7n0HGschOsSG5w/yxUlAILcbxovSL+XkQbLuIIL4KWtzIzn5Bxlx yi/OA7wgdz2B3lz83YbYN+HtDsULjjbtMcGTQ5g1XZq9darZoeDsFZYfjGiWKbu6XQS1 Hcyhitqph4ph5WVPb7IKAxDGIdEzHbgc/qiaXP7IbBT0yhrhY9GyfyHsppCWsrN/zIi9 Bk+dZXCXQ6y/p4cT5JILcXO4RZbGchQW+i6v1ei01+2AdSyTspQTt/BVjgTY1R5FE7H9 3VaWxErb6JOdmpTMCMcFVsNOJpZgLChDkw2/7CfOL+lKXZaWhdCQh9gj7vbsQwLvuVl+ /HAA== 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:mime-version :content-transfer-encoding; bh=A0oLEZhEYXWKL7Ra3SMvp0EsCmVKCYJdYZ+S2tYoqO4=; b=HTWHJJbNtEbPfONwmYDCWsRpuaRyIiOMGISdLtofwo5WAEwdetDeAbi37JrDPC7ORg /GzoeYHENCpD3vsoa/t+Xrvii4oV5JvwBns1fYsEZK5UWSb0AZTy1dF41dLuT/ChK2ec YYTFy05KsQ1GeRzeQRBEVIuY4tuyy97eEGN/dd8Ce7vyMVOFToq1nh5ksvzebz2VOB7V FWwW19/jX2ELFLBniv7OHW2qqQr/zSC7s5RWZYgSxf6zF4VPkb3JLpFDZ5Dg1IuOy9CG o/CmAq/PwHzjRdJiITSjXSt4INIdy6qIW9aV7EfYIWbSaljt2borcUiZY6mtMVaLzvk0 youA== X-Gm-Message-State: AA+aEWaqHN0uqx0LBw/INNfkfwF/eqJ7GnKh+K7jpNwb8GWSHRSe05oj hgKpFW89grB/hePjYB0KiPBOM27m4c8= X-Received: by 2002:a62:5793:: with SMTP id i19mr14393608pfj.49.1544485942759; Mon, 10 Dec 2018 15:52:22 -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.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 15:52:22 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 10 Dec 2018 15:52:06 -0800 Message-Id: <20181210235207.11741-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/2] insane.bbclass: BPF objects may mismatch in endianness and bitness too 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 This ensures that bitness and endianness is ignored for BPF objects Fixes QA issues like Bit size did not match (32 to 64) kernel-selftest on /work/qemumips-yoe-linux/kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/bpf/test_btf_nokv.o Signed-off-by: Khem Raj --- meta/classes/insane.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index dbe9cc6162..6411884f92 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -307,10 +307,10 @@ def package_qa_check_arch(path,name,d, elf, messages): if not ((machine == elf.machine()) or is_32 or is_bpf): package_qa_add_message(messages, "arch", "Architecture did not match (%s, expected %s) on %s" % \ (oe.qa.elf_machine_to_string(elf.machine()), oe.qa.elf_machine_to_string(machine), package_qa_clean_path(path,d))) - elif not ((bits == elf.abiSize()) or is_32): + elif not ((bits == elf.abiSize()) or is_32 or is_bpf): package_qa_add_message(messages, "arch", "Bit size did not match (%d to %d) %s on %s" % \ (bits, elf.abiSize(), bpn, package_qa_clean_path(path,d))) - elif not littleendian == elf.isLittleEndian(): + elif not ((littleendian == elf.isLittleEndian()) or is_bpf): package_qa_add_message(messages, "arch", "Endiannes did not match (%d to %d) on %s" % \ (littleendian, elf.isLittleEndian(), package_qa_clean_path(path,d))) 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"