From patchwork Sun Oct 7 01:29:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 148332 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2089304lji; Sat, 6 Oct 2018 18:29:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV60eI3nQWWS53Zh4bNpH+DnY8Z2gj8gbB8fsL6WTgSID5Rr5FLnTj6OWwg9vNLl4R1EZ/ZmR X-Received: by 2002:a17:902:44:: with SMTP id 62-v6mr18156133pla.181.1538875772715; Sat, 06 Oct 2018 18:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538875772; cv=none; d=google.com; s=arc-20160816; b=c2N8lslRswqbxrTwOGi6gzvb+ocSRw/9uAOMcQlAFGOfL9Pfo4rIY4XxMngMZ9fAGr nZhycTMJ7+xtQUbaEhEfLMtn8lbrtjHOwzcyUGkCt42A/oHyEAqA3vfOhKIdYM/83Q4U UAG4gkia6bYM+h+788L8K0KAC8ONOESObgSTF06l4nBcyReeUV8/tbf452saRY3152M3 9qFrsueBPh7nDZrxj2FJq8uosj6S4U/pIvVZJWh7Lurg2HsUZCo39ruZZwnijYIj9ZrE Tqu57htbL2DOy8wvR6klguVf28KvszgcMpegoAOkgZkHLvjQaATp6wwW49m9eSX120yC U/ng== 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=bMmDDq/0jsrC2qDX0YXgtOqR+hwcyb+NSS7IsrG4eTU=; b=rsJAEIExDb9YyGutTWeQSnVP15W6N7kt6NykCbUccxcfNyO5RUCSEctQK5WZAMx+Ic CAO/+bkg32aqEKfjegVTYJjVrAIz8m5+mzav/Xm7knRmPrw8FxfFkQ0TF1JUE15UHaXV hThICkpW1HUY2NiM7mkSaZLu3XZM91tBNF1F50shcbXdNWJ3l0SNj7YwryJogbaP68Ap 6EhAQ603chx9gmmzjWfTUxS1ZX6B91CqQJizsBy1R9mhCXRl2u36hc+zZu6x9BAm6ACu fKmKPP8vEG21Hk+MlO5XAm1ZKZHhW8o1qXaWvw4S4zZz9aP9sG+Jgp7dS81j//TEVHOG Y7jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UbVfsmeo; 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 i7-v6si2883252pgr.147.2018.10.06.18.29.31; Sat, 06 Oct 2018 18:29:32 -0700 (PDT) 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=UbVfsmeo; 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 698C778E49; Sun, 7 Oct 2018 01:29:26 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id B61E6605BA for ; Sun, 7 Oct 2018 01:29:24 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id s5-v6so6756745pfj.7 for ; Sat, 06 Oct 2018 18:29:26 -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:mime-version :content-transfer-encoding; bh=5aDxNOi+4ET7pFTIkpxZe+/ELNVUZoCgb6IXFzG2E0M=; b=UbVfsmeoUOlJW3JasFFrTZozyx6b2Mc9Y6dad+tzdZCD5zIijTLKZFt2Eopbj+Lrpz /jwt3EJPZM6tR8LeQnCknxGmZyoeKuIsFjacPkW6m1M5FNWc8qkcFqU29CpOosmb9FSF 4EE2nEuIHsIibmJGSpTaDyISYGBuSD12mhNLxv46FRDev7OFE1NifVQCntsuEpuDwRVc 8+vUStsFWBfO1H0XHKwhK1gphYTCM35KgA48iIbkaK2ZSp7rK2GjOKxqSCYkP5YJmNnZ ZhVb3j/dv7BHFfN4oKhoFTPYk/cBzWO6gERRzQFQH2dj8bv2MQbrRGzzk1iY7RFrcRB3 nIIQ== 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=5aDxNOi+4ET7pFTIkpxZe+/ELNVUZoCgb6IXFzG2E0M=; b=MSwTgxEYpUjN7l8g5Lea1U9X/XzcQ+iahNyBWtqY3r7tm9Ckp1h3IUl+9MiO3bWStt 65u8NHzWOBLCDAS59A3KEXkK/47rOQGFUUJVVXyYmSV/3oCiOl0CRT4ZxEhSNEryCnLQ RHSM0pIUW7LH2UVI/eZ59mBoIwf5rN7E6a2qHf74gNmFTiBmrgmX8OJhPnobdJN04mfa vx6vbQsLEEQsVR6RqBx5XLLByTa1bCpdyA3usfp4GtDm/uha6lCxY9ZmKjrftSQXpY7m fECaa7+LE4Ma49vdg5VhNqNki3tMZ8/EewKmIpgaMfOfgV4UWgz0YdlyTRuZTejvPzCV sUlg== X-Gm-Message-State: ABuFfoglcSVwuX7hrqAriJiwJXcGtOI0OobDnbJ6hSZHZbnBkBVBmDgt Z5jG5Fv1mrO+6MSWQ3+NgDIIqHav X-Received: by 2002:a63:4f4f:: with SMTP id p15-v6mr15708771pgl.71.1538875765330; Sat, 06 Oct 2018 18:29:25 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::fd07]) by smtp.gmail.com with ESMTPSA id 22-v6sm18464919pfl.126.2018.10.06.18.29.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Oct 2018 18:29:24 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 6 Oct 2018 18:29:16 -0700 Message-Id: <20181007012917.27828-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/2] ffmpeg: use bfd linker always for x86 target 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 gold crashes when linking, so use bfd linker here, another option is to use --disable-asm but then we loose performance. Signed-off-by: Khem Raj --- meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.19.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb index 58f58fc5c8..7d1af04047 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb @@ -117,6 +117,10 @@ EXTRA_OECONF = " \ " EXTRA_OECONF_append_linux-gnux32 = " --disable-asm" +# gold crashes on x86, another solution is to --disable-asm but thats more hacky +# ld.gold: internal error in relocate_section, at ../../gold/i386.cc:3684 + +LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" do_configure() { ${S}/configure ${EXTRA_OECONF} From patchwork Sun Oct 7 01:29:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 148333 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2089519lji; Sat, 6 Oct 2018 18:29:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV60lhfHPjHCCh3q4skuw57sRWq9+ezmdKPefYI6D8diForMq/2m/RNfiJEkircu6t/Zm/9SK X-Received: by 2002:a17:902:e012:: with SMTP id ca18-v6mr17607889plb.195.1538875798335; Sat, 06 Oct 2018 18:29:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538875798; cv=none; d=google.com; s=arc-20160816; b=XqSUgRXuvRb/ZqB47pArC2QA6Oz7vQrdL895GhQBGgT3LqzhJlb5qZdncFBsYXpGZy KzGt3yb3qRLkqhfgEc5d+h1b5jEwv7SKrNhzX7EoqtiLHJ+M9jITd8izdV9Co36/RFTs oPQy1Ow8znBFAjTGlAU+TKtu6dffikqSI/3FVSRQW/doeIxCiHj5c6hjivPP9mEftKD5 ihMzgfCORHir1ovMxZNr9sp8yGqUokHUnPIu2pTP6aD5k7UxFRZRQOXzBtgLTBVBj3IN JIrnErFQH10oPc/IMrGDNc6BBDUun/c0jN/nbcYrsW0n3EYis8BTAOL14LntttzeWy+/ DdSA== 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=fqk0e4aQZWSqBAwYQfPZGyk/FsKwiiNcpEkxTJZ6nDo=; b=Q/eWVjVCOZ/dR6P/HofcFgkB3fF7ZovmQeTr5xx5Bukw7RnK831dYsB/hhIXGnYpa1 DQQJYnWDX+ac4FI/rWVyR91rwK6gcUAXqBsakk0wXZx2F+8Uq1FIIXGXMPJDO0WOtxWV SzkxQzhn+E7AKdSqaWqxGMGKKopeF6NERkL/brxj+f6k9WOmGvyUlN8v5/2PZv+Rc/2R SssOMBD2EQoMMCkSnXRda1kUXt6dtjk1BH17pASlT3B+egXaVPMnVCc1liTle20h6tln mZROfAEuAMD9O0+qiq6xSo5HcYT5vNkMbj+j/3SlY35yi376ZuNqn+Y35N0dYf9kgOKd 2gyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TB8kpRE2; 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 w6-v6si11624896pgw.316.2018.10.06.18.29.58; Sat, 06 Oct 2018 18:29:58 -0700 (PDT) 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=TB8kpRE2; 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 7E32D78FA0; Sun, 7 Oct 2018 01:29:55 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mail.openembedded.org (Postfix) with ESMTP id 7DCA3605BA for ; Sun, 7 Oct 2018 01:29:25 +0000 (UTC) Received: by mail-pf1-f171.google.com with SMTP id d4-v6so6779344pfn.0 for ; Sat, 06 Oct 2018 18:29:26 -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 :mime-version:content-transfer-encoding; bh=WQQq8U+FlC0U6ntvR74KdsBnYg9VKjJtvobi0jeb9QU=; b=TB8kpRE2QrxqzOWNJ5blecioZOZxnklGkzZgrtE5O0iPZDW2YvB8v/HF9B6SASXHEl zPPei97zMUIFjvI2pMoisuIaMS/ck0K1J6g+Kdsxw/U1pfQGBMy0zMhSCYgf5pVuNtX/ f8ujygCtdQw/DRm9xr6hBl8qVg5iGjM001jWApmaH+VVL3dQ5uqFjmz8uo1iWXOZsPwX LNcpI65RJ9L7vxLz3if2F6Q+2lXDjhjaVIkt1N5UY6vwIHJhsOt5WU+vQc+5INiibvTa w3yY0asbIFiKfZm6ywIchorS4HBVOJHriWPtUiFXQzP/oC4vGmH7w2Trh48PIvmOep0V NWgw== 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=WQQq8U+FlC0U6ntvR74KdsBnYg9VKjJtvobi0jeb9QU=; b=XIgyfxyYAwh1CmGgy+VWxrNjr7B4iDWz7F9Dg1OUrUCVFryBX69QIBPZrELpLnsoYS fG2UC27VQYdSZ4D9zdGRm3CV7QI24rYKBRloy7poEYEuGoMyP9ceCMe9I2pDWQC0vx9p 8FZ8yO296BMBPEstPILAV5dw5bjwOy1D8CBGD/KNPtpJEJsCC3nsWcWkVXR4ztTljKmc Q5PCScOm7jHLRaZg1ianuq26GKh0jmcXVS98ivSw4QCwcGguvhbJxxdvkMdu0Bml7TBz CqRdTDgLLZZMdNFwwXpi8e1t7x0omPZtehRBFJLaodGBtEldUWev55NllA+k8GmTppLN tBvw== X-Gm-Message-State: ABuFfogn6n5JjF3E7g0tYhBjxFY2EJ+WLfA6w2D9DBHwhwSBujFzc0G8 bJDe9hoXA3DE6JQzoCyKrNMFGXNe X-Received: by 2002:a62:7788:: with SMTP id s130-v6mr18766899pfc.189.1538875766128; Sat, 06 Oct 2018 18:29:26 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::fd07]) by smtp.gmail.com with ESMTPSA id 22-v6sm18464919pfl.126.2018.10.06.18.29.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Oct 2018 18:29:25 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 6 Oct 2018 18:29:17 -0700 Message-Id: <20181007012917.27828-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181007012917.27828-1-raj.khem@gmail.com> References: <20181007012917.27828-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] x264: Disable asm on musl/x86 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 Fixes WARNING: x264-r2854+gitAUTOINC+e9a5903edf-r0 do_package_qa: QA Issue: ELF binary '/mnt/a/yoe/build/tmp/work/i586-yoe-linux-musl/x264/r2854+gitAUTOINC+e9a5903edf-r0/packages-split/x264/usr/lib/libx264.so.152' has relocations in .text [textrel] WARNING: x264-r2854+gitAUTOINC+e9a5903edf-r0 do_package_qa: QA Issue: ELF binary '/mnt/a/yoe/build/tmp/work/i586-yoe-linux-musl/x264/r2854+gitAUTOINC+e9a5903edf-r0/packages-split/x264-bin/usr/bin/x264' has relocations in .text [textrel] Signed-off-by: Khem Raj --- meta/recipes-multimedia/x264/x264_git.bb | 1 + 1 file changed, 1 insertion(+) -- 2.19.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/x264/x264_git.bb b/meta/recipes-multimedia/x264/x264_git.bb index c445d15e69..4174cb2819 100644 --- a/meta/recipes-multimedia/x264/x264_git.bb +++ b/meta/recipes-multimedia/x264/x264_git.bb @@ -23,6 +23,7 @@ S = "${WORKDIR}/git" inherit lib_package pkgconfig perlnative X264_DISABLE_ASM = "" +X264_DISABLE_ASM_x86_libc-musl = "--disable-asm" X264_DISABLE_ASM_armv4 = "--disable-asm" X264_DISABLE_ASM_armv5 = "--disable-asm" X264_DISABLE_ASM_powerpc = "${@bb.utils.contains("TUNE_FEATURES", "spe", "--disable-asm", "", d)}"