<html>
<head>
<base href="http://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - ld: unknown option: --version-script= failure in lib/libomptarget.dylib"
href="http://bugs.llvm.org/show_bug.cgi?id=32309">32309</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ld: unknown option: --version-script= failure in lib/libomptarget.dylib
</td>
</tr>
<tr>
<th>Product</th>
<td>OpenMP
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Runtime Library
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>howarth.mailing.lists@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The build of openmp for current svn trunk fails on x86_64-apple-darwin16 with
the error...
[ 46%] Linking CXX shared library ../../../lib/libomptarget.dylib
cd /sw/src/fink.build/llvm50-5.0.0-1/build/stage1/projects/openmp/libomptarget
&& /sw/bin/cmake -E cmake_link_script CMakeFiles/omptarget.dir/link.txt
--verbose=1
/sw/src/fink.build/llvm50-5.0.0-1/opt-bin/ccclang++ -fno-common -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
-Wstring-conversion -Werror=date-time -std=c++11 -O3 -dynamiclib
-Wl,-headerpad_max_install_names -L/sw/lib -o ../../../lib/libomptarget.dylib
-install_name
/sw/src/fink.build/llvm50-5.0.0-1/build/stage1/lib/libomptarget.dylib
CMakeFiles/omptarget.dir/src/omptarget.cpp.o -ldl
-Wl,--version-script=/sw/src/fink.build/llvm50-5.0.0-1/llvm-5.0.0.src/projects/openmp/libomptarget/exports
ld: unknown option:
--version-script=/sw/src/fink.build/llvm50-5.0.0-1/llvm-5.0.0.src/projects/openmp/libomptarget/exports
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libomptarget.dylib] Error 1
make[1]: *** [projects/openmp/libomptarget/CMakeFiles/omptarget.dir/all] Error
2
make: *** [all] Error 2
due to the lack of support for the --version-script= option in the darwin
linker.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>