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: unassignedb...@nondot.org
          Reporter: nicolaswe...@gmx.de
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to