...
download link used: https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-3.3.6.tgz OS X 10.8.5 $ ls -l mongodb33 lrwxr-xr-x 1 john staff 24 May 20 10:10 mongodb33 -> mongodb-osx-x86_64-3.3.6 $ /Users/john/opt/mongodb33/bin/mongod --fork --port 33300 --dbpath /Users/john/opt/mongodb33/data/standalone --logpath /Users/john/opt/mongodb33/logs/standalone/mongod.log --nohttpinterface --smallfiles --journal dyld: Symbol not found: ___sincos_stret Referenced from: /Users/john/opt/mongodb33/bin/mongod Expected in: /usr/lib/libSystem.B.dylib in /Users/john/opt/mongodb33/bin/mongod Trace/BPT trap: 5 $ /Users/john/opt/mongodb33/bin/mongo --version dyld: Symbol not found: ___sincos_stret Referenced from: /Users/john/opt/mongodb33/bin/mongo Expected in: /usr/lib/libSystem.B.dylib in /Users/john/opt/mongodb33/bin/mongo Trace/BPT trap: 5
xgen-internal-githook commented on Fri, 24 Jun 2016 22:50:53 +0000: Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'} Message: SERVER-24230 Update MozJS config per re-generation on OSX 10.8 Branch: master https://github.com/mongodb/mongo/commit/1f68696981c5cc549f3f05dba316093c1fa26471 acm commented on Fri, 24 Jun 2016 19:31:40 +0000: I re-ran the SpiderMonkey config generation on an OS X 10.8 machine. Here is the diff with the version of js-confdefs we have checked in: #define HAVE_NL_TYPES_H 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_SETLOCALE 1 -#define HAVE_SINCOS 1 #define HAVE_SSIZE_T 1 #define HAVE_STRNDUP 1 #define HAVE_SYS_CDEFS_H 1 @@ -60,11 +59,13 @@ #define JS_POSIX_NSPR 1 #define JS_PUNBOX64 1 #define JS_STANDALONE 1 +#define JS_STANDALONE 1 +#define JS_STANDALONE 1 #define MALLOC_H #define MALLOC_USABLE_SIZE_CONST_PTR const #define MOZILLA_UAVERSION "45.0" -#define MOZILLA_VERSION "45.0.1" -#define MOZILLA_VERSION_U 45.0.1 +#define MOZILLA_VERSION "45.0.2" +#define MOZILLA_VERSION_U 45.0.2 #define MOZJS_MAJOR_VERSION 45 #define MOZJS_MINOR_VERSION 0 #define MOZ_DEBUG_SYMBOLS 1 brian.samek commented on Fri, 24 Jun 2016 19:08:59 +0000: acm - We don't have 10.7, but the Vagrant boxes are 10.8. I've added your public key to one. You can access it with ssh -p 2202 mci@ny-osx-2.build.10gen.cc. acm commented on Fri, 24 Jun 2016 18:26:36 +0000: OK, I tested this. It actually looks like the MozJS configure check for sincos does not respect the system minima. john.morales do you actually have access to an OS X 10.8 (10.7 even better) machine that i might be able to do some testing with? I'm presuming so, since you filed the ticket. acm commented on Fri, 24 Jun 2016 18:00:19 +0000: My hypothesis here is that the configs for SpiderMonkey were generated without the -mmacosx-version-min=10.7 in CFLAGS and on a more modern OS X install, and we picked up a HAVE definition for sincos: $grep -r SINCOS src/third_party/mozjs-45/platform/x86_64/osx src/third_party/mozjs-45/platform/x86_64/osx/build/js-confdefs.h:#define HAVE_SINCOS 1 which perhaps does not exist on older OS X. We should regenerate the configs on OS X 10.7, and also try generating them on 10.11 but with -mmacosx-version-min=10.7 set in CFLAGS. Hopefully, both of those will result in a js-confdefs that does not have HAVE_SINCOS defined.