From patchwork Mon Sep 7 20:24:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1359252 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=qDxC6Gw2; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Blft16lwtz9sR4 for ; Tue, 8 Sep 2020 06:25:29 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BE0188624A; Mon, 7 Sep 2020 20:25:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLHbbf5A9dq2; Mon, 7 Sep 2020 20:25:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 307C086054; Mon, 7 Sep 2020 20:25:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 371A31BF2BD for ; Mon, 7 Sep 2020 20:25:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 227CF2042B for ; Mon, 7 Sep 2020 20:25:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5K7vQe1JHq9S for ; Mon, 7 Sep 2020 20:25:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by silver.osuosl.org (Postfix) with ESMTPS id 414F120385 for ; Mon, 7 Sep 2020 20:25:20 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id m6so16942598wrn.0 for ; Mon, 07 Sep 2020 13:25:20 -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=uFyzn+Vl4+0DfPBIxCwK6xyNCEIZeEpSXNQDM/kcg8o=; b=qDxC6Gw2IWJnFyHRsJVrr6OzBe7vbBAD4v6vQtd4pJnwIfcnfy19nDL1TAO/jfB/O6 AncYLHor+tAKiFJ4Jqkn6pliWe7ePD9b6xuTtclOaD050CE7Qhss1KNmx164xijWAPWr 6Pr08S5nfL2pfCXVjf+7GA5NxzbnH6GgbpFp4drVQWbh141LLY8tzKy6MP/jgelC1RKK GRgqte0EQ1sXNlmjaAjC9g7ZhAPst/3pG51PhzV6Ody4I2l4FGhEf2QpD+1Q9kRJaTza S+MLRO4fQnKzOeTS+/AmoEHY7OyR1l3VgN1xuu4qWExMVDJ3oA1rb7SDvkdD73DlQ7BT MHjQ== 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=uFyzn+Vl4+0DfPBIxCwK6xyNCEIZeEpSXNQDM/kcg8o=; b=BszRCu0iaMgy4EBo0cMHlUiXQ5fp9ACsxzfuN5vtK2OVMZsuojoUDMv33h/x5Lu4G/ L1YGJY5ZSGkRf/26624cyhd/KZ4TimJJhassIY3ZsFLY6GB1zkI9CisX1gQ1iE0TaXHj uQUCuJFsttkZxos0WJw5nzQjd/LqJLz2FDyRY2V270ajW19Ojz8Y4XFY6gAqM4H7QlIW uNLjTDQ960O8nEc3M2z/caMpTAompfQLU5UptWzv/k9aA60MTEQwuJ/WvjM/yBoBq/Et JI+RgT0gx4stw2DuQYOYULQ712JUs7A7FrRJL1Ss6zlofysvXQ2zubmmUYCdWkdQvk/t ustw== X-Gm-Message-State: AOAM5316p5J+8S8fk/77TJojgK8I/+DUR1v/w0o+fO8JVxwKY82dTuaJ e1njKbL7F5uzWl79xxCE5O04gC/QA+4= X-Google-Smtp-Source: ABdhPJzTMY9ilpNHSiKs1M2em9H0U8Vizge6xgRZY6wAcn2DMHG534z9+t2o91YfBqxxwIAom1JrzQ== X-Received: by 2002:adf:f50a:: with SMTP id q10mr22960841wro.319.1599510318333; Mon, 07 Sep 2020 13:25:18 -0700 (PDT) Received: from t450s.fritz.box (ip5b427139.dynamic.kabel-deutschland.de. [91.66.113.57]) by smtp.gmail.com with ESMTPSA id d25sm5566660wra.25.2020.09.07.13.25.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 13:25:17 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Mon, 7 Sep 2020 22:24:10 +0200 Message-Id: <20200907202410.12228-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/strace: disable mpers support X-BeenThere: buildroot@busybox.net 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: Heiko Thiery , Brandon Maier , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" On aarch64 With the config option "--enable-mpers=check" the configure.ac script searchs for a 32bit compiler. When a matching compiler is found in the PATH some compatiblity checks are done. This can fail when the available kernel headers on host and buildroot target does not match. Since buildroot does not support 32bit binaries when building for 64bit architecture (no -m32 option) we can disable this option unconditionally. When disabling unconditionally also the configuration for toolchain using MUSL can be removed. Cc: Baruch Siach Cc: Thomas Petazzoni Cc: Brandon Maier Signed-off-by: Heiko Thiery --- package/strace/strace.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/package/strace/strace.mk b/package/strace/strace.mk index 8403e09cbd..50e6d90a87 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -9,15 +9,7 @@ STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz STRACE_SITE = https://strace.io/files/$(STRACE_VERSION) STRACE_LICENSE = LGPL-2.1+ STRACE_LICENSE_FILES = COPYING LGPL-2.1-or-later -STRACE_CONF_OPTS = --enable-mpers=check - -# strace bundle some kernel headers to build libmpers, this mixes userspace -# headers and kernel headers which break the build with musl. -# The stddef.h from gcc is used instead of the one from musl. -ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) -STRACE_CONF_OPTS += st_cv_m32_mpers=no \ - st_cv_mx32_mpers=no -endif +STRACE_CONF_OPTS = --enable-mpers=no ifeq ($(BR2_PACKAGE_LIBUNWIND),y) STRACE_DEPENDENCIES += libunwind