[MacPorts] #47754: Vigra @1.10.0_6 build fails

MacPorts noreply at macports.org
Tue May 26 12:08:01 PDT 2015


#47754: Vigra @1.10.0_6 build fails
-------------------------+-------------------------------
  Reporter:  macports@…  |      Owner:  benjamin.seppke@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:              |   Keywords:
      Port:  vigra       |
-------------------------+-------------------------------

Comment (by benjamin.seppke@…):

 Hello,

 you are right - and I was still confused regarding my last post. I edited
 it to avois any confusion here.

 The error arises for the error (?!) inside the cmake defaults w.r.t. the
 clang++ build chain. In the default setting, this results in a
 CMakeCache.txt build config for Release like:

 {{{
  CMAKE_CXX_FLAGS_RELEASE          -pipe -Os -DNDEBUG
 }}}

 In the -Os optimization level some symbols of the std c++ lib are somehow
 lost.
 But if you replace the -Os with e.g. -O3 optimization, it compiles just as
 expected.

 I have appended a Portfile-patch to this ticket, which solves this issue
 for me. Feel free to try it out and - if successful - please patch the
 macports Portfile for me. Unfortunately, I don't have write priviledges
 there.

-- 
Ticket URL: <https://trac.macports.org/ticket/47754#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list