I think, this is an upstream bug -- and I reported it there: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26747&p=118227 But meanwhile something needs to be done about it -- the port was miscompiled here and crashing (from SIGILL) because it tried to use the SSE-instructions, which my CPU does not have. My workaround was to run `make configure' and then edit the generated files to remove the bogus flag from CFLAGS. But I'm not sure, what other unasked-for values are added -- it may not be just the penryn...
Auto-assigned to maintainer kwm@FreeBSD.org
Do you have the SIMD option enabled by chance? If so can you try to disable that as a work around for now?
(In reply to Koop Mast from comment #2) > Do you have the SIMD option enabled by chance? If so can you try to disable > that as a work around for now? Yes, indeed. Turning this option off fixes the problem. The description of the autofoo macro impementing the --with-gcc-arch feature says: http://www.gnu.org/software/autoconf-archive/ax_gcc_archflag.html >> The main emphasis here is on recent CPUs, on the principle that doing high-performance computing on old hardware is uncommon. I'd recommend removing the SIMD-option from the port entirely -- FreeBSD already allows one to specify the CPUTYPE (in /etc/make.conf) and that, at least, will come with no surprises... Thanks!
A commit references this bug: Author: kwm Date: Tue Dec 30 21:48:39 UTC 2014 New revision: 375859 URL: https://svnweb.freebsd.org/changeset/ports/375859 Log: Update ImageMagick to 6.9.0-2. Disable SIMD option, the --with-gcc-arch only takes recent cpus into account. And doesn't propperly check the host cpu for the flags. [1] PR: 196188 [1] Submitted by: mi@ALDAN.algebra.com Changes: head/graphics/ImageMagick/Makefile head/graphics/ImageMagick/distinfo head/graphics/ImageMagick/files/
Keeping this open as a reminder for myself that I would like a proper SIMD option..