Message ID | 20250909151824.2327219-11-sjg@u-boot.org |
---|---|
State | New |
Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757431161; bh=1fU41wss3s275lHvFB5iT2ZfJYSBPc4XoxKi3S1eS+I=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=TyJPKminu4eQufjXulVWxp0xuZZS2u6zd2kWWGNRQP3pqNVhgJIpTT0VYY6QSzUxq SQ3YrMZXO6YCpXA4C1p5HrQhKLTtwlcsKK8KDdfpso0GsB2CbBraXKgEzA8B9XoQjD qVwBoLc1sZcei+MT3hHM3j3wV5jbmPSs+ykM5GI3dq0bghCiAYDztb3MeAGHZXG4uJ V9jSdVOCOHCwq6mgOroMo2EYrUnyuFkqTOANtDjw8tnO73YtwmLvzKNoa+OCkPM+CI mJq46yv94qydVAldq1oXRW+/U1Vulz2P9f39i0n1v7vwCqYKpH3Mzyr9zd9dRQQpeb BkaRUTcjBSy1A== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 5480367A7C for <u-boot-concept@u-boot.org>; Tue, 9 Sep 2025 09:19:21 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id fvvuBmDFOqTm for <u-boot-concept@u-boot.org>; Tue, 9 Sep 2025 09:19:21 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757431161; bh=1fU41wss3s275lHvFB5iT2ZfJYSBPc4XoxKi3S1eS+I=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=TyJPKminu4eQufjXulVWxp0xuZZS2u6zd2kWWGNRQP3pqNVhgJIpTT0VYY6QSzUxq SQ3YrMZXO6YCpXA4C1p5HrQhKLTtwlcsKK8KDdfpso0GsB2CbBraXKgEzA8B9XoQjD qVwBoLc1sZcei+MT3hHM3j3wV5jbmPSs+ykM5GI3dq0bghCiAYDztb3MeAGHZXG4uJ V9jSdVOCOHCwq6mgOroMo2EYrUnyuFkqTOANtDjw8tnO73YtwmLvzKNoa+OCkPM+CI mJq46yv94qydVAldq1oXRW+/U1Vulz2P9f39i0n1v7vwCqYKpH3Mzyr9zd9dRQQpeb BkaRUTcjBSy1A== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 434CC67A74 for <u-boot-concept@u-boot.org>; Tue, 9 Sep 2025 09:19:21 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757431160; bh=y9WuxS73kD5EnSv6//reN75aOLtFkBa2nYxuiBR4ktI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AMeHWdkM8V091MlVltUKezJWO+6POgiI5rG2I7yjJVoylzjskagoVnCG8+zl3MmLo Exi/t5cbwPYTV+J6gtGCCSoYDQmje3Z7irf8ePwebLx8itvQD92s9Anhl7NIU9byU3 Ow6sEQg71id5F7ThP0yw9GFuhmbNOi3VybrO/hN9lViboAeBEO0/puCLXRO/9LALEd IYLXEq9m2g6OxLrzEuOMDVNbyxhVhrZ115H91JxbPNLBe7Sf6Jmg8l9dUSNdv37YhK B1/gFJVtL1rT5vMlm1azdxsgQzWZnqMJgbqx2Aq8X2SbuDfHq3Fa04TjpmC886O3/H 2pBqcj/a2hleA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4AC20679FD; Tue, 9 Sep 2025 09:19:20 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id YWT-aRN9PoIp; Tue, 9 Sep 2025 09:19:20 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757431157; bh=Z91E8AQ+ivRg7QUTdKmok49ZtcVje+Pf1d8ELNrojpE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M+sTuIaZpyTgyGdNzM6fCkiQ6GMzP5hO1CsHARX6EFq7k+dw8jo7sZHP9en0q/mw5 kNLZ789tK90IgdhqUSU1bYrMky+/OmXgmRSpyP0AilMwAgRdD8AsswR4855+ELvsvQ HkY0VNRjAgiRvut8tNrn3Yjd/NymXa4Kk0hYnOxX+6zEDRXDW45QKHnzyZDj8Jo9KK XIQDoPPouE08lPD/QjLMUEKsLtv7ojy3izbJaMJdRuS90Bpl13Hvwq5zeRuHTKMj9W Ds7uHuvBU4OzSq43PGfeadOlpqtGC1F/zTTZI8F4S9z81mmwK0flVfJJPTFsY9ryda yXhHIETAiETzw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id F40FD679D7; Tue, 9 Sep 2025 09:19:16 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Tue, 9 Sep 2025 09:18:07 -0600 Message-ID: <20250909151824.2327219-11-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250909151824.2327219-1-sjg@u-boot.org> References: <20250909151824.2327219-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 7RBYRYUVWVVUQ4RSVAEGLYO46YIJ6LUI X-Message-ID-Hash: 7RBYRYUVWVVUQ4RSVAEGLYO46YIJ6LUI X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 10/18] ulib: Disable LTO when building the library List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/7RBYRYUVWVVUQ4RSVAEGLYO46YIJ6LUI/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
ulib: Complete initial U-Boot library
|
|
Commit Message
Simon Glass
Sept. 9, 2025, 3:18 p.m. UTC
From: Simon Glass <sjg@chromium.org> The library uses symbol renaming, but this is not supported with LTO. Ensure that LTO is disabled if ULIB is used. Signed-off-by: Simon Glass <sjg@chromium.org> --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kconfig b/Kconfig index c110c9f2a6e..6461443566e 100644 --- a/Kconfig +++ b/Kconfig @@ -128,7 +128,7 @@ config ARCH_SUPPORTS_LTO config LTO bool "Enable Link Time Optimizations" - depends on ARCH_SUPPORTS_LTO + depends on ARCH_SUPPORTS_LTO && !ULIB help This option enables Link Time Optimization (LTO), a mechanism which allows the compiler to optimize between different compilation units.