[MacPorts] #55104: kde4-workspace: fails to compile on High Sierra

MacPorts noreply at macports.org
Sun Oct 29 19:23:24 UTC 2017


#55104: kde4-workspace: fails to compile on High Sierra
-----------------------------+------------------------
  Reporter:  meabandit       |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:  highsierra
      Port:  kde4-workspace  |
-----------------------------+------------------------

Comment (by RJVB):

 I wouldn't be surprised if the visibility model has moved to 'hidden by
 default' in recent compiler versions and/or C++ flavours (I've been
 running into visibility issues even on 10.9 of late).

 Does the AppleClang from Darwin17 still support `-fvisibility=hidden`? I
 see several tests

 {{{
    # visibility support
    check_cxx_compiler_flag(-fvisibility=hidden __KDE_HAVE_GCC_VISIBILITY)
    set( __KDE_HAVE_GCC_VISIBILITY ${__KDE_HAVE_GCC_VISIBILITY} CACHE BOOL
 "GCC support for hidden visibility")
 }}}

 in the various cmake modules installed by KDElibs4. If I'm not mistaken
 that will define `__KDE_HAVE_GCC_VISIBILITY` provided the compiler
 supports the flag.

 You may need to check the cmake error file (probably
 ${build.dir}/CMakeFiles/CMakeError.log or
 ${build.dir}/CMakeFiles/CMakeOutput.log) to see what happens with that
 test.

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


More information about the macports-tickets mailing list