From nobody Sun Jan 29 23:03:54 2023 X-Original-To: dev-commits-src-main@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 4P4n1l2v7Tz3cTjp; Sun, 29 Jan 2023 23:04:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P4n1l2LTdz3wNt; Sun, 29 Jan 2023 23:04:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675033451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WiFf6eHuLlvPnIGf7eqF2TllseHs7qbndJY+Q29bRTY=; b=b5ASX2bZGDFeF0+a2c8ttcYzcftCKKGsMToD86QftbC6GvSgSfnZawuFagLs02xqlcUz2F 0b1Ze3zSb3OP6gEiG+wsgwaiC7AYg7I4s/gSy1H+RxTHX4bMH/EgpXkbFlQcQSjOTaZ+S+ C14h+uShDoX+EfFJKmv/lWwaILPaGhIPkbmbaREcryb9NZzczy33Vk+Dpg1CQsCAj8fH8u JNtBzG4m+H5isEo9VZVy/RiXFrSlcOBeEy5vUp9zJgpG/TJXIdIraDmJMYefL5dLsnhT7A N3/ekt3SZNBf+FkceETPw/m/4XGyRX61dM0nv0GblkmHz+Igk4JBmUD7eiPRbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675033451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WiFf6eHuLlvPnIGf7eqF2TllseHs7qbndJY+Q29bRTY=; b=hRlr4x7CjVWD///62ukITQcjmCu5KZbTRCH7lfGWpL0KdUiWw2Na7g2zFwRNvEl+1lkhgg iOhggC2UPEUFdvN/H3njkR+GZhvVA2IbY3Pb73SWAekqlwmahhiC9ZS85kB6lrlMZ9dcaJ wsROIP3OR8GF1rG9kqXWSm2oNWks5+M6uYF3OlcXnPvyoOJQJKCGzLJ0NtF20Dm1qeVvYb EhCJxl3mUzSeTDcT6fImqLiz/D2A0OEZ7YdYmJwf3AyATIIBJGSRqgOK1XGRhxrA5MoYRU UZgPPO5zcXVWgDI3AHVqiHpEkrmS0wdHFL9capmpcOQkmKS7AWESKPDWkP61Gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675033451; a=rsa-sha256; cv=none; b=Uuylzj3IsUyQmZbc0BWOfpwW0jq7o4dJnQCoEa0Ra92oqzIN0hsqdiHiE91seVH66oEa4N KNGw7kAwSExkoaoBHtcgI1XfBBs1aFzm7hjm8tVQjN/uVXZCSDmGLBNMW+QPs8P+SWFFis jQNCUTPo4v5tIz2A1mb/djaeTh0hO7xlC3p+2uNQRP+sjsAOGdrUr5iFRO6GG55wsdA20i EWQXOd+qwfrMc+ccoE8kQurmCH6t8EviD5ntC2GgM/CmcuEeUdkNlaDxy0fXdGWQ4YWL1J BX7m3RoovYaM1EwaAv8MBiV3GsgcBoaYf3ON90pFJgm4Wnx8e5KXTNXoZOnDTA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4P4n1l0g8Nz18CS; Sun, 29 Jan 2023 23:04:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D7A1C323B3; Mon, 30 Jan 2023 00:04:09 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_35FFDC62-5D88-4464-A748-C8BC084FA298"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: git: fdd4c35832de - main - usr.bin/gh-bc: update Makefiles for version 6.2.2 From: Dimitry Andric In-Reply-To: <202301282250.30SMon4s075057@gitrepo.freebsd.org> Date: Mon, 30 Jan 2023 00:03:54 +0100 Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Message-Id: <39329938-5118-440B-B567-77AB64732BD1@FreeBSD.org> References: <202301282250.30SMon4s075057@gitrepo.freebsd.org> To: =?utf-8?Q?Stefan_E=C3=9Fer?= X-Mailer: Apple Mail (2.3731.400.51.1.1) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_35FFDC62-5D88-4464-A748-C8BC084FA298 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 28 Jan 2023, at 23:50, Stefan E=C3=9Fer wrote: >=20 > The branch main has been updated by se: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3Dfdd4c35832deb1d064f64c2c00e3c8c9= 58be9a51 >=20 > commit fdd4c35832deb1d064f64c2c00e3c8c958be9a51 > Author: Stefan E=C3=9Fer > AuthorDate: 2023-01-28 22:48:34 +0000 > Commit: Stefan E=C3=9Fer > CommitDate: 2023-01-28 22:48:34 +0000 >=20 > usr.bin/gh-bc: update Makefiles for version 6.2.2 ... > -CFLAGS+=3D -DMAINEXEC=3D${PROGNAME} > -CFLAGS+=3D -DNLSPATH=3D/usr/share/nls/%L/%N.cat > -CFLAGS+=3D -DBUILD_TYPE=3DA > +CFLAGS=3D-g -O0 This assignment instead of using "+=3D" appears to have broken the riscv64sf build for me, since it passes "-march=3Drv64imac -mabi=3Dlp64" = via the global CFLAGS to target the soft-float ABI. That said, is -g -O0 maybe a debugging aid that you left in by accident? Is there any reason not to compile bc with the regular, user-specified CFLAGS? In that case, the line might just be deleted. -Dimitry --Apple-Mail=_35FFDC62-5D88-4464-A748-C8BC084FA298 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCY9b7WgAKCRCwXqMKLiCW o28qAJ9Y4hmwgTLfisTjHhq6oyGRw5DRTwCgsa4pgdwPmILTMOa3/BZqErFw2aM= =hGSz -----END PGP SIGNATURE----- --Apple-Mail=_35FFDC62-5D88-4464-A748-C8BC084FA298--