From nobody Thu Jun 08 14:50:12 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QcRvn1Rh8z4bpsk; Thu, 8 Jun 2023 14:50:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QcRvn0th3z4RyZ; Thu, 8 Jun 2023 14:50:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686235813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tJYxZW6GvOwL7ITG6uLevsrJgryZhWa8MuBbWz0gs74=; b=STrH/AK96PsGmhNvHrhMcSZNBD7IelcyZgqmGZoaSThybxjA1o5i/UPrsz2NjIgBCV6A1E Wtp8rAiKm5vI0kdH879A17EreFifsmrErlX7vvP04Z1dblZizWMefNWJRv/xjfntqBTM0o Yxl0NULel29Nn9/H51YamwRtPUSzVpXQMHCPUKYMWf1KghO2yVTb1d1v3MhBWJlaA+xQfq Biw9YHLY+hIU66WFgSkGEvy9tQtl0LiYRaDFLlpyMKNfOGTGkK751npqEtnwNUdxIq/65n Nzwb+OaKoPZhitm4z8uION11g2vPWIyJbo8Sx4h8PZCFUGObpNIJdD+VpttI7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686235813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tJYxZW6GvOwL7ITG6uLevsrJgryZhWa8MuBbWz0gs74=; b=puGdz+H4LBRPMG9ZjNmoy5h1iInNjpv2p6eehbgyLD9Q2g0tcKy+pwU6THeP3bfhn6a/it 8VpOhTjxyQ0llvkizOw67O6SPZmPw6LV4Tiz/dBPPvgLijyng2nDGzrAUooFfPgPRdXLqd CTUc6XXyo/jgVrIib7SO0VeUXw1GA4fT3sS1Z0UHOFpyWpSekF9Lb47KOEXinNxo5Skcu0 gTardrXodFpicSjiAuhs+BTN399ef4nW/IzN/GCNuMBIcfNwCklpfvHYKwPM2JMj875K0I Moej0zD0KYKf1pFWlISBgtsPno02U7zGNbSHJKPER/jDAXO1MVUSNbJGpkUZrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686235813; a=rsa-sha256; cv=none; b=Jw7hhmGcdxwYd1T+psL0xhLnt62Oq2EjraNVCfCUvGcrtSGiGyA4uqhnbCf/QbGEFkiBq7 wiG+TJtMeWTfqFZM5qGeteO7+/b8q8p043vdnr9J+gve0ylosDhYwCgW+PgLxn3HESVr+9 fCKsneqNPacj9L2N5V7nVNRjPOorvvAMjSLsaIHYu/ugZEy5IFjts274o0+fVKjpS2jPsz Z1doB1wFSwgqZvRg9m3ITjQZLaiAqaFoeG3oi+VStSXur4yH5gcTk+iJ/1LFtP1RGFkQ0q GZyEa3JIL9/m8vikkRAvA/7U7YgCM0KFxz8tYznvxHy/MnAw3ZIQa3MgKHLf8g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QcRvm7407zxry; Thu, 8 Jun 2023 14:50:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 358EoCAR090131; Thu, 8 Jun 2023 14:50:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 358EoCiW090124; Thu, 8 Jun 2023 14:50:12 GMT (envelope-from git) Date: Thu, 8 Jun 2023 14:50:12 GMT Message-Id: <202306081450.358EoCiW090124@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: 8eba66320128 - stable/13 - usr.bin/bc: fix build issue of version 6.6.0 on MIPS List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 8eba66320128e4258b2e0b676d1e6b7a96f81532 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=8eba66320128e4258b2e0b676d1e6b7a96f81532 commit 8eba66320128e4258b2e0b676d1e6b7a96f81532 Author: Stefan Eßer AuthorDate: 2023-06-08 14:45:11 +0000 Commit: Stefan Eßer CommitDate: 2023-06-08 14:49:49 +0000 usr.bin/bc: fix build issue of version 6.6.0 on MIPS The update removed MIPS and POWERPC64 from the list of architectures that cannot use LTO to build this software. Restore the previous exception list and do not use LTO on MIPS, MIPS64, POWERPC64, and RISCV64. This is necessary due to differences in compiler support for LTO in -CURRENT vs. 13-STABLE. --- usr.bin/gh-bc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/gh-bc/Makefile b/usr.bin/gh-bc/Makefile index 6554d626af89..154155085479 100644 --- a/usr.bin/gh-bc/Makefile +++ b/usr.bin/gh-bc/Makefile @@ -71,7 +71,8 @@ MAN_SRC_BC= bc/A.1 MAN_SRC_DC= dc/A.1 # prevent floating point incompatibilities caused by -flto on some architectures -.if ${MACHINE_ARCH} != riscv64 +.if ${MACHINE_ARCH:Mmips*} == "" && ${MACHINE_ARCH} != powerpc64 && \ + ${MACHINE_ARCH} != riscv64 CFLAGS+= -flto .endif