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

Fix an insane rt build error running 'make check -j3' on Fedora #1065

Closed
wants to merge 1 commit into from
Closed

Fix an insane rt build error running 'make check -j3' on Fedora #1065

wants to merge 1 commit into from

Conversation

thoughtpolice
Copy link
Contributor

I have no idea how this worked before at all, or why this was occuring on my Fedora machine the way it was. Running make check did not turn up this error, only running make check -j3 did - which revealed context.h trying to include valgrind/memcheck.h, while the source has its own copy.

This was hidden behind a HAS_VALGRIND, which was definitely triggered somehow - because I had valgrind-devel installed on my machine, and GCC 4.6, context.h was pulling it in and the build was failing due to the old issue #350. If I removed valgrind-devel and ran the build with make check -j3, GCC would complain it couldn't find valgrind/memcheck.h. But make check always works?!?!?!

Either way, it's dead now.

@brson
Copy link
Contributor

brson commented Oct 24, 2011

Thanks!

@brson brson closed this Oct 24, 2011
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Oct 26, 2020
coastalwhite pushed a commit to coastalwhite/rust that referenced this pull request Aug 5, 2023
celinval added a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
We were restricting projections to only go through a max of one fat
pointer dereference. This is not always the case, however, each
projection should only care about the outer most fat pointer.

Added tests to ensure this works as expected.

It looks like size_of_val is returning the wrong values for the
projection of traits. I'm adding fixme test cases for those here and
I'll create a new issue for them.
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

Successfully merging this pull request may close these issues.

2 participants