0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

1017 Commits

Author SHA1 Message Date
Andrew Morrow
2670656283 SERVER-12255 Use tcmalloc on 32-bit linux and darwin as well 2014-04-07 19:09:32 -04:00
Andrew Morrow
025a54c830 SERVER-12255 Be explicit about target micro-architecture for 32-bit x86 builds 2014-04-07 19:09:31 -04:00
Andy Schwerin
881b2ee9ff SERVER-5553 Eliminate malloc from printStacktrace(std::ostream&).
This also opens the exciting possibility of displaying the base address
of the file containing the address, which would let us dump stacks when
ASLR is in use.  However, this implementation preserves the format used
in the Linux backtrace_symbols() implementation.
2014-04-03 13:16:44 -04:00
Andrew Morrow
9a45a1f363 SERVER-12572 Informatively fail attempts to build C++ client driver targets
The MongoDB C++ client driver now resides in a separate repo and is maintained
independently of the server. The targets in this repo that used to build or test
the driver will now print an error message explaining the change and referring
users to the relevant documentation.
2014-03-04 10:57:42 -05:00
Kaloian Manassiev
78b54a037a Do not include cpppath/extrapath/libpath when generating output location
Otherwise, if libraries are used which have deeper paths, the ouput path
becomes really long and builds fail due to excessively long command line.
2014-02-25 13:49:42 -05:00
Nikolaus Demmel
efc9a4a324 SERVER-12682 Add warning on OS X if libc++ is selected and osx-version-min is < 10.7.
Signed-off-by: Andrew Morrow <acm@10gen.com>
2014-02-18 18:44:14 -05:00
Mark Benvenuto
40b314894c SERVER-12304 Query concurrency -- 2.6 regression 2014-02-18 17:19:39 -05:00
Ernie Hershey
ea4ba610f0 SERVER-11106 Detect non-enterprise MSI configurations 2014-02-12 18:25:33 -05:00
Ernie Hershey
95fd79cb23 SERVER-10324 Allow modules to add files to different archive subdirectories
This CR is 1 of 2 covering the open source server repo component
of https://jira.mongodb.org/browse/SERVER-10324. It supplants
http://codereview.10gen.com/4892644241047552/
2014-01-28 22:38:50 -05:00
Andrew Morrow
fc0280414c SERVER-12456 Also pass stack protector option to the link step 2014-01-25 11:43:49 -05:00
Eric Milkie
a6c4e86b0a SERVER-12403 permit use-system-boost on Windows to work with autolib linking 2014-01-23 08:47:52 -05:00
Eric Milkie
eff37e9c0e SERVER-12421 - detect sasl library properly for C++ driver on Windows 2014-01-23 08:47:50 -05:00
Mark Benvenuto
7964cab85a SERVER-12166: Promote struct/class mismatch warning to error with GCC/Clang 2013-12-31 15:16:54 -05:00
Mark Benvenuto
5d54ce99eb SERVER-10142: Eliminate Compiler Warnings on Windows Builders
BF-60:compile broken on windows
2013-12-18 12:57:34 -05:00
Andrew Morrow
c9808ef308 SERVER-11689 Always link libgcc statically if linking libstdc++ statically 2013-11-27 13:17:08 -05:00
Shaun Verch
c9168762e4 SERVER-11575 Added support for YAML Config File 2013-11-13 16:46:49 -05:00
Mathias Stearn
e4a1f917ad SERVER-6950 Add a TCMalloc ServerStatusSection 2013-11-12 19:08:06 -05:00
Andrew Morrow
f7443bad6c SERVER-9855 Add support for specifying Mavericks as the OS X minimum version 2013-11-05 14:02:46 -05:00
Andrew Morrow
6fc17c30a8 SERVER-9855 Remove obsolete darwin configuration options
- We want to use whatever compiler SCons tooling picks now that we support clang.
- /usr/64 isn't a thing on modern Darwin (at least since 10.6, which is our minimum)
- It probably never made sense to look in /usr/64/include for anything
- If you want to use MacPorts, use --extrapath=/opt/local, similar for Fink
2013-11-05 14:02:46 -05:00
Andrew Morrow
dd6d28a356 SERVER-11333 Add build flag to suppress use of __declspec(thread) 2013-10-24 12:55:22 -04:00
Andrew Morrow
5682288d90 SERVER-11333 Use configure time checks and posix feature tests to select TSP implementation 2013-10-24 12:55:22 -04:00
Andrew Morrow
978af98546 SERVER-11264 Include OS X minimum version flag on link lines 2013-10-18 14:46:47 -04:00
Eric Milkie
7ada7a8e11 SERVER-10830 msi builder as an scons target 2013-10-09 13:59:08 -04:00
Mathias Stearn
62d754f991 SERVER-11084 Error when mixing --gcov and --cache 2013-10-08 17:35:05 -04:00
Andrew Morrow
ac2bd10833 SERVER-11053 Support use of CacheDir rather than Brobdingnagian variant directory names 2013-10-07 08:47:51 -04:00
Mike Grundy
d1a4564bba SERVER-10808 add __gcov_flush() call on exit
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
2013-10-03 18:51:18 -04:00
matt dannenberg
97c82b16b2 SERVER-10816 enable StackChecker when not optimized and in debug mode rather than when simply in debug mode 2013-09-25 10:40:14 -04:00
Andrew Morrow
681bc4c9be SERVER-10401 Disable new clang-3.4 warning 2013-09-18 17:39:40 -04:00
Andrew Morrow
8ba48088a3 SERVER-10726 Orthogonalize debugging and optimization options
Introduce new flags --dbg and --opt which permit independent control over optimization and
debugging. The old --d, --dd, and --release flags were not independent, and had surprising
interactions, particularly on Windows.

The old flags are still supported in a legacy mode for --d and --dd builds, cannot be mixed
with the new.

For builds specifying none of --dbg, --opt, --d, or --dd, there should be no behavior change,
except on Windows. On that platform, a no-flags-specified build will now default to
optimization enabled, whereas before it did not.
2013-09-16 17:36:35 -04:00
matt dannenberg
3145d2440b SERVER-8684 added a CCPDEFINE to cause newer system versions of boost to use the thread version we do 2013-09-16 11:17:44 -04:00
Andrew Morrow
73ce2fd28b SERVER-9766 Don't fail the build on missing system libraries unless they are in demand 2013-09-11 16:46:52 -04:00
Andrew Morrow
f0deda49e3 SERVER-9766 Remove support for separate client driver package 2013-09-11 16:46:52 -04:00
Eric Milkie
b91195fe8f SERVER-9770 introduce new scons flag to optionally build with /MD 2013-09-06 15:22:24 -04:00
Andrew Morrow
23b676781c Retain frame pointers when building with clang sanitizers 2013-08-15 10:13:09 -04:00
Andrew Morrow
3ffea6597a SERVER-10401 Suppress tautology warning in v8 triggered when using clang-3.4 2013-08-01 16:24:59 -04:00
Andy Schwerin
1158aa623d SERVER-9670 Eliminate MONGO_LIBDEPS_* global environment variables from SCons. 2013-07-09 17:49:14 -04:00
Andrew Morrow
2eceeb6202 SERVER-9881 Use presence of a certain type_trait to detect libstdc++ 4.6.0 or better 2013-07-02 13:35:15 -04:00
Tad Marshall
1c53e2b9e9 SERVER-9775 Remove use-system-sm option 2013-06-24 19:54:43 -04:00
Tad Marshall
eb7ba8adc1 SERVER-9775 Remove SpiderMonkey 2013-06-24 17:26:06 -04:00
Andrew Morrow
57a4875807 SERVER-9761 Enforce immediate binding of all symbols at process startup 2013-06-24 17:10:21 -04:00
Tad Marshall
54f25e6292 SERVER-7080 Link to backtrace, backtrace_symbols and backtrace_symbols_fd at runtime
Do not make direct calls to backtrace, backtrace_symbols or backtrace_symbols_fd,
which are present in Solaris 11 but not in Solaris 10.  Instead, see if they are
available in a loaded library (which will be libc.so.1) at runtime and either
call them or call an emulation.
2013-06-20 11:53:23 -04:00
Andrew Morrow
58f82cf66d SERVER-9890 Force the use of gnulink on solaris, since we always link through the compiler 2013-06-13 17:02:51 -04:00
Andrew Morrow
713734e413 SERVER-9881 Reject attempts to build in C++11 mode with ancient libstdc++ 2013-06-10 12:14:06 -04:00
Andrew Morrow
eb5b8b0226 SERVER-8467 Don't pass -rdynamic on OS X
On OS X, clang ignores -rdynamic, but issues a warning, which can
be a problem if -Werror is in effect. Remove the flag because
-rdynamic is not needed on OS X.
2013-06-08 12:35:23 -04:00
Andrew Morrow
ce97dc76c6 SERVER-6514 Only apply -zdefs and --as-needed to shared client library 2013-06-06 13:39:50 -04:00
Andrew Morrow
75095e78e0 SERVER-9410 Permit use of Interlocked operations on Windows Server 2003 2013-06-04 16:59:34 -04:00
Andrew Morrow
2e7d108efe SERVER-6951 SERVER-9656 SERVER-9849 Handle third_party libraries consistently 2013-06-03 20:57:46 -04:00
Rogério Brito
ec4e8f3ea7 SERVER-9656 Use libstemmer when using system libraries.
Signed-off-by: Andrew Morrow <acm@10gen.com>
2013-06-03 20:57:46 -04:00
Andrew Morrow
da8c0fa929 SERVER-6514 Re-add support for building the C++ driver shared library 2013-06-03 20:21:13 -04:00
agralius
f2bf885d38 SERVER-7902 added support for global /etc/mongorc.js
The corresponding Windows path is
%SYSTEMROOT%\system32\drivers\etc\mongorc.js
2013-05-06 16:40:04 -04:00