[MacPorts] #54228: octave @4.2.1 build failure on SnowLeopard with clang-3.9 due to malformed object error, but succeeds with clang-3.8

MacPorts noreply at macports.org
Fri May 26 17:01:59 UTC 2017


#54228: octave @4.2.1 build failure on SnowLeopard with clang-3.9 due to malformed
object error, but succeeds with clang-3.8
---------------------+---------------------------------
  Reporter:  kencu   |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  snowleopard
      Port:  octave  |
---------------------+---------------------------------

Comment (by kencu):

 Ah, looks like that RANLIB fix should work, I think.

 That -stdlib=macports-libstdc++ error comes because Marcus' patch is not a
 default on clang-3.9 (it probably should be). You'll need to reinstall
 clang-3.9 with the proper variant manually for now, and enable the
 libstdcxx variant.
 {{{
 $ port variants clang-3.9
 clang-3.9 has the variants:
 [+]analyzer: Install clang static analyzer
    assertions: Enable assertions for error detection (has performance
 impacts,
                especially on JIT)
    debug: Enable debug binaries
    libstdcxx: -stdlib=macports-libstdc++ searches for MacPorts libstdc++
    universal: Build for multiple architectures
 }}}

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


More information about the macports-tickets mailing list