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

The slowdebug version cannot be compiled. #297

Closed
yirenchuanmu opened this issue Jan 14, 2025 · 9 comments
Closed

The slowdebug version cannot be compiled. #297

yirenchuanmu opened this issue Jan 14, 2025 · 9 comments

Comments

@yirenchuanmu
Copy link

yirenchuanmu commented Jan 14, 2025

I compiled the release version correctly.

errors:
Uploading 9bd321273a4dd6e0704870b934aadef.png…

@yirenchuanmu
Copy link
Author

Error: dl failure on line 606
Error: failed /root/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/lib/server/libjvm.so, because /root/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/lib/server/libmmtk_openjdk.so: undefined symbol: gettid

@yirenchuanmu
Copy link
Author

  • jdk-11.0.19+1-mmtk

@k-sareen
Copy link
Collaborator

What system (OS, libc version) are you building it on? It seems to be complaining about not being able to find gettid. Sounds like the libc version you're using may be old

@yirenchuanmu
Copy link
Author

What system (OS, libc version) are you building it on? It seems to be complaining about not being able to find gettid. Sounds like the libc version you're using may be old

I use docker from https://github.com/mmtk/mmtk-dev-env/Dockerfile.

@yirenchuanmu
Copy link
Author

What system (OS, libc version) are you building it on? It seems to be complaining about not being able to find gettid. Sounds like the libc version you're using may be old

I change the OS version to Ubuntu 20.04.6 LTS,everything is ok!

@k-sareen
Copy link
Collaborator

k-sareen commented Jan 15, 2025

Oh sorry. We've stopped using that Dockerfile and it's clearly gone stale. Thank you for reporting that.

We use Ubuntu 22.04 for our CI. So you should be able to use that and it would work.

@qinsoon
Copy link
Member

qinsoon commented Jan 15, 2025

The Dockerfile is still in use, and we regularly check in the CI to make sure that it is working. However, we do not build OpenJDK within the docker (we just build mmtk-core). I add a CI job to build OpenJDK in the docker in mmtk/mmtk-dev-env#6. Thanks for reporting the issue.

@qinsoon
Copy link
Member

qinsoon commented Jan 15, 2025

We use Ubuntu 22.04 for our CI. So you should be able to use that and it would work.

I will update the base image for the docker file as well.

@yirenchuanmu
Copy link
Author

Thank you for your reply.
Best wishes!

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

3 participants