Skip to content

mpir-3.0.0 does not compile on skylake chips on OSX #24085

@AndrewMathas

Description

@AndrewMathas

As discussed on sage-devel, mpir does not build on Skylake chips. As reported by Bill Hart,

We know what the problem is now, but don't have a working patch to fix it.
It's the JMPENT macro in mpn/x86_64/x86_64-defs.m4 that doesn't work
on 64 bit OSX. Details of the issue can be found
here.

In the end, the fix was to edit jump labels in a (large) number of MPIR's asm files, and change the .section type of jumptables, while leaving JMPENT macros intact. The changes are way too big for Sage patches (and done against the master rather than against meanwhile a bit outdated 3.0.0 version), thus a new tarball.

Tarball: http://sage.ugent.be/www/jdemeyer/sage/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.tar.bz2

Upstream: Completely fixed; Fix reported upstream

CC: @wbhart @kiwifb

Component: packages: standard

Keywords: skylake, mpir

Author: Dima Pasechnik, Jeroen Demeyer

Branch: c2384a7

Reviewer: David Roe, Andrew Mathas, Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/24085

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions