ethereum-optimism / optimism

Optimism is Ethereum, scaled.
https://optimism.io
MIT License
5.65k stars 3.27k forks source link

Build Error: Invalid Reference to runtime.stopTheWorld in github.com/fjl/memsize #12593

Open amirhoseinsh opened 3 weeks ago

amirhoseinsh commented 3 weeks ago

Description

I'm encountering a build error while trying to compile the op-node component of the Optimism project. The following error message appears during the make process:

link: github.com/fjl/memsize: invalid reference to runtime.stopTheWorld
make[1]: *** [Makefile:12: op-node] Error 1

Steps to Reproduce

  1. Clone the Optimism repository:
    git clone https://github.com/ethereum-optimism/optimism.git
  2. Navigate to the project directory:
    cd optimism
  3. Run the build command:
    make op-node op-batcher op-proposer

Expected Behavior

The build should complete without errors, and the op-node binary should be created successfully.

Environment

Additional Information

I have tried the following troubleshooting steps:

Suggested Resolution

If anyone has encountered this issue before or can provide guidance on resolving it, your assistance would be greatly appreciated.

amirhoseinsh commented 3 weeks ago

check this out: https://github.com/ethereum/go-ethereum/issues/30100