[MacPorts] #48404: libclang missing symbols in shared library

MacPorts noreply at macports.org
Sun Jul 19 13:33:56 PDT 2015


#48404: libclang missing symbols in shared library
------------------------+--------------------------------
 Reporter:  macports@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.3
 Keywords:  clang       |       Port:  clang
------------------------+--------------------------------
 libclang is missing symbols.

 {{{
 $ nm /opt/local/libexec/llvm-3.6/lib/libclang.a | grep
 clang_CompileCommand
 00000000000002d3 T _clang_CompileCommand_getArg
 000000000000028f T _clang_CompileCommand_getDirectory
 000000000000039e T _clang_CompileCommand_getMappedSourceContent
 0000000000000345 T _clang_CompileCommand_getMappedSourcePath
 00000000000002b4 T _clang_CompileCommand_getNumArgs
 0000000000000326 T _clang_CompileCommand_getNumMappedSources
 000000000000020c T _clang_CompileCommands_dispose
 0000000000000255 T _clang_CompileCommands_getCommand
 0000000000000237 T _clang_CompileCommands_getSize
 }}}

 {{{
 $ nm /opt/local/libexec/llvm-3.6/lib/libclang.dylib | grep
 clang_CompileCommand
 0000000000021888 T _clang_CompileCommand_getArg
 0000000000021844 T _clang_CompileCommand_getDirectory
 0000000000021869 T _clang_CompileCommand_getNumArgs
 00000000000217c1 T _clang_CompileCommands_dispose
 000000000002180a T _clang_CompileCommands_getCommand
 00000000000217ec T _clang_CompileCommands_getSize
 }}}

 Missing are

 {{{
 000000000000039e T _clang_CompileCommand_getMappedSourceContent
 0000000000000345 T _clang_CompileCommand_getMappedSourcePath
 0000000000000326 T _clang_CompileCommand_getNumMappedSources
 }}}

 They are missing from libclang.exports file.
 ${SRC}/tools/clang/tools/libclang/libclang.exports

 Can MacPorts patch that file so that symbols are correctly exported to the
 shared library?

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


More information about the macports-tickets mailing list