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}