From patchwork Thu Apr 18 13:56:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1925028 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VKzpN5Fm3z1yPv for ; Thu, 18 Apr 2024 23:56:27 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id F268641704; Thu, 18 Apr 2024 13:56:25 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id weQrzeO8Lf9m; Thu, 18 Apr 2024 13:56:25 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 00F6941709 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 00F6941709; Thu, 18 Apr 2024 13:56:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 067631BF3AD for ; Thu, 18 Apr 2024 13:56:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E082782031 for ; Thu, 18 Apr 2024 13:56:22 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id DdfuXl9MONRW for ; Thu, 18 Apr 2024 13:56:22 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.161; helo=smtpcmd14161.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 75CFF8202C DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 75CFF8202C Received: from smtpcmd14161.aruba.it (smtpcmd14161.aruba.it [62.149.156.161]) by smtp1.osuosl.org (Postfix) with ESMTPS id 75CFF8202C for ; Thu, 18 Apr 2024 13:56:19 +0000 (UTC) Received: from localhost.localdomain ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id xSFLr6yr3jEwexSFLrFC0M; Thu, 18 Apr 2024 15:56:16 +0200 From: Giulio Benetti To: buildroot@buildroot.org Date: Thu, 18 Apr 2024 15:56:15 +0200 Message-Id: <20240418135615.457970-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CMAE-Envelope: MS4xfPoTwi7ZjoC2y2hyROTBlvDRLunq0cGtvP/klve8F+KCcBfuHNkfeLqUGSterXpTKjc+Ih+Em7HMgIDrgofz/ZFZvwEJWAJfb2k8PbSfcjGTjxUMLc3c uPb41JsUQX3GiXE1Gp9MW0Kt7IIptN+ZkBErUvyCDSbR+aZ3cZu8KFfLR7woec25r9UCMl3HqJTG6RYUQt94MW56b/mFe9fvbdAqQGn8nPCFfXMep2/Iby8z JkHrmxrh7jTwUgsC1rIVdTI2BqIHEYo5neKK0HdLxjU= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1713448576; bh=SvpMIrG9drpfN2EeeRRkOK73FXtgXufRDsBU6jg3FPI=; h=From:To:Subject:Date:MIME-Version; b=fZw6dseiwtXfudu71NlUGEzux5ghHDRIlJp5f4f96vJVgWE6VXQLohacNSjloIucV ApLeR1H6ymnDk6Wfn5idhBDE2xXSpQUwdk+8un6sAXKxqZKMHxrayF+X8GRzGmRzM3 DSTgeFUybDDhaMwEvbWwt8ITgURUxWqlKI5VvIQ+eYvaGb/VvJueonrX1NODueoJ2v Q9wWLQn852uusKtkFLC5ql8lGxMwaLk8uGLJlSpcueTZCEvyhEqMuTW/5yqRa34c9y UmWtsLbM02nWecWLXy2g6gAayCSTZNpUA5JgHvXHyIAuzE33ryJoCRp3TNdfjfq/j1 VTWZN0MLTfuHw== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=fZw6dsei Subject: [Buildroot] [PATCH] package/elfutils: fix host build failure due to missing demangle support X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Giulio Benetti Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" When building on hosts with libstdc++ without demangle support this error shows up: checking for __cxa_demangle in -lstdc++... no configure: error: __cxa_demangle not found in libstdc++, use --disable-demangler to disable demangler support. make[1]: *** [package/pkg-generic.mk:273: /home/giuliobenetti/br_reproduce/c2524c7580d97f7387ec22da62be71d77f2ed8ec/output/build/host-elfutils-0.189/.stamp_configured] Error 1 make: *** [Makefile:23: _all] Error 2 So let's disable demangler for host by default. Fixes: still not showed by autobuilders. Reproduced on Ubuntu 22.04 with Ubuntu APT g++ 11.4.0 Signed-off-by: Giulio Benetti Reviewed-by: Christian Stewart --- package/elfutils/elfutils.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/elfutils/elfutils.mk b/package/elfutils/elfutils.mk index 87b51aa5b5..4d8cc43342 100644 --- a/package/elfutils/elfutils.mk +++ b/package/elfutils/elfutils.mk @@ -27,6 +27,7 @@ HOST_ELFUTILS_CONF_OPTS = \ --with-bzlib \ --with-lzma \ --without-zstd \ + --disable-demangler \ --disable-progs ELFUTILS_LDFLAGS = $(TARGET_LDFLAGS) \