[MacPorts] #31717: postgresql91 segfaults on OS X 10.7 when built with clang
MacPorts
noreply at macports.org
Sun Nov 27 09:09:42 PST 2011
#31717: postgresql91 segfaults on OS X 10.7 when built with clang
-------------------------------+--------------------------------------------
Reporter: francis@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: haspatch | Port: postgresql91
-------------------------------+--------------------------------------------
Comment(by Kona8lend@…):
Definitely a clang bug up to and including Xcode 4.2.1. Manifests as
segfault in postgresql-9.1.1/src/bin/psql/common.c:579. Basically clang
-O2 erroneously replaces the memcpy() with movaps instructions which
require 16-byte alignment even when data is not aligned.
Fixed is in opensource llvm/clang trunk r140902. Not sure when it will
roll to Xcode.
--
Ticket URL: <https://trac.macports.org/ticket/31717#comment:20>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list