[SERVER-30914] Build is currently broken on OpenBSD Created: 31/Aug/17  Updated: 30/Oct/23  Resolved: 20/Sep/17

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Bug Priority: Major - P3
Reporter: Andrew Aldridge Assignee: Andrew Aldridge
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

OpenBSD support in the tree has bitrotted since 3.2. This boils down to the following problems:

  • OpenBSD ar lacks support for thin archives.
  • LibreSSL is not caught by #if OPENSSL_VERSION_NUMBER ... preprocessor conditions.
  • Missing header in stack_locator_openbsd.cpp.
  • Missing ProcessInfo::getNumAvailableCores implementation.
  • The Intel RDFPMathLib20U1 library defines fexcept_t in a way that conflicts with the OpenBSD libc.

Once these problems are fixed, and pending an open OpenBSD patch being merged to implement __cxa_thread_atexit, the following build command finishes successfully:

scons -j4 --ssl=SSL --use-system-pcre --use-system-yaml --use-system-zlib --use-system-icu --use-system-snappy CPPPATH=/usr/local/include LIBPATH=/usr/local/lib core tools



 Comments   
Comment by Githook User [ 20/Sep/17 ]

Author:

{'email': 'i80and@foxquill.com', 'name': 'Andrew Aldridge', 'username': 'i80and'}

Message: SERVER-30914: Repair basic builds on OpenBSD

Closes #1172

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

Generated at Thu Feb 08 04:25:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.