From patchwork Wed Dec 18 02:48:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181960 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp59844ile; Tue, 17 Dec 2019 18:49:13 -0800 (PST) X-Google-Smtp-Source: APXvYqybqO770HXcPM4eyOO4ADcRYn6nGlP/EG25Nt2Lr2Tw3nVJRbZsaVBr0KuiZFSBcVouWrx0 X-Received: by 2002:a17:902:9a8f:: with SMTP id w15mr1586926plp.149.1576637353413; Tue, 17 Dec 2019 18:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576637353; cv=none; d=google.com; s=arc-20160816; b=q3P0JSb2XzRZUgl6ZvD5s5gkcJypMUcQaBWxlBKCNV2Zlb+WZkqXRoD4fj3QpktEbb 7SQpvDzVnlbuHVkIx7sonWXnPSu3xkUG+tkdfbAUBE/PWw8Nuz1uZ1BlE96uVw28kgsU Bk2hfIUg3AmrPCIkFQmSql/r6tMBCM5z34DDIgdVnzcqri1pzVDGxmLu0JoZtihjvS1s aE0ux3fhoasFUW7e7briy6vpkvZyFNfR6FojQAU3gws4y6IQKVUAmOM2R4h08eY8F8N5 Kwl+zmjhmyRCNq66RUJIAi/OL+k+zaDQ4JFab7ftzwTyCunc9vwQOh+CoTb27RHUJ2ZU Ep2w== 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=JVa5goGdUGGS+WESLe6RGLOSL1ipwGg15NPeSfu1IdA=; b=PRXNJhRX5gCJ/pIyqgJIkZKEo1NrkktlFni6vP+zUdi85Ia168iDi2QuW6AtwYImoP xE0I37gXUT/ATH+ta6nc/rpeMp+m8SBy8H2zCHnFijxF2JHAyKxKtbqkfWtnYRgU9YpF KfnRo+m+66yeIx18f9/9LsD7mFUFcxytT+jxiFbpFZBXHncsPtXK2cUeNO6giqYEYloL 7ehlqaACMtbIH8co3OGGB8CmpIRz3hDSjBxlNml27/PIAOwSpqGf2J0GnEHk6D/c4w1z qG2PeZ8k4TQ1G+wrH+rs+7CdrzdEOKQpjdqCkwWZOzr+9oUXuL6Etj5udp0i6hXnA8I+ M7RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=magmKimn; 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 c12si1033559pgn.567.2019.12.17.18.49.13; Tue, 17 Dec 2019 18:49:13 -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=magmKimn; 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 358117FF3C; Wed, 18 Dec 2019 02:49:10 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 CD15D7FEB1 for ; Wed, 18 Dec 2019 02:48:20 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id 4so344409pfz.9 for ; Tue, 17 Dec 2019 18:48:22 -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=R9gmQxaqli4c/cy2MeWSzUYbNDknSmhJCEpKwdniNxY=; b=magmKimnESBal0A7j+a3tEFoHgclYNk7Vwz5CP79L3yp6ZTNSGItxJVSn7j6OSYq9b C/6G1gFSYEyx5XgsVQWeQd8CWP+aEwGwhIgShzOuy/6Gqvb2yiKwQHuc4oumtJgs5sVT 8zMhvjN87xesPtj+5TAbxJn8IZiRJ+E5Y8ShDzdRh7oAugf9LE+3TISm2xFVTO/bY/RC H3eGwmaQM3oDWJl2HRw5PnskyQlsxd74acMsNari+7BTH9J9mNC07DbYOigSicBMJbkF mBvi88ADNKo+P9JCtborVpgqhu+7OZquPLkVyH5Cnu7viF3mX1tRazagLxecEOwouPE5 5ERQ== 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=R9gmQxaqli4c/cy2MeWSzUYbNDknSmhJCEpKwdniNxY=; b=BIrj/6Y4PIbIVxw74mddyxMQiH1DqlINp5JgmtXbUTkgPpls9Fm8vox8oQ4+k35WCd dYwIZ1foIqT4V4Q8iW1iAdyEMpsNrDa+cb/OJzCdtousGf/t5iG/oVPlKwbNFmfmW30V 5BbqYN2REI6hVlDnTgK4iOBH4e5XIcX6d+SQrwYp3qMj0GADu+zXU9XMNqDZGn6uC/oO 7zb16dwpmszHoBkoETm05IwiKS+miTCqY7RF+ZWtRDDGwGD/FwnyWgjw+QmtK13bzw1f lQsv+hw10xeXAdPIs06DxcphTqiK4GwTyI3nqFxrKBn1r4VMkAqMD02ygswaxpQ5lf6u qiHA== X-Gm-Message-State: APjAAAVvuRHEzklsqjyFn48yoJoJvpYkUzzJeWavurIQnMhgAqiIso1h 91TquGppLj2gYHXuAOGGg2CbVEOGFTQ= X-Received: by 2002:a62:7c58:: with SMTP id x85mr358694pfc.76.1576637301642; Tue, 17 Dec 2019 18:48:21 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2ebb]) by smtp.gmail.com with ESMTPSA id o7sm506370pfg.138.2019.12.17.18.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2019 18:48:21 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 17 Dec 2019 18:48:09 -0800 Message-Id: <20191218024810.2874990-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191218024810.2874990-1-raj.khem@gmail.com> References: <20191218024810.2874990-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/3] libqb: Add --enable-nosection-fallback with mips64/clang 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 Same issue happens with clang/mips64 so extend the gold fix to cover for this case Signed-off-by: Khem Raj --- meta-oe/recipes-extended/libqb/libqb_1.0.5.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb b/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb index b205186e0b..82503a168b 100644 --- a/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb +++ b/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb @@ -22,9 +22,13 @@ S = "${WORKDIR}/git" # WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld: error: conftest.ld: SECTIONS seen after other input files; try -T/--script # WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld: internal error in write_sections, at ../../gold/reloc.cc:791 # collect2: error: ld returned 1 exit status -EXTRA_OECONF_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' --enable-nosection-fallback', '', d)}" +NOSECTION_FALLBACK = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-nosection-fallback', '', d)}" +NOSECTION_FALLBACK_toolchain-clang_mips64 = "--enable-nosection-fallback" + +EXTRA_OECONF += "${NOSECTION_FALLBACK}" CFLAGS += "-pthread -D_REENTRANT" + do_configure_prepend() { ( cd ${S} ${S}/autogen.sh )