<html>
<head>
<base href="https://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 - ld64.lld.darwinnew linked v8_context_snapshot_generator doesn't run on macos 10.15.7 (and possibly other macos versions)"
href="https://bugs.llvm.org/show_bug.cgi?id=48511">48511</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ld64.lld.darwinnew linked v8_context_snapshot_generator doesn't run on macos 10.15.7 (and possibly other macos versions)
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>MachO
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nicolasweber@gmx.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>repro file here
<a href="https://drive.google.com/file/d/1yKoVlb8e7A_AjaRad2fdiQRpo_7xJK7T/view?usp=sharing">https://drive.google.com/file/d/1yKoVlb8e7A_AjaRad2fdiQRpo_7xJK7T/view?usp=sharing</a>
(uses thin static archives, so regular ld can't link it. I can make a normal
repro if it's useful)
% ./v8_context_snapshot_generator
dyld: Symbol not found: _kCGColorSpaceITUR_2100_HLG
Referenced from:
/Users/thakis/src/chrome/src/out/gn/./v8_context_snapshot_generator
Expected in:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
in /Users/thakis/src/chrome/src/out/gn/./v8_context_snapshot_generator
zsh: abort ./v8_context_snapshot_generator
It should probably pick up the def from CoreGraphics instead -- it's maybe
similar to <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - ld64.lld.darwinnew-linked binaries don't run on macOS 10.13"
href="show_bug.cgi?id=48395">bug 48395</a>.
However, CoreGraphics used to be in ApplicationServices, and
ApplicationServices.tbd has these magic symbols:
symbols: [
'$ld$install_name$os10.4$/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices',
'$ld$install_name$os10.5$/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices',
'$ld$install_name$os10.6$/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices',
'$ld$install_name$os10.7$/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices',
10.7 is maybe old enough that we don't _have_ to handle these magic symbols,
but we might encounter them in a separate context. But it's probably off topic
for this bug.</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>