Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
amirhoseinsh opened this issue Oct 23, 2024 · 1 comment

Comments

@amirhoseinsh
Copy link

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

  • OS: [Your Operating System, e.g., Windows 10]
  • Go Version: [Your Go version, e.g., go version go1.19.3 windows/amd64]
  • Optimism Version: [The version of the Optimism project you are using, if applicable]

Additional Information

I have tried the following troubleshooting steps:

  • Verified that I am using a compatible version of Go.
  • Updated all dependencies with go get -u ./....
  • Cleaned the Go module cache using go clean -modcache.
  • Consulted existing issues but found no relevant solutions.

Suggested Resolution

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

@amirhoseinsh
Copy link
Author

check this out: ethereum/go-ethereum#30100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant