lld-link: error: undefined symbol: __declspec(dllimport) NtWriteFile
Categories
(Firefox Build System :: MozillaBuild, defect)
Tracking
(Not tracked)
People
(Reporter: linxin19812012, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Steps to reproduce:
I run "./mach build" on tag FIREFOX_113_0_2_RELEASE.
Actual results:
6:36.28 lld-link: error: undefined symbol: __declspec(dllimport) NtWriteFile
6:36.28 >>> referenced by /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\std\src\sys\windows\stdio.rs:99
6:36.28 >>> builtins_static.lib(builtins_static-147ba1f76cfe220b.smallvec-1b1f93064a56bee5.smallvec.0aa898c2-cgu.0.rcgu.o.rcgu.o):(std::sys::windows::stdio::write::h3c0a0f8c7c3063c9)
6:36.28 lld-link: error: undefined symbol: __declspec(dllimport) RtlNtStatusToDosError
6:36.28 >>> referenced by /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\std\src\sys\windows\stdio.rs:99
6:36.28 >>> builtins_static.lib(builtins_static-147ba1f76cfe220b.smallvec-1b1f93064a56bee5.smallvec.0aa898c2-cgu.0.rcgu.o.rcgu.o):(std::sys::windows::stdio::write::h3c0a0f8c7c3063c9)
Expected results:
Compilation completed normally
Comment 1•2 years ago
|
||
I'm not able to reproduce. Could you try running the following sequence of commands and seeing if you still get the same problem?
./mach clobber
./mach bootstrap
./mach configure
./mach build
For bootstrap, make sure to select option 2 (2. Firefox for Desktop
).
Updated•2 years ago
|
Updated•2 years ago
|
Description
•