-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The rust toolchain has some 32 bit debug info symbols. This causes linking to fail when trying to use the rust toolchain. This was fixed with 2 different methods depending on which compiler:
1. Disable "-fno-limit-debug-info" on clang. This is currently tripling our debug info size. Without it we can go back to using dwarf32. We could not find any significant decrease in debug ability with it disabled.
2. Link using mold on gcc. Mold properly sorts the 32 and 64 bit debug symbols, allowing both to exist in the final binary.