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 speculative usage of <sys/shm.h> in AFL runtime #1278

Merged
merged 2 commits into from
Aug 9, 2017

Conversation

hannesm
Copy link
Member

@hannesm hannesm commented Aug 9, 2017

Instead of relying on a blacklist (_WIN32 || __ANDROID__) of systems not
providing <sys/shm.h>, figure out its presence in ./configure. This fixes
the build with a minimal libc, such as ocaml-freestanding.

Further discussion in mirage/ocaml-solo5#23 (comment)

I don't think a Changes entry is necessary for this, please let me know if you disagree and I'll add one. @stedolan I hope this change is fine with you.

//cc @mato @avsm

Instead of relying on a blacklist (_WIN32 || __ANDROID__) of systems not
providing <sys/shm.h>, figure out its presence in ./configure.  This fixes
the build with a minimal libc, such as ocaml-freestanding.
@mshinwell
Copy link
Contributor

I think this should probably have a Changes entry in the "compiler build" section or whatever it's called.

@hannesm
Copy link
Member Author

hannesm commented Aug 9, 2017

@mshinwell done -- it is reassuring that appveyor reports success :)

@mshinwell mshinwell merged commit 27a7226 into ocaml:trunk Aug 9, 2017
@stedolan
Copy link
Contributor

stedolan commented Aug 9, 2017

looks good to me!

@hannesm hannesm deleted the fix-afl branch August 9, 2017 14:09
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.

3 participants