Date: Thu, 02 Apr 2015 23:13:45 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199129] [PATCH] sysutils/synergy avoid -march=native producing broken packages for other CPUs Message-ID: <bug-199129-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: mcdouga9@egr.msu.edu Keywords: patch Assignee: kevlo@FreeBSD.org Flags: maintainer-feedback?(kevlo@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199129-13>