Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#21604·servo

Unable to create dev builds on Windows

Author: ferjmCreated Sep 4, 2018Updated Sep 15, 2026
LabelsP-windowsA-build

I can perfectly build Servo in release mode. But when I try a dev build I am get a bunch of linker errors like:

          libservo-8358b3da2893e936.rlib(servo-8358b3da2893e936.1ks3n3t8e6o7dcp0.rcgu.o) : error LNK2019: unresolved external symbol _ZN76_$LT$std..sync..mpsc..Receiver$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b96090abb62b20fE referenced in function _ZN4core3ptr13drop_in_place17h54e0ecf729bc553cE
          liblayout_thread-80b590f910b4355c.rlib(layout_thread-80b590f910b4355c.3jyjsv4oyqmulv39.rcgu.o) : error LNK2001: unresolved external symbol _ZN76_$LT$std..sync..mpsc..Receiver$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b96090abb62b20fE
          libservo-8358b3da2893e936.rlib(servo-8358b3da2893e936.1ks3n3t8e6o7dcp0.rcgu.o) : error LNK2019: unresolved external symbol _ZN71_$LT$alloc..vec..IntoIter$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h032672dd044efb52E referenced in function _ZN4core3ptr13drop_in_place17h731bb0a2215d8f2aE
          libservo-8358b3da2893e936.rlib(servo-8358b3da2893e936.1ks3n3t8e6o7dcp0.rcgu.o) : error LNK2019: unresolved external symbol _ZN67_$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h388aaafa9d51e000E referenced in function _ZN4core3ptr13drop_in_place17h8f085add7a63991eE
          liblayout_thread-80b590f910b4355c.rlib(layout_thread-80b590f910b4355c.3jyjsv4oyqmulv39.rcgu.o) : error LNK2001: unresolved external symbol _ZN67_$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h388aaafa9d51e000E
          libservo-8358b3da2893e936.rlib(servo-8358b3da2893e936.1ks3n3t8e6o7dcp0.rcgu.o) : error LNK2019: unresolved external symbol _ZN67_$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hb58bb9fd7c9b1037E referenced in function _ZN4core3ptr13drop_in_place17h90db8f2efd5aa036E
          liblayout_thread-80b590f910b4355c.rlib(layout_thread-80b590f910b4355c.3jyjsv4oyqmulv39.rcgu.o) : error LNK2001: unresolved external symbol _ZN67_$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hb58bb9fd7c9b1037E
          libservo-8358b3da2893e936.rlib(servo-8358b3da2893e936.1ks3n3t8e6o7dcp0.rcgu.o) : error LNK2019: unresolved external symbol _ZN67_$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hbdd6aa9d88904bf3E referenced in function _ZN4core3ptr13drop_in_place17hb50c2e40b98a92f0E
          liblayout_thread-80b590f910b4355c.rlib(layout_thread-80b590f910b4355c.3jyjsv4oyqmulv39.rcgu.o) : error LNK2001: unresolved external symbol _ZN67_$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hbdd6aa9d88904bf3E
          libservo-8358b3da2893e936.rlib(servo-8358b3da2893e936.1ks3n3t8e6o7dcp0.rcgu.o) : error LNK2019: unresolved external symbol _ZN67_$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hd7adf32ab85f4355E referenced in function _ZN4core3ptr13drop_in_place17hbe24a9195f9c05b7E
liblayout_thread-80b590f910b4355c.rlib(layout_thread-80b590f910b4355c.3jyjsv4oyqmulv39.rcgu.o) : error LNK2001: unresolved external symbol _ZN67_$LT$alloc..sync..Arc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17hd7adf32ab85f4355E
[...]
C:\Users\harpo\servo\target\debug\deps\simpleservo.dll : fatal error LNK1120: 619 unresolved externals

Full log here

Source: servo/servo

View original on GitHubView discussion on GitHub