How to compile the reth in WSL windows? #14233
-
I am trying to compile the project but getting the following error: 1b686" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
Compiling example-custom-dev-node v0.0.0 (/home/aamirusmani1552/reth/examples/custom-dev-node)
error: could not compile `reth-node-ethereum` (test "it") due to 1 previous error
warning: build failed, waiting for other jobs to finish... After searching on the internet found that it is due to memory issue. So they said to increase the swap space. did that but still getting this issue. could someone help to solve this please |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Pass If you want to contribute and want to test locally I would recommend installing a better linker like mold which will use less memory |
Beta Was this translation helpful? Give feedback.
-
Thanks @DaniPopes Sorry if this is not suitable to ask here. I will delete if it's not. But do you know from where should I start reading the code. I am not trying to contribute but currently learning about the core. There are a lot components and I am not able to find a good place to start. Also code is using some complex terminology that i am not able to understand. There is no docs either. Could you please share any good resource where I can read about all of these. Would really appreciate the help. Thanks |
Beta Was this translation helpful? Give feedback.
Pass
--bin reth
or usemake build
if you only want to compile the reth binary.If you want to contribute and want to test locally I would recommend installing a better linker like mold which will use less memory