From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4ZK5cc4N2bz3329 for ; Fri, 21 Mar 2025 15:16:00 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4ZK5cX728Qz32mP for ; Fri, 21 Mar 2025 15:15:56 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4ZK5cX1T3hz6vd; Fri, 21 Mar 2025 15:15:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1742570156; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+Lz1rkyOmTwudsqDmvELVnn9RWAhSL/T/nOYKaDmodg=; b=Krer8wDu2LqpPhB2JHyYI1ek5A0F2HJaS8b+ouPbWoEvjM5MuFYn11uWYHIOuPBsdEUO8k zCt9jM9t9cms1CRhhbN90BdSVoI950VJSB4sz/sfgGgynWyeyqwwpqplDbnq6S0zLmICi/ Pc91mlG3N/AwkpT562GHu/RFbshu4fC5wxDlnU0zD9pQCNq/YSneOIszdDsk6/5IFU3Pzr GkzhP94lCSSWrihBvG0Yf1wMdsy/uQlai9r5IHjB8zy+kzsFIjDzbKMDW8lJm+EpTwBfZB zrz00VqITSxuKFtHqhFizOzfl7YbaczbxztjLL1yc02gUInvxjbniNcn4Anwjg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1742570156; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+Lz1rkyOmTwudsqDmvELVnn9RWAhSL/T/nOYKaDmodg=; b=clr645yj8Ygqz0c1rEwqVWPehVtneDyJf+X+u11RGtadWG2Z9F7tU9Ni0yqFrbcv39bZT8 bt8TSjsL/iLh0VAw== Content-Type: text/plain; charset=us-ascii Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: [PATCH] mpfr: Update to version 4.2.2 From: Michael Tremer In-Reply-To: <20250321133045.3267597-1-adolf.belka@ipfire.org> Date: Fri, 21 Mar 2025 15:15:56 +0000 Cc: development@lists.ipfire.org Content-Transfer-Encoding: quoted-printable Message-Id: <72C4A248-0317-4ED4-AB56-78DBA35F6613@ipfire.org> References: <20250321133045.3267597-1-adolf.belka@ipfire.org> To: Adolf Belka Thank you. I also updated the statically linked version in GCC: = https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dcommitdiff;h=3Dba4bc8da4eec= 7fdb43d8c0b444aec8b2343deb86 This should not be shipped, but I think we should have the same version = everywhere... -Michael > On 21 Mar 2025, at 13:30, Adolf Belka wrote: >=20 > - Update from version 4.2.1 to 4.2.2 > - Update of rootfile > - Changelog > 4.2.2 > - In order to resolve a portability issue with the _Float128 fallback = to > __float128 for binary128 support (e.g. with Clang and glibc 2.41), = the > prototypes of the corresponding conversion functions had to be = changed, > with _Float128 replaced by mpfr_float128, where mpfr_float128 is a = macro > defined as _Float128 by default. This changes neither the ABI nor the = API > (except that the end user of MPFR would need to define mpfr_float128 = as > the actual type for the binary128 format if this is not the standard > _Float128 type). > - Other bug fixes (see and/or = the > ChangeLog file). In particular, the formatted output functions = behaved > incorrectly with %c on the value 0; such a use is uncommon, but this = bug > may have security implications. > - Improved MPFR manual. > - Detect the use of GMP's buggy vsnprintf replacement at configure = time. > With it, the tests of "%a" will be disabled to avoid an assertion = failure > in the MPFR testsuite. A warning will be displayed in the configure = output > in such a case. > Also, note that due to new tests related to the fix of the formatted > output functions with %c on the value 0, failures in the tfprintf and > tsprintf tests may be observed if GMP has been built with its = vsnprintf > replacement (i.e. if GMP detected at configure time that the = vsnprintf > function from the C library is buggy/non-conforming). This is due to = a > bug in the vsnprintf replacement from GMP 6.3.0 (official tarball) = and > below. This could be observed on MS Windows and OpenBSD. To get rid = of > these failures, either use a fixed version (recommended!) or build = the > MPFR tests with the MPFR_TESTS_SKIP_CHECK_NULL macro defined. > See the INSTALL file for other details. >=20 > Signed-off-by: Adolf Belka > --- > config/rootfiles/common/mpfr | 2 +- > lfs/mpfr | 7 +++---- > 2 files changed, 4 insertions(+), 5 deletions(-) >=20 > diff --git a/config/rootfiles/common/mpfr = b/config/rootfiles/common/mpfr > index e3cf8d2da..1d55558a4 100644 > --- a/config/rootfiles/common/mpfr > +++ b/config/rootfiles/common/mpfr > @@ -4,7 +4,7 @@ > #usr/lib/libmpfr.la > #usr/lib/libmpfr.so > usr/lib/libmpfr.so.6 > -usr/lib/libmpfr.so.6.2.1 > +usr/lib/libmpfr.so.6.2.2 > #usr/lib/pkgconfig/mpfr.pc > #usr/share/doc/mpfr > #usr/share/doc/mpfr/AUTHORS > diff --git a/lfs/mpfr b/lfs/mpfr > index 018bc39d7..30f64d82d 100644 > --- a/lfs/mpfr > +++ b/lfs/mpfr > @@ -1,7 +1,7 @@ > = ##########################################################################= ##### > # = # > # IPFire.org - A linux based firewall = # > -# Copyright (C) 2007-2023 IPFire Team = # > +# Copyright (C) 2007-2025 IPFire Team = # > # = # > # This program is free software: you can redistribute it and/or modify = # > # it under the terms of the GNU General Public License as published by = # > @@ -24,7 +24,7 @@ >=20 > include Config >=20 > -VER =3D 4.2.1 > +VER =3D 4.2.2 >=20 > THISAPP =3D mpfr-$(VER) > DL_FILE =3D $(THISAPP).tar.xz > @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) >=20 > $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) >=20 > -$(DL_FILE)_BLAKE2 =3D = ad69f53bc910294647523e7613b18a683f1d0f3dd994168ab2a46b66d0371ffa9b8e7cb594= 95f898470aea69d343e83fc722f11babe4af7b3a12665a1e65860c > +$(DL_FILE)_BLAKE2 =3D = 6bbf5658e70fbb673a3b65246a6bac708d1571aa6943c6742efd92f468ac71e6f0fe351b75= 7f7133440ea312d9a5fc3549acd89d54f4d975c58bdc204d7b21ec >=20 > install : $(TARGET) >=20 > @@ -70,7 +70,6 @@ $(subst %,%_BLAKE2,$(objects)) : > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > @$(PREBUILD) > @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) > -# cd $(DIR_APP) && patch -Np1 < = $(DIR_SRC)/src/patches/mpfr-4.2.1-cumulative-patches-1-to-x.patch > cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure \ > --prefix=3D/usr \ > --enable-thread-safe > --=20 > 2.49.0 >=20 >=20