#30090 closed defect (duplicate)
postgresql90, postgresql91: segment fault 11 with OS X 10.7
Reported by: | j.states@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | lion | Cc: | jyrkiwahlstedt, stevenschlansker@…, smparkes@…, kemar (Marc Hertzog), juliamae@…, icemac (Michael Howitz), jmehnle (Julian Mehnle), antony.stubbs@…, drkp (Dan Ports) |
Port: | postgresql90, postgresql91 |
Description
Installing PostgreSQL through port will work, but it falls when you invoke psql. I've attached the crash.log
Attachments (1)
Change History (21)
Changed 13 years ago by j.states@…
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jwa@… added; j.states@… removed |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
Port: | postgresql90 postgresql91 added |
Summary: | Postgresql 9 and 9.1b2 segment fault 11 with OS X 10.7 → postgresql90, postgresql91: segment fault 11 with OS X 10.7 |
As ticket reporter you do not need to Cc yourself. You should however Cc the ports' maintainers and indicate the affected ports in the Summary and Port fields.
comment:3 Changed 13 years ago by jyrkiwahlstedt
10.7, Lion, is still under NDA, so we'll have to wait for a few days to discuss that here...
comment:4 Changed 13 years ago by nerdling (Jeremy Lavergne)
Keywords: | lion added |
---|
comment:7 Changed 13 years ago by stevenschlansker@…
Rebuilding with the macports-gcc-4.4 compiler (by adding the line "configure.compiler macports-gcc-4.4 to the Portfile") seems to fix this problem.
comment:8 Changed 13 years ago by jmroot (Joshua Root)
This is probably the same miscompilation of ncurses by Xcode 4.2 prereleases as seen in #29771.
comment:9 Changed 13 years ago by calvin@…
Cc me.
So will the Portfile be updated to enforce "configure.compiler macports-gcc-4.4 to the Portfile"? Or will there be another fix?
comment:10 Changed 13 years ago by calvin@…
In case anyone else has run into problems, I managed to solve this problem by using my own Portfile locally and enforcing llvm-gcc-4.2 as the compiler. llvm-gcc-4.2 compiled postgresql no longer gives me a "segmentation fault: 11" error.
I left my detailed notes on stackoverflow here in case anyone needs them - http://stackoverflow.com/questions/7883751/segmentation-fault-11-zcat-pipe-into-postgresql-9-0-5-lion
Cheers.
comment:18 Changed 13 years ago by jason@…
The following works, after upgrading to Xcode 4.3 this still failed when build with clang
sudo port install postgresql90 configure.compiler=llvm-gcc-4.2
llvm
llvm-gcc-4.2 --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Clang
clang --version Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.3.0 Thread model: posix
comment:20 Changed 13 years ago by drkp (Dan Ports)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
crash.log