[SERVER-1120] MongoDB doesn't work on OpenBSD Created: 14/May/10  Updated: 12/Jul/16  Resolved: 18/Apr/14

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 1.5.1
Fix Version/s: 2.7.0

Type: Task Priority: Major - P3
Reporter: Frank DENIS Assignee: Mark Benvenuto
Resolution: Done Votes: 6
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OpenBSD 4.7


Issue Links:
Related
related to SERVER-19647 Generate SpiderMonkey config for OpenBSD Closed
Backwards Compatibility: Major Change
Participants:

 Description   

MongoDB still doesn't compile on OpenBSD.

OpenBSD does come with gcc4, in ports (and probably in base in OpenBSD 4.8). But it still doesn't compile with gcc4.



 Comments   
Comment by Githook User [ 15/Jan/15 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-1120: OpenBSD/FreeBSD fixes
Branch: master
https://github.com/mongodb/mongo/commit/5ccc23d04e2662616c993d607a80666d021e1e5d

Comment by Mark Benvenuto [ 18/Apr/14 ]

Fixed with 978567c61a4b3bd84729a7e2379694fb4fc0c483

Comment by Githook User [ 18/Apr/14 ]

Author:

{u'username': u'ccstolley', u'name': u'Colin Stolley', u'email': u'cstolley@hushmail.com'}

Message: SERVER-1120 OpenBSD Port

This patch should enable building on OpenBSD 5.4.

  • added a processinfo implementation based heavily off of the same
    code for freebsd.
  • fixed a few scons problems in mongo and v8
  • added _openbsd_ directives to s2 build
  • Don't disturb bswap() functions on freebsd.
  • Fixed indentation sloppiness. No code changes.

Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/978567c61a4b3bd84729a7e2379694fb4fc0c483

Comment by Wijnand Wiersma [ 05/Aug/10 ]

running latest 4.8 beta snapshot, amd64

Comment by Frank DENIS [ 05/Aug/10 ]

You running -current?

What platform is it on?

Works fine for me on -current/amd64.

Comment by Wijnand Wiersma [ 05/Aug/10 ]

I am wondering how you got it working on OpenBSD.
I just compiled 1.6.0 but got a bus error:

  1. ./mongod
    Bus error (core dumped)

Did you come across this problem too? If so, how did you fix it?

Comment by Eliot Horowitz (Inactive) [ 13/Jul/10 ]

We generally don't close tickets like this until we have a buildbot running on that platform.

We're planning on getting an openbsd box up, just gotta find the cycles.

Comment by Frank DENIS [ 13/Jul/10 ]

MongoDB does work on OpenBSD now. At least on gcc4 architectures, that include amd64 and i386.

I guess this ticket can be closed.

Comment by Justin Dearing [ 17/Jun/10 ]

Frank, What sort of error message do you get? Is boost insalled? Spidermonkey?

Generated at Thu Feb 08 02:56:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.