[Bug 199129] [PATCH] sysutils/synergy avoid -march=native producing broken packages for other CPUs
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 2 23:13:46 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199129
Bug ID: 199129
Summary: [PATCH] sysutils/synergy avoid -march=native producing
broken packages for other CPUs
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: kevlo at FreeBSD.org
Reporter: mcdouga9 at egr.msu.edu
Keywords: patch
Assignee: kevlo at FreeBSD.org
Flags: maintainer-feedback?(kevlo at FreeBSD.org)
Created attachment 155137
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=155137&action=edit
Avoid -march= in ext/cryptopp
Recently I reinstalled my desktop and discovered synergy would coredump on
Illegal instruction:
kernel: pid 32211 (synergys), uid 21281: exited on signal 4 (core dumped)
I compile my own packages with poudriere and recently switched to a newer
server. The synergy package I installed was from a newer Intel CPU that
supported optimizations that my older desktop does not. These optimizations
were being applied to the bundled ext/cryptopp subdir in the synergy sources.
Upstream I believe they are replacing it with openssl in the moderate future.
Server: CPU: Intel(R) Xeon(R) CPU E5-2430 v2 @ 2.50GHz (2500.05-MHz K8-class
CPU)
Desktop: CPU: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz (3325.08-MHz
K8-class CPU)
I found in the compile logs that it was using -march=native for the bundled
cryptopp which I understand is undesirable for ports to use without being
specifically asked for (and I am not asking for it). I made a patch that I am
using with success in poudriere. I am submitting a patch for the port that
should be suitable for committing and it has been compile tested. I remembered
to bump PORTREVISION this time.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list