Opened 5 years ago

Closed 5 years ago

#23841 closed defect (fixed)

MPIR-3.0.0 does not build on i7-6700 with system yasm-1.2.0

Reported by: rws Owned by:
Priority: blocker Milestone: sage-8.1
Component: build Keywords:
Cc: Merged in:
Authors: Jeroen Demeyer Reviewers: Ralf Stephan
Report Upstream: N/A Work issues:
Branch: 865870f (Commits, GitHub, GitLab) Commit: 865870f11d9c2036fbd84015a0db8bff9d5d6768
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

The current MPIR used by Sage (3.0.0) does not build on a i7-6700 (Skylake) system with yasm-1.2.0 installed.

/bin/yasm -I .. -f elf64  -o sub_err1_n.lo `test -f 'sub_err1_n.as' || echo './'`sub_err1_n.as
[mpir-3.0.0.p0] add_err1_n.as:77: error: undefined symbol `mpn_add_err1_n.testrest' (first use)

Attachments (1)

t (89.5 KB) - added by rws 5 years ago.
mpir install log

Download all attachments as: .zip

Change History (11)

comment:1 Changed 5 years ago by rws

Hmmm, the command above is /bin/yasm and adding the configure option results in the same error, only that the command is now /usr/bin/yasm. That is yasm-1.2.0 on OpenSuSE.

comment:2 Changed 5 years ago by rws

  • Description modified (diff)
  • Summary changed from MPIR-3.0.0 does not build on i7-6700 to MPIR-3.0.0 does not build on i7-6700 with system yasm-1.2.0

I deinstalled system yasm-1.2.0 so Sage builds yasm-1.3.0 and now MPIR builds fine. So Sage should install yasm-1.3.0 if the system version is less.

comment:3 Changed 5 years ago by rws

  • Description modified (diff)

comment:4 Changed 5 years ago by jdemeyer

Full log of MPIR build please.

Changed 5 years ago by rws

  • Attachment t added

mpir install log

comment:5 Changed 5 years ago by jdemeyer

  • Description modified (diff)

comment:6 Changed 5 years ago by jdemeyer

Confirmed with MPIR_CONFIGURE="--host=skylakeavx-unknown-linux-gnu" ./sage -f mpir

comment:7 Changed 5 years ago by jdemeyer

  • Branch set to u/jdemeyer/mpir_3_0_0_does_not_build_on_i7_6700_with_system_yasm_1_2_0

comment:8 Changed 5 years ago by jdemeyer

  • Authors set to Jeroen Demeyer
  • Commit set to 865870f11d9c2036fbd84015a0db8bff9d5d6768
  • Status changed from new to needs_review

New commits:

865870fCheck that yasm supports Skylake processors

comment:9 Changed 5 years ago by rws

  • Reviewers set to Ralf Stephan
  • Status changed from needs_review to positive_review

I verified that, on a yasm-1.2.0 installation and after make distclean, while develop fails to build, this branch installs yasm-1.3.0 before succesfully building MPIR. So, I think we're good to go.

comment:10 Changed 5 years ago by vbraun

  • Branch changed from u/jdemeyer/mpir_3_0_0_does_not_build_on_i7_6700_with_system_yasm_1_2_0 to 865870f11d9c2036fbd84015a0db8bff9d5d6768
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.