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

Rustbuild: No rule to make "rust/src/liballoc_jemalloc/../jemalloc/include/jemalloc/internal/ph.h" #42652

Closed
est31 opened this issue Jun 14, 2017 · 5 comments

Comments

@est31
Copy link
Member

est31 commented Jun 14, 2017

I've recently done a source update of rustc, and have been greeted by an error like "No rule to make target src/liballoc_jemalloc/../jemalloc/include/jemalloc/internal/ph.h, needed by src/jemalloc.o".

I could work around the issue by removing the build/x86_64-unknown-linux-gnu/native/jemalloc/ directory and rebuilding, but its a build system issue if that is not done for me, or if the makefile is not regenerated.

@est31
Copy link
Member Author

est31 commented Jun 14, 2017

Hmm seems this was caused by #42566 ...

@tirr-c
Copy link
Contributor

tirr-c commented Jun 14, 2017

I encountered the same issue, and rebuilding after ./x.py clean solved it.

@petrochenkov
Copy link
Contributor

I encountered this as well, It's some jemalloc build system issue - it can't reconfigure correctly in a dirty build directory if some huge changes like #41861 or #42566 happen.
The minimal fix is to delete the jemalloc build directory build\<target>\native\jemalloc and build again.

@est31
Copy link
Member Author

est31 commented Jun 14, 2017

@petrochenkov can this be kept open for a while to prevent dupes from being filed? most people only search for open bugs.

@petrochenkov petrochenkov reopened this Jun 14, 2017
@est31
Copy link
Member Author

est31 commented Jun 21, 2017

Okay, it has been open long enough.

@est31 est31 closed this as completed Jun 21, 2017
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