lld-link.exe: error: codeview::mergeTypeAndIdRecords failed: CodeView Error: The CodeView record is corrupted. input type graph contains cycles
Categories
(Firefox Build System :: Toolchains, defect)
Tracking
(Not tracked)
People
(Reporter: heycam, Unassigned)
Details
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Reporter | ||
Comment 8•6 years ago
|
||
I tried building my patches locally with a recently mach bootstrapped clang, but couldn't reproduce.
(In reply to Nathan Froyd [:froydnj] from comment #7)
MSVC has a limit on character constants of 65536 bytes, so perhaps GkAtoms's
large size needs to be handled specially, and Rust's version of LLVM isn't
doing that...?
Is that the limit of the number of char[] constants, or the maximum length of a single char[] constant? (The total size of character data in GkAtoms is larger than 64 KiB but each individual atom's char[] array is short.)
Reporter | ||
Comment 9•6 years ago
|
||
(In reply to Cameron McCormack (:heycam) from comment #8)
(The total size of character data in GkAtoms is larger than 64 KiB but each individual atom's char[] array is short.)
Oh, I was wrong about that -- the character data in GkAtoms is 54,764 bytes.
Comment 10•6 years ago
|
||
(In reply to Cameron McCormack (:heycam) from comment #8)
(In reply to Nathan Froyd [:froydnj] from comment #7)
MSVC has a limit on character constants of 65536 bytes, so perhaps GkAtoms's
large size needs to be handled specially, and Rust's version of LLVM isn't
doing that...?Is that the limit of the number of char[] constants, or the maximum length of a single char[] constant? (The total size of character data in GkAtoms is larger than 64 KiB but each individual atom's char[] array is short.)
AFAIK, it's the maximum length of a single char[] constant, but I was speculating that maybe the 16-bit limit applies to other things in CodeView, and there's something else going wrong.
Comment 11•6 years ago
|
||
(In reply to Cameron McCormack (:heycam) from comment #8)
I tried building my patches locally with a recently mach bootstrapped clang,
but couldn't reproduce.
What's your clang-cl --version
? Unless you ran bootstrap in the brief period of time between when we updated the compiler and when that got backed out, you're probably running the same version as automation.(Which would mean there's some additional factor at play, beyond just compiler revision.)
Reporter | ||
Comment 12•6 years ago
|
||
It's clang version 7.0.0 (tags/RELEASE_700/final 342383)
.
Comment 13•6 years ago
|
||
I'm going to go ahead and resolve this; heycam appears to have worked around the problem, and whatever problem it wasn't hasn't come up again. We can reopen if need be.
Description
•