[llvm-bugs] [Bug 48511] New: ld64.lld.darwinnew linked v8_context_snapshot_generator doesn't run on macos 10.15.7 (and possibly other macos versions)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 14 18:10:13 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48511

            Bug ID: 48511
           Summary: ld64.lld.darwinnew linked
                    v8_context_snapshot_generator doesn't run on macos
                    10.15.7 (and possibly other macos versions)
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MachO
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org

repro file here
https://drive.google.com/file/d/1yKoVlb8e7A_AjaRad2fdiQRpo_7xJK7T/view?usp=sharing
(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 bug 48395.

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201215/97fd969d/attachment-0001.html>


More information about the llvm-bugs mailing list