Linux LTO with lld from llvm 9
    Newbie2019 
    newbie2019 at gmail.com
       
    Fri Oct  4 03:06:19 UTC 2019
    
    
  
If I link without druntime, can I use lld from linux ?
when I link with gold I get this error:
ld-new: fatal error: LLVM gold plugin has failed to create LTO 
module: Unknown attribute kind (62) (Producer: 'LLVM9.0.0' 
Reader: 'LLVM 8.0.1')
clang-8: error: linker command failed with exit code 1 (use -v to 
see invocation)
I try rebuild the ld-new, but seems not fix the problem.
I guess lld is a better link since it from llvm team,  how can i 
use it with ldc or clang for LTO and linux ?
    
    
More information about the digitalmars-d-ldc
mailing list