[llvm-bugs] [Bug 50651] New: fatal error U1077: lld-link.EXE (LLD 12.0.0) - Windows 10

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 9 18:35:12 PDT 2021


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

            Bug ID: 50651
           Summary: fatal error U1077: lld-link.EXE (LLD 12.0.0) - Windows
                    10
           Product: lld
           Version: 12.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dsim at smallscript.com
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

For at least 6 months now, about every other compile the lld.exe on Windows 10
with has a fatal error:

fatal error U1077: '"C:\Program Files\LLVM\bin\lld-link.EXE"' : return code
'0xc0000005'
===
Unfortunately I can't just click to report it. And unfortunately when it fails
I am inevitably in the middle of some other task with a deliverable timeline
that precludes my taking any significant time to report the "fatal error" in
lld-link.exe.
===
It affects various versions of lld.exe I have used.
====
1>  PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
1>  Stack dump:
1>  0.  Program arguments: "C:\\Program Files\\LLVM\\bin\\lld-link.EXE"
/NODEFAULTLIB:msvcrt /TSAWARE /DELAY:UNLOAD /SUBSYSTEM:CONSOLE /DEBUG:GHASH
/DELAYLOAD:advapi32.dll /DELAYLOAD:crypt32.dll /DELAYLOAD:dnsapi.dll
/DELAYLOAD:fmifs.dll /DELAYLOAD:iphlpapi.dll /DELAYLOAD:mi.dll
/DELAYLOAD:netapi32.dll /DELAYLOAD:ntdll.dll /DELAYLOAD:ole32.dll
/DELAYLOAD:oleaut32.dll /DELAYLOAD:rpcrt4.dll /DELAYLOAD:secur32.dll
/DELAYLOAD:setupapi.dll /DELAYLOAD:shell32.dll /DELAYLOAD:shlwapi.dll
/DELAYLOAD:user32.dll /DELAYLOAD:userenv.dll /DELAYLOAD:virtdisk.dll
/DELAYLOAD:wlanapi.dll /DELAYLOAD:ws2_32.dll /DELAYLOAD:UxTheme.dll
/DELAYLOAD:Wtsapi32.dll /DELAYLOAD:windowsapp.dll /DELAYLOAD:mswsock.dll
/DELAYLOAD:bcrypt.dll /DELAYLOAD:api-ms-win-core-winrt-error-l1-1-0.dll
/DELAYLOAD:api-ms-win-core-winrt-error-l1-1-1.dll
/DELAYLOAD:api-ms-win-core-winrt-l1-1-0.dll
/DELAYLOAD:api-ms-win-core-winrt-string-l1-1-0.dll
/OUT:..\\..\\AfBox-build\\Release\\afbox.core.exe
/LIBPATH:..\\..\\AfBox-build\\Release /LIBPATH:..\\..\\AfBox-build\\lib
/LIBPATH:..\\..\\AfBox-build\\onigmo\\build_x86 /LIBPATH:..\\compat\\openssl
Wsetargv.obj afm.res @linkopts
1>  #0 0x00007ff61317e2a4 C:\Program Files\LLVM\bin\lld-link.EXE 0xae2a4
C:\Program Files\LLVM\bin\lld-link.EXE 0x8cfc2
1>  #1 0x00007ff61317e2a4 C:\Program Files\LLVM\bin\lld-link.EXE 0x82ca9
C:\Program Files\LLVM\bin\lld-link.EXE 0x17ad
1>  #2 0x00007ff61317e2a4 C:\Program Files\LLVM\bin\lld-link.EXE 0x12c4
C:\Program Files\LLVM\bin\lld-link.EXE 0x26e63fc
1>  #3 0x00007ff61317e2a4 (C:\Program Files\LLVM\bin\lld-link.EXE+0xae2a4)
1>  #4 0x00007ff61315cfc2 (C:\Program Files\LLVM\bin\lld-link.EXE+0x8cfc2)
1>  0x00007FF61317E2A4 (0x01D75D97B224C878 0x0000000000000000
0x0000000000000056 0x0000000000000040)
1>  0x00007FF61315CFC2 (0x0000015900000003 0x0000000000000026
0x00007FF6157B9F0F 0x0000000000000004)
1>  0x00007FF613152CA9 (0x00000159EC42AB44 0x00000159EC42AB59
0x00000159EC42AB71 0x00000159EC42AB87)
1>  0x00007FF6130D17AD (0x00007FF6172F19CD 0x000000000000000D
0x00007FF6172F1732 0x0000000000000003)
1>  0x00007FF6130D12C4 (0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000)
1>  0x00007FF6157B63FC (0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000)
1>  0x00007FFF9B177034 (0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
1>  0x00007FFF9CC42651 (0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
1>  NMAKE : fatal error U1077: '"C:\Program Files\LLVM\bin\lld-link.EXE"' :
return code '0xc0000005'
1>  Stop.

-- 
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/20210610/7f973a39/attachment.html>


More information about the llvm-bugs mailing list