Navigation Menu

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

Openbsd support #3369

Merged
merged 5 commits into from Oct 6, 2016
Merged

Openbsd support #3369

merged 5 commits into from Oct 6, 2016

Conversation

ysbaddaden
Copy link
Contributor

Rebased #3326 with a few corrections (Thread.current, disabled TCP keepalive).

wmoxam and others added 5 commits October 1, 2016 14:19
There is enough here to cross-compile an object file which can be used to complile a working compiler
The ported compiler can then fully compile itself.
OpenBSD doesn't support Thread Local Storage (TLS).
Keepalive configuration can't be determined on a per-socket basis on
OpenBSD. It may only be configured globally using `sysctl`.
@ysbaddaden
Copy link
Contributor Author

ysbaddaden commented Oct 2, 2016

@wmoxam I rebased #3326 with a few spec fixes. Travis is happy, I can compile Crystal in OpenBSD, and std specs are green on OpenBSD.

Yet, I can't build the compiler specs, build in release mode, nor cross compile in my OpenBSD VM because it always crashes. Can you verify? If everything works for you, we can merge :-) EDIT I built an image with libvirt kvm/qemu and I run into the same issue than VirtualBox 😭

@wmoxam
Copy link
Contributor

wmoxam commented Oct 3, 2016

@ysbaddaden Great, thanks. I'll verify that compiler specs + build in release mode works this evening

@wmoxam
Copy link
Contributor

wmoxam commented Oct 6, 2016

@ysbaddaden ysbaddaden merged commit b86bb3a into crystal-lang:master Oct 6, 2016
@ysbaddaden ysbaddaden deleted the openbsd-support branch October 6, 2016 07:40
@wmoxam wmoxam mentioned this pull request Oct 6, 2016
@asterite asterite added this to the 0.19.4 milestone Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants