From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by sourceware.org (Postfix) with ESMTPS id ED81E385771E; Thu, 28 Sep 2023 20:02:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ED81E385771E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5344d996bedso9435242a12.3; Thu, 28 Sep 2023 13:02:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695931362; x=1696536162; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vUOlIalgIIqrKfcDMI7SSUB2mU5w+OEHq9buzuE/dNw=; b=c+NfxPaauXdFIqceyBIfTDxqQ3ryHx1WTKg0DaRnNvcAr+A0cS/kPglrgFGl0vnpDn oJLjsXaRjpCGlr/ge06lQrOW3tDBuVUOayRh8s+I6Cnhts9vCuhDbf+ta/fBmezJ0RxA 79Zzc6idYxAi6/0rUeOTfdV5Ddv72Xj2HQ6vCQAOxUTg83zcYuZY389Itv5K+bcyBBDU gV5sn7wvwP+CvMaeiJfLKs90Cxcrpxxw2wBILitujpXxfbr86XW12utvPCrBJJ76/Ik/ WkklhWKrW+3LuSCbcW5YaocaGbmIiJ+V+NLqmS40K6N1fTMikYBvHjomMNyIyI3YZmgz y8Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695931362; x=1696536162; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vUOlIalgIIqrKfcDMI7SSUB2mU5w+OEHq9buzuE/dNw=; b=fJg7Sr1nqhAauehDeeaB6rS2gCXGWiMkwjRpTkkeSjSZ8G0N2jbdZXKKhEAhlgsXLG l8XxRj+zB1u+K46YY6X9lMFExT37xaXoq3VGXQ+j/9zn/GSjqOm1XJizTeXV9Uf3vdJF f4N8/HyniWLEIiOVSMTefZdYSP1eCEYR0wdvTvwPFnULUm/Ei2pQFwcpLBqrAw/qQddg pgDzjgaP5Z8GN0Kb8XoCepQmka7pnTkGfXd29dYB3AXRJZzrb2vIwDcE6SatjenOnp+/ HSb+tWQNFap+fxGzYOFJJN3yMOdCA7hGQQO/NVkPjKwBKoxguYkKxR/IC2DFfRJWFICa ZBEw== X-Gm-Message-State: AOJu0YwZg7uz7mPP7KSBPUyTQHtE+0fFFytUorv9X9tG4TgggqmB6nbq 65TUxtM3l7y2J/0U0KN5ZbLWshbcb7P3O+l3kLzTTv0Vg28PcA== X-Google-Smtp-Source: AGHT+IEHtkWG1/cZp4WJ1I3yMHXxkkjkbnNcjBI7wClgHrDUJMdUWAUhH7eRoIMdocKBXMp9120hn/qf/JJxatFSwh4= X-Received: by 2002:aa7:d3ca:0:b0:534:697c:3e65 with SMTP id o10-20020aa7d3ca000000b00534697c3e65mr2008175edr.36.1695931362202; Thu, 28 Sep 2023 13:02:42 -0700 (PDT) MIME-Version: 1.0 References: <9e347fa4-1940-46c6-a5c9-899cf5a7ae85@moene.org> <672da73c-e5d2-4512-8ae9-1c36f14f2b97@moene.org> <682f49c9-03d1-45fb-ba4b-ebd3cc92cb1a@moene.org> In-Reply-To: <682f49c9-03d1-45fb-ba4b-ebd3cc92cb1a@moene.org> From: David Edelsohn Date: Thu, 28 Sep 2023 16:02:30 -0400 Message-ID: Subject: Re: Test with an lto-build of libgfortran. To: Toon Moene Cc: Jakub Jelinek , Thomas Koenig , gcc mailing list , gfortran Content-Type: multipart/alternative; boundary="000000000000685a5e060670cac1" X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000685a5e060670cac1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Sep 28, 2023 at 4:00=E2=80=AFPM Toon Moene wrote: > On 9/28/23 21:26, Jakub Jelinek wrote: > > > It is worse than that, usually the LTO format changes e.g. any time any > > option or parameter is added on a release branch (several times a year) > and > > at other times as well. > > Though, admittedly GCC is the single package that actually could get aw= ay > > with LTO in lib*.a libraries, at least in some packagings (if the static > > libraries are in gcc specific subdirectories rather than say > /usr/lib{,64} > > or similar and if the packaging of gcc updates both the compiler and > > corresponding static libraries in a lock-step. Because in that case LTO > > in there will be always used only by the same snapshot from the release > > branch and so should be compatible with the LTO in it. > This might be an argument to make it a configure option, e.g. > --enable-lto-runtime. > > Note that not all targets support LTO, so the option cannot be added unilaterally. David --000000000000685a5e060670cac1--