Posts

Post not yet marked as solved
0 Replies
473 Views
I'm having issues with compiling and linking. Randomly, either the compiler or the linker fails with error reports similar to this: Process: ld [39849] Path: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld Identifier: ld Version: ??? Code Type: X86-64 (Native) Parent Process: clang [39847] Responsible: Xcode [11293] User ID: 501 Date/Time: 2022-03-08 20:49:34.2264 -0700 OS Version: macOS 12.2.1 (21D62) Report Version: 12 Anonymous UUID: 65A32827-D6E1-71EE-C648-BD8683BC8BB0 Time Awake Since Boot: 10000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00007d9738aab060 Exception Codes: 0x0000000000000001, 0x00007d9738aab060 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [39849] VM Region Info: 0x7d9738aab060 is not in any region. Bytes after previous region: 138083053240417 Bytes before following region: 2198373486496 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL mapped file 1414c1000-141543000 [ 520K] r--/r-- SM=COW ...t_id=b04ff949 ---> GAP OF 0x7f95d09bd000 BYTES MALLOC_LARGE 7f9711f00000-7f9717f00000 [ 96.0M] rw-/rwx SM=PRV ... Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libLTO.dylib 0x112bcbf54 (anonymous namespace)::SCCPSolver::markUsersAsChanged(llvm::Value*) + 20 1 libLTO.dylib 0x112bc7d7e (anonymous namespace)::SCCPSolver::Solve() + 94 2 libLTO.dylib 0x112bc5eed llvm::runIPSCCP(llvm::Module&, llvm::DataLayout const&, std::__1::function<llvm::TargetLibraryInfo const& (llvm::Function&)>, llvm::function_ref<llvm::AnalysisResultsForFn (llvm::Function&)>) + 2749 3 libLTO.dylib 0x112ae1136 (anonymous namespace)::IPSCCPLegacyPass::runOnModule(llvm::Module&) + 86 4 libLTO.dylib 0x11246ab95 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 709 5 libLTO.dylib 0x1126f91f1 llvm::LTOCodeGenerator::optimize(bool, bool, bool, bool) + 945 6 libLTO.dylib 0x111ee7993 lto_codegen_optimize + 51 7 ld 0x10b5eac31 lto::Parser::codegen(lto::OptimizeOptions const&, ld::Internal&, LLVMOpaqueLTOCodeGenerator*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 301 8 ld 0x10b5eb71c lto::Parser::optimizeLTO(std::__1::vector<lto::File*, std::__1::allocator<lto::File*> >, std::__1::vector<ld::Atom const*, std::__1::allocator<ld::Atom const*> > const&, ld::Internal&, lto::OptimizeOptions const&, ld::File::AtomHandler&, std::__1::vector<ld::Atom const*, std::__1::allocator<ld::Atom const*> >&, std::__1::vector<char const*, std::__1::allocator<char const*> >&) + 536 9 ld 0x10b5eddfe lto::Parser::optimize(std::__1::vector<ld::Atom const*, std::__1::allocator<ld::Atom const*> > const&, ld::Internal&, lto::OptimizeOptions const&, ld::File::AtomHandler&, std::__1::vector<ld::Atom const*, std::__1::allocator<ld::Atom const*> >&, std::__1::vector<char const*, std::__1::allocator<char const*> >&) + 1134 10 ld 0x10b5ee8bf lto::optimize(std::__1::vector<ld::Atom const*, std::__1::allocator<ld::Atom const*> > const&, ld::Internal&, lto::OptimizeOptions const&, ld::File::AtomHandler&, std::__1::vector<ld::Atom const*, std::__1::allocator<ld::Atom const*> >&, std::__1::vector<char const*, std::__1::allocator<char const*> >&) + 69 11 ld 0x10b611318 ld::tool::Resolver::linkTimeOptimize() + 666 12 ld 0x10b611bb4 ld::tool::Resolver::resolve() + 166 13 ld 0x10b598abd main + 307 14 dyld 0x111e2f4fe start + 462 I'm thinking this is either a problem with the RAM or my computer is overheating. Thoughts?
Posted Last updated
.