[MacPorts] #53150: llvm-3.8: llvm ld: unknown option: -export_dynamic (was: llvm ld: unknown option: -export_dynamic)

MacPorts noreply at macports.org
Sat Dec 24 17:38:13 CET 2016


#53150: llvm-3.8: llvm ld: unknown option: -export_dynamic
-----------------------+----------------------
  Reporter:  gbrtrac   |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  llvm-3.8  |
-----------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:   => jeremyhu
 * port:   => llvm-3.8


Old description:

> There is an unknown linker flag being used in the building of llvm
>
> :info:build /opt/local/bin/clang++-mp-3.7   -pipe -Os -std=c++11
> -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-
> parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
> -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
> -Wdelete-non-virtual-dtor -std=c++11 -DNDEBUG -arch x86_64 -mmacosx-
> version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
> -L/opt/local/lib -Wl,-headerpad_max_install_names  -rdynamic
> CMakeFiles/bugpoint.dir/BugDriver.cpp.o
> CMakeFiles/bugpoint.dir/CrashDebugger.cpp.o
> CMakeFiles/bugpoint.dir/ExecutionDriver.cpp.o
> CMakeFiles/bugpoint.dir/ExtractFunction.cpp.o
> CMakeFiles/bugpoint.dir/FindBugs.cpp.o
> CMakeFiles/bugpoint.dir/Miscompilation.cpp.o
> CMakeFiles/bugpoint.dir/OptimizerDriver.cpp.o
> CMakeFiles/bugpoint.dir/ToolRunner.cpp.o
> CMakeFiles/bugpoint.dir/bugpoint.cpp.o  -o ../../bin/bugpoint
> -Wl,-rpath,/opt/local/libexec/llvm-3.8/lib  ../../lib/libLLVM.dylib
> :info:build ld: unknown option: -export_dynamic

New description:

 There is an unknown linker flag being used in the building of llvm

 {{{
 :info:build /opt/local/bin/clang++-mp-3.7   -pipe -Os -std=c++11
 -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-
 parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
 -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
 -Wdelete-non-virtual-dtor -std=c++11 -DNDEBUG -arch x86_64 -mmacosx-
 version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
 -L/opt/local/lib -Wl,-headerpad_max_install_names  -rdynamic
 CMakeFiles/bugpoint.dir/BugDriver.cpp.o
 CMakeFiles/bugpoint.dir/CrashDebugger.cpp.o
 CMakeFiles/bugpoint.dir/ExecutionDriver.cpp.o
 CMakeFiles/bugpoint.dir/ExtractFunction.cpp.o
 CMakeFiles/bugpoint.dir/FindBugs.cpp.o
 CMakeFiles/bugpoint.dir/Miscompilation.cpp.o
 CMakeFiles/bugpoint.dir/OptimizerDriver.cpp.o
 CMakeFiles/bugpoint.dir/ToolRunner.cpp.o
 CMakeFiles/bugpoint.dir/bugpoint.cpp.o  -o ../../bin/bugpoint
 -Wl,-rpath,/opt/local/libexec/llvm-3.8/lib  ../../lib/libLLVM.dylib
 :info:build ld: unknown option: -export_dynamic
 }}}

--

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


More information about the macports-tickets mailing list