Bug 239613 - biology/bolt-lmm: fix build on powerpc64
Summary: biology/bolt-lmm: fix build on powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jason W. Bacon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-03 12:47 UTC by Piotr Kubaj
Modified: 2019-08-04 23:49 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jwb)


Attachments
patch (6.60 KB, patch)
2019-08-03 12:47 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (jwb)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-08-03 12:47:49 UTC
Created attachment 206236 [details]
patch

Powerpc64 requires adding to CXXFLAGS -DNO_WARN_X86_INTRINSICS -mvsx to use GCC's translation layer from SSE to Altivec.

GCC also needs std::isnan and std::isinf for those functions to be found.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-08-04 23:49:08 UTC
A commit references this bug:

Author: jwb
Date: Sun Aug  4 23:48:23 UTC 2019
New revision: 508135
URL: https://svnweb.freebsd.org/changeset/ports/508135

Log:
  PR:             239613
  Submitted by:   pkubaj

Changes:
  head/biology/bolt-lmm/Makefile
  head/biology/bolt-lmm/files/patch-src_Jackknife.cpp
  head/biology/bolt-lmm/files/patch-src_LDscoreCalibration.cpp
  head/biology/bolt-lmm/files/patch-src_SnpData.cpp
  head/biology/bolt-lmm/files/patch-src_StatsUtils.cpp
  head/biology/bolt-lmm/files/patch-src_Timer.cpp
Comment 2 Jason W. Bacon freebsd_committer freebsd_triage 2019-08-04 23:49:47 UTC
Thanks!