[MacPorts] #42399: PETSc Build error on OSX 10.7.5
#42399: PETSc Build error on OSX 10.7.5 ----------------------------------+-------------------------------- Reporter: s.schmidt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: Apple clang segfault | Port: PETSc ----------------------------------+-------------------------------- Tried to install PETSc as part of installing FEniCS/Dolfin using macports. Starting from a "clean" machine, /opt/ is empty, port is freshly installed, all tips and tricks with self updating and cleaning have been tried. Seems that the Apple compiler runs into a segmentation fault during compilation: :info:build clang: error: unable to execute command: Segmentation fault: 11 :info:build clang: error: clang frontend command failed due to signal (use -v to see invocation) :info:build Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) -- Ticket URL: <https://trac.macports.org/ticket/42399> MacPorts <http://www.macports.org/> Ports system for OS X
#42399: PETSc Build error on OSX 10.7.5 --------------------------+---------------------------------- Reporter: s.schmidt@… | Owner: sean@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Apple clang segfault Port: PETSc | --------------------------+---------------------------------- Changes (by sean@…): * cc: s.schmidt@… (removed) * status: new => assigned * owner: macports-tickets@… => sean@… Comment: You don't have to CC yourself, by the way. I'll start looking into this now. -- Ticket URL: <https://trac.macports.org/ticket/42399#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42399: PETSc Build error on OSX 10.7.5 --------------------------+---------------------------------- Reporter: s.schmidt@… | Owner: sean@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Apple clang segfault Port: PETSc | --------------------------+---------------------------------- Comment (by sean@…): Well, damn, that is a compiler crash. First thing to test is updating Xcode and Xcode Command Line Tools. Can you do both of those and clean and retry? {{{ $ sudo port clean petsc $ sudo port install petsc }}} -- Ticket URL: <https://trac.macports.org/ticket/42399#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42399: PETSc Build error on OSX 10.7.5 --------------------------+---------------------------------- Reporter: s.schmidt@… | Owner: sean@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Apple clang segfault Port: PETSc | --------------------------+---------------------------------- Comment (by s.schmidt@…): I am using Xcode Version 4.6.3 (4H1503) with matching command line tools. Updating either fails and is only available for OSX 10.8.4. With OSX 10.7.5, this is the latest one can get officially… -- Ticket URL: <https://trac.macports.org/ticket/42399#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42399: PETSc Build error on OSX 10.7.5 --------------------------+---------------------------------- Reporter: s.schmidt@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Apple clang segfault Port: PETSc | --------------------------+---------------------------------- Changes (by sean@…): * status: assigned => closed * resolution: => worksforme Comment: Well, that's unfortunately. There are two options here, you can try to rebuild with a different compiler: {{{ $ sudo port install mpich-clang34 $ sudo port install petsc }}} Or, if you just want FEniCS and don't care about PETSc, then you can skip the petsc option by {{{ $ sudo port install dolfin -petsc -slepc }}} Other than that, you'd either have to submit a bug report to clang (though it might be fixed in a later version by now) or update your OS :-/ -- Ticket URL: <https://trac.macports.org/ticket/42399#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42399: PETSc Build error on OSX 10.7.5 --------------------------+-------------------- Reporter: s.schmidt@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: PETSc | --------------------------+-------------------- Changes (by macsforever2000@…): * keywords: Apple clang segfault => -- Ticket URL: <https://trac.macports.org/ticket/42399#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts