From nobody Wed Dec 17 19:04:00 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E92872066DC; Fri, 14 Mar 2025 20:04:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741982653; cv=none; b=Fc7lG7wDof09aUY6pNEVsHsxClUGqtgKNliPKA2JCweZapoY+2yGuuaZ0isiB+rHXHDF+0wvc1Qx1mVl31XsXXMpWT3PVunX1KgQzMU6LLr+EFejE7LtUkO4bEh7BvSizVRRc6ajYByPOQ3sRsNrhbXRCA3dkhgyfAHPO8H/cCM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741982653; c=relaxed/simple; bh=LmduzRFItPDgKbL+UeUD/rgxc+BnpulsYzsA2Nv/lzQ=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=RVPzPnLDbKTEIfyMpVW1TyOn2mZR8chfto83b+59htz+IOpz9QKWC0fg+g4fLZyrmZ3ryEbd5c95p94CYiymrpPKZp5dookX0Dq2QT0aevJCLNiE8qTIch285EbJGHcw4S+ndhM7k8+2Sujt8bLmqE0J5RmrYFzFYMUj2ZfgoeE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=CZRaQm5Q; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=8SdoCtJG; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="CZRaQm5Q"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="8SdoCtJG" Date: Fri, 14 Mar 2025 20:04:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1741982650; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=se9bIRcMtv/3Qo/aKYKc0ZLfgUU/NIxO04/Tw05UCoY=; b=CZRaQm5QSt6QJs07g0ByiA0plkWdVbf6s5hl7BDNQBEyv7RUFwwBYCPNakMNJFQPxPQRB2 2r+TCdc8ZA80zhVJKyStUb0FEzJcS5Id8FsuFBSsujKdQ8A0yNghWSmlaUgFjzm2feuqr+ wCGuiqkvEyYCwqrHU2drO+bxnbZrRNtzmM0/7UdA7K9C4HGmRkq5lcL7DeRlyhqtOFNLlC VhnfLLmp1MS5UOC8L1P5BwyGtHuCPatOeWL+eqL1dIInR+0f631Byix46FjMa/u3tYEWnp Up7FGY103xEuU42FTlzz6OppC9BPv+y7WqmMrDC7uKnyG3ytt7aQi++3zkmfzw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1741982650; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=se9bIRcMtv/3Qo/aKYKc0ZLfgUU/NIxO04/Tw05UCoY=; b=8SdoCtJGukLO9y0zXjFZVXPNRtRUbATvyVNAwXmrWGIYZPs/Z6jidObKjZTD47lgd41maA njB92qqwDJ8QaeBw== From: "tip-bot2 for David Engraf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] objtool: Hide unnecessary compiler error message Cc: David Engraf , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250203073610.206000-1-david.engraf@sysgo.com> References: <20250203073610.206000-1-david.engraf@sysgo.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174198264454.14745.1315469641657975505.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the objtool/core branch of tip: Commit-ID: bf71940fc16953bed84caa59b7b076ead70d42f6 Gitweb: https://git.kernel.org/tip/bf71940fc16953bed84caa59b7b076ead= 70d42f6 Author: David Engraf AuthorDate: Mon, 03 Feb 2025 08:36:10 +01:00 Committer: Josh Poimboeuf CommitterDate: Wed, 12 Mar 2025 15:43:38 -07:00 objtool: Hide unnecessary compiler error message The check for using old libelf prints an error message when libelf.h is not available but does not abort. This may confuse so hide the compiler error message. Signed-off-by: David Engraf Link: https://lore.kernel.org/r/20250203073610.206000-1-david.engraf@sysgo.= com Signed-off-by: Josh Poimboeuf --- tools/objtool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile index 7a65948..8c20361 100644 --- a/tools/objtool/Makefile +++ b/tools/objtool/Makefile @@ -37,7 +37,7 @@ OBJTOOL_CFLAGS :=3D -Werror $(WARNINGS) $(KBUILD_HOSTCFLA= GS) -g $(INCLUDES) $(LIBE OBJTOOL_LDFLAGS :=3D $(LIBELF_LIBS) $(LIBSUBCMD) $(KBUILD_HOSTLDFLAGS) =20 # Allow old libelf to be used: -elfshdr :=3D $(shell echo '$(pound)include ' | $(HOSTCC) $(OBJTO= OL_CFLAGS) -x c -E - | grep elf_getshdr) +elfshdr :=3D $(shell echo '$(pound)include ' | $(HOSTCC) $(OBJTO= OL_CFLAGS) -x c -E - 2>/dev/null | grep elf_getshdr) OBJTOOL_CFLAGS +=3D $(if $(elfshdr),,-DLIBELF_USE_DEPRECATED) =20 # Always want host compilation.