Hello, thanks to your guide "Compiling the compiler" I got a nice RPi Rust cross-compiler working last night. However there was one roadblock that took a while for me to figure out, which was that I had to set LD_LIBRARY_PATH after the installation. I now know that the final output of make install is to tell you to make sure you set your LD_LIBRARY_PATH, but I guess I wasn't paying attention to it at first, and then running rustc gave me a rustc: symbol lookup error: rustc: undefined symbol: _ZN10lang_start20he89a41cbe8ac26fcWjeE error.
So I'd like to suggest adding the setting of LD_LIBRARY_PATH as an explicit step in the instructions, as I think it would help others like me.
This is caused by a recent change in the way the rust compiler works, and I've not updated my instructions to cope with it. I'll update my copy of rustc and fix the instructions. Thanks.
Hello, thanks to your guide "Compiling the compiler" I got a nice RPi Rust cross-compiler working last night. However there was one roadblock that took a while for me to figure out, which was that I had to set
LD_LIBRARY_PATH
after the installation. I now know that the final output ofmake install
is to tell you to make sure you set yourLD_LIBRARY_PATH
, but I guess I wasn't paying attention to it at first, and then runningrustc
gave me arustc: symbol lookup error: rustc: undefined symbol: _ZN10lang_start20he89a41cbe8ac26fcWjeE
error.So I'd like to suggest adding the setting of
LD_LIBRARY_PATH
as an explicit step in the instructions, as I think it would help others like me.