Servo Build Error with customized rustc

Hi all!

I have some problem to build servo(rust program) with my local rustc.
I modify the rustc and build the rust program with my local rustc.
There is some error like below.


error: librustc_driver-46db786859b29718.so: cannot open shared object file: No such file or directory
  --> components/script/lib.rs:13:11
   |
13 | #![plugin(script_plugins)]
   |           ^^^^^^^^^^^^^^

error: could not compile `script` due to previous error

I guess that local rustc doesn`t have the dependency or tools about script_plugins.

Is there any solution??

Thank you!

Are you using a stage1 or stage2 build? A stage1 build is not able to compile plugins that can be loaded by the same rustc as is required here.