Bug 234223 - science/tinker: fix build with GCC-based architectures
Summary: science/tinker: fix build with GCC-based architectures
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: Yuri Victorovich
Depends on:
Reported: 2018-12-20 17:06 UTC by Piotr Kubaj
Modified: 2018-12-21 01:11 UTC (History)
2 users (show)

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

patch (434 bytes, patch)
2018-12-20 17:06 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2018-12-20 17:06:01 UTC
Created attachment 200310 [details]

This port adds -mssse3 to compilation flags, which breaks on GCC platforms.

Remove it, so it builds on them.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Yuri Victorovich freebsd_committer 2018-12-21 01:11:07 UTC
I committed a more comprehensive patch that enables SIMD flags based on architecture.

Thanks for submitting this bug report.
Comment 2 commit-hook freebsd_committer 2018-12-21 01:11:53 UTC
A commit references this bug:

Author: yuri
Date: Fri Dec 21 01:11:01 UTC 2018
New revision: 487934
URL: https://svnweb.freebsd.org/changeset/ports/487934

  science/tinker: Fix build on non-Intel architectures by adding SSE flags based on architecture

  PR:		234223
  Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>