[MacPorts] #55098: libcdr-0.1 @0.1.4_0 does not build on 10.5.8 PPC

MacPorts noreply at macports.org
Sun Oct 15 16:42:07 UTC 2017


#55098: libcdr-0.1 @0.1.4_0 does not build on 10.5.8 PPC
-------------------------+-----------------------------
  Reporter:  udbraumann  |      Owner:  dbevans
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  leopard powerpc
      Port:  libcdr-0.1  |
-------------------------+-----------------------------

Comment (by kencu):

 when building newer software on PPC (or any system) with newer versions of
 gcc, I find the build can be quite sensitive to exact standard settings.
 `g++11` is not the same as `c++11`, and then you have `gcc14`, `c++14`,
 and then the `17` series. Rather than trial and error, googling will very
 often lead to solutions others have found.

 Also, with boost on PPC in particular, I find adding `configure.args-
 append -fvisibility-hidden` is often needed. I read about why this was
 needed a few months ago, but I forget just now what the details were.

 Finally, you're building in 32bits on PPC, and there can be 32bit / 64bit
 things to deal with sometimes.

 So there are some ideas to ponder.

 I do have clang-3.8 working on PPC now; exceptions don't work, but nearly
 everything else does work. The install presently needs one manual step due
 to a cmake script that doesn't consider a gcc build properly. If you want
 to try the clang-3.8 build, it's here
 <https://github.com/kencu/LeopardPorts/tree/master/lang/llvm-3.8>, and the
 one manual step on Leopard is here
 <https://trac.macports.org/ticket/53184#comment:5>

--
Ticket URL: <https://trac.macports.org/ticket/55098#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list