Opened 4 years ago

Last modified 4 years ago

#24353 closed enhancement

Upgrade to MPFR 4.0.0 and MPC 1.1.0 — at Version 4

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-8.2
Component: packages: standard Keywords:
Cc: zimmerma, fbissey Merged in:
Authors: Jeroen Demeyer Reviewers:
Report Upstream: N/A Work issues:
Branch: u/jdemeyer/upgrade_to_mpfr_4_0_0 (Commits, GitHub, GitLab) Commit: f93f4ac51cdd687efd359b5a28d84f691e5f63e7
Dependencies: Stopgaps:

Status badges

Change History (4)

comment:1 Changed 4 years ago by fbissey

  • Cc fbissey added

comment:2 Changed 4 years ago by jdemeyer

  • Branch set to u/jdemeyer/upgrade_to_mpfr_4_0_0

comment:3 Changed 4 years ago by jdemeyer

  • Commit set to f93f4ac51cdd687efd359b5a28d84f691e5f63e7

As reported on the MPFR mailing list by other people, this breaks MPC:

/bin/bash ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..   -I/usr/local/src/sage-config/local/include -I/usr/local/src/sage-config/local/
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/src/sage-config/local/include -I/usr/local/src/sage-config/local/include -m64 -O2 -march=corei7-
mul.c:179:1: error: conflicting types for 'mpfr_fmma'
 mpfr_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b, mpfr_srcptr c,
 ^
In file included from mpc.h:25:0,
                 from mpc-impl.h:30,
                 from mul.c:22:
../../../../../../../include/mpfr.h:731:6: note: previous declaration of 'mpfr_fmma' was here
 __MPFR_DECLSPEC int mpfr_fmma (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr,
      ^
Makefile:532: recipe for target 'mul.lo' failed
make[6]: *** [mul.lo] Error 1

New commits:

f93f4acUpgrade to MPFR 4.0.0

comment:4 Changed 4 years ago by jdemeyer

  • Authors set to Jeroen Demeyer
  • Description modified (diff)
  • Summary changed from Upgrade to MPFR 4.0.0 to Upgrade to MPFR 4.0.0 and MPC 1.1.0
Note: See TracTickets for help on using tickets.