The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / common.gypi @ master

History | View | Annotate | Download (8.56 KB)

# Date Author Comment
4c48df5a 07/23/2014 08:25 AM Fedor Indutny

gyp: fix post-mortem in v0.11

Expose missing constants and keep symbols on OSX.

922afd91 06/25/2014 06:50 AM Fedor Indutny

deps: build v8 with disassembler support

Signed-off-by: Fedor Indutny <>

9920ae67 06/05/2014 10:28 AM Fedor Indutny

Merge branch 'v0.10'

Conflicts:
ChangeLog
lib/events.js
lib/tls.js
src/node_constants.cc
src/node_crypto.cc
src/node_crypto.h
src/node_version.h

48675784 05/22/2014 01:31 PM Ben Noordhuis

build: disable v8 handle zapping

See also commit e7bfbaf. Don't depend on deps/v8/build/features.gypi
to disable handle zapping, be explicit about it.

Signed-off-by: Timothy J Fontaine <>

1d90b5b7 05/16/2014 05:15 AM Andrei Sedoi

configure: allow V8 snapshot for cross-compilation

Signed-off-by: Fedor Indutny <>

a030c7b9 03/26/2014 03:42 AM Fedor Indutny

Merge remote-tracking branch 'origin/v0.10'

Conflicts:
src/node.cc
src/node_crypto.cc
src/node_crypto.h

7989f42f 03/23/2014 07:11 PM Ben Noordhuis

build: fix g++ 4.8 build, disable -Werror

Turn off -Werror when building V8, it hits -Werror=unused-local-typedefs
with g++ 4.8. The warning itself is harmless so don't abort the build.

This was originally implemented in commit d2ab314e back in 2011 but the...

e5eadcfa 02/17/2014 11:29 PM Timothy J Fontaine

build: don't enable gc-sections

In some scenarios this will strip the DOF sections for DTrace, and in a
future world where we re-export all static libraries it would defeat
that purpose.

c1b1f312 01/24/2014 10:13 PM Timothy J Fontaine

Merge remote-tracking branch 'upstream/v0.10'

Conflicts:
AUTHORS
ChangeLog
deps/uv/AUTHORS
deps/uv/ChangeLog
deps/uv/src/unix/process.c
deps/uv/src/version.c
lib/net.js
node.gyp
src/node_version.h

25f9e928 01/20/2014 09:39 AM Fedor Indutny

gyp: fix non-ninja build

61c0d571 01/16/2014 12:11 PM Fedor Indutny

gyp: fix `ninja` build on linux

fix #6679

f057c704 01/07/2014 02:35 PM Ben Noordhuis

build: unconditionally disable -Werror

Forcibly disable -Werror, the old { 'werror': '' } hack in node.gyp
no longer works with newer versions of V8.

We support a wide range of compilers, it's simply not feasible to
squelch all warnings, never mind that the libraries in deps/ are...

9e32a7da 12/05/2013 07:15 PM Ben Noordhuis

build: add libicu i18n support

Adds a --with-icu-path= switch to the configure script. Requires that
the user checks out the copy of libicu that's bundled with chromium to
a fixed directory. It's still a little rough around the edges but it
works.

Fixes #6371.

001f9b46 12/01/2013 10:43 PM Timothy J Fontaine

Merge remote-tracking branch 'upstream/v0.10'

Conflicts:
src/stream_wrap.cc

6877e64f 12/01/2013 09:57 PM Timothy J Fontaine

build: include postmortem symbols on linux

Previously we were building the symbols, but the linker was garbage
collecting the symbols because they weren't used. Inform the linker
that we want to keep all symbols from v8 around.

6430c3f5 08/01/2013 05:53 AM Bert Belder

build: disable some msvc compiler warnings

These are not real problems, and they are so plenty that actual problems
are hidden from view.

0181fee4 07/06/2013 12:49 PM Ben Noordhuis

build: don't enable --gc-sections on sunos

The SunOS linker doesn't support it. Fixes build breakage introduced
in commit 9b3de60.

9b3de60d 07/06/2013 10:53 AM Ben Noordhuis

build: remove --unsafe-optimizations flag

The previous commit removes our patch that builds V8 at -O2 rather
than -O3 so there is not much point in keeping the configure switch
around.

The reason it did so was to work around an assortment of compiler and...

5e4e8ec4 06/17/2013 11:21 AM Linus MÃ¥rtensson

build: add android support

Resolves minor discrepancies between android and standard POSIX systems.
In addition, some configure parameters were added, and a helper-script
for android configuration. Ideally, this script should be merged into
the standard configure script....

b9655fc7 04/03/2013 08:00 PM Ben Noordhuis

build: fix windows build, disable postmortem

Always define v8_postmortem_support, even if the platform does not
support it. Commit d8852aa adds a rule that references it in node.gyp.

Fixes the Windows build.

c0a5af8d 03/05/2013 01:40 PM Bert Belder

Revert "build, windows: disable SEH"

This is no longer necessary - the underlying issue was fixed in 01fa5ee.
This reverts commit d87904286024f5ceb6a2d0d5f17e919c775830a0.

cb87920b 02/28/2013 10:58 AM Ben Noordhuis

Merge remote-tracking branch 'origin/v0.8'

Conflicts:
AUTHORS
ChangeLog
deps/uv/src/unix/pipe.c
lib/http.js
src/node_version.h

d8790428 02/28/2013 10:40 AM Ben Noordhuis

build, windows: disable SEH

Turn off safe exception handlers, they're incompatible with how
openssl is compiled / linked under MSVS 2012.

Addresses the following build error:

openssl.lib(x86cpuid.obj) : error LNK2026: module unsafe for SAFESEH
image. [g:\jenkins\workspace\nodejs-oneoff\node.vcxproj]...
e2592cc6 01/21/2013 03:47 AM Fedor Indutny

gyp: fix build with dtrace support on FreeBSD

Fix undefined reference to `gelf_getsym`... and other undefined symbols
from libelf, by adding `-lelf` to linker options on FreeBSD.

11a5119e 11/21/2012 08:06 AM Shigeki Ohtsu

build: disable use of thin archive

Thin archive needs binutils >= 2.19, disable it for supporting old ar
even if static libraries are linked within a local build.

1e738c5e 11/20/2012 04:47 PM Ben Noordhuis

build: make python executable configurable

Upstreamed in https://codereview.chromium.org/11418101/

Fixes #4287.

0f3ddad0 11/05/2012 06:18 PM Timothy J Fontaine

build: let xcode pick proper compiler

83e5e20c 11/03/2012 08:26 PM Ben Noordhuis

build: remove _LARGEFILE_SOURCE, _FILE_OFFSET_BITS

Don't define the _LARGEFILE_SOURCE and _FILE_OFFSET_BITS flags, they're
inherited from libuv now.

a6fef475 11/02/2012 10:58 AM Ben Noordhuis

build: make debug build on os x compile at -O0

Set GCC_OPTIMIZATION_LEVEL explicitly, otherwise GYP defaults to -Os.

bf16d928 08/27/2012 08:54 PM Bert Belder

Merge branch 'v0.8'

Conflicts:
ChangeLog
deps/openssl/openssl.gyp
src/node_version.h

27867374 08/27/2012 04:09 PM Ben Noordhuis

build: compile with -fno-tree-sink if gcc <= 4.4

Fixes a 'pure virtual method called' run-time error with some versions of gcc
on some platforms, notably ARM.

84590f3f 08/27/2012 04:09 PM Ben Noordhuis

build: fix -fno-tree-vrp heuristic

-fno-tree-vrp is a gcc only switch. Don't enable it when compiling with clang,
it will only complain about -fno-tree-vrp being ignored.

18675114 08/22/2012 04:05 AM Ben Noordhuis

build: compile with -Wextra -Wno-unused-parameter

be3a77bd 08/20/2012 11:18 AM Nathan Rajlich

build: don't use "-Wnewline-eof" on OS X

This is the only thing preventing a manually compiled version of GCC
(rather than Apple's provided llvm-gcc or heavily modified gcc 4.2)
from working properly, so we might as well enable support for that.

With this patch I was able to compile node using a manually compiled...

100e163d 08/13/2012 09:33 AM Ben Noordhuis

build: compile with -fno-tree-vrp when gcc >= 4.0

b2648934 07/19/2012 12:20 PM Ben Noordhuis

build: unbreak ustack on smartos

I disabled the -ffunction-sections and -fdata-sections switches in 202df30
because they're horribly buggy with some gcc/binutils combos.

However, it turns out that the dtrace/ustack post-processing tool requires
that V8 is compiled with said switches and was broken because of it....

5a5e1281 07/18/2012 06:08 PM Ben Noordhuis

build: link with -rdynamic, not -Wl,--export-dynamic

The system linker on SunOS doesn't understand --export-dynamic.

202df30a 07/12/2012 10:17 AM Ben Noordhuis

build: disable unsafe optimizations

Compile at -O2 and disable optimizations that trigger gcc bugs.

Some people still reported mksnapshot crashes after commit b40f813 ("build: fix
spurious mksnapshot crashes for good" - so much for that).

Average performance of the -O2 binary is on par with the -O3 binary. Variance...

b40f813b 07/10/2012 09:52 PM Ben Noordhuis

build: fix spurious mksnapshot crashes for good

A variety of gcc bugs made mksnapshot crash with either a segmentation fault
or a 'pure virtual method callled' run-time error.

After much wailing and gnashing of teeth I managed to deduce that the bugs
show up when:...

b1cce046 07/03/2012 09:28 AM Ben Noordhuis

build: rename strict_aliasing to node_no_strict_aliasing

Make the variable naming consistent with the other strict aliasing var,
v8_no_strict_aliasing.

f6244136 06/07/2012 08:54 PM Robert Mustacchi

x64 target should always pass -m64

c8a10e97 04/28/2012 06:17 PM Bert Belder

Merge branch 'v0.6'

Conflicts:
deps/uv/include/uv-private/uv-unix.h
deps/uv/include/uv-private/uv-win.h
deps/uv/src/uv-common.c
deps/uv/src/win/fs.c
src/process_wrap.cc

51e66ec4 04/27/2012 04:06 PM Bert Belder

Windows: turn off /Gm

Otherwise multicode compile doesn't work.

2639566c 04/11/2012 07:34 PM Ben Noordhuis

build: configure openssl

  • compile with -DOPENSSL_NO_SOCK and -DOPENSSL_NO_DGRAM, we don't need it
  • compile with -DOPENSSL_NO_GOST and -DOPENSSL_NO_HW_PADLOCK, works around the
    brain dead linker on solaris and maybe others
  • compile with -DTERMIOS, OS X doesn't have <termio.h>...
7b71fd0c 04/10/2012 05:39 PM Nathan Rajlich

build: add comment explaining MACOSX_DEPLOYMENT_TARGET.

70a5b53e 04/10/2012 05:38 PM Nathan Rajlich

Re-apply "build: target OSX 10.5 when building on darwin"

This reverts commit 93eca95aece9804d22b012cc89487f4b0064a86d.

Fixes #3072 (once again).

93eca95a 04/09/2012 01:31 AM isaacs

Revert "build: target OSX 10.5 when building on darwin"

This reverts commit b6d6a54f8057d0adad13d4bcc11eb3f443079ddc,
which fixed #3072, so we'll have to figure out another way
to make that work.

b6d6a54f 04/05/2012 07:30 PM Nathan Rajlich

build: target OSX 10.5 when building on darwin

930fabe4 04/02/2012 09:07 PM Bert Belder

Disable V8 postmortem debugging on Windows

It is not supported by V8.

92c0c695 04/02/2012 05:53 PM Ben Noordhuis

build: define _DARWIN_USE_64_BIT_INODE=1 on OS X

Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
mismatches.

Fixes #2061.

cc15299c 03/31/2012 08:14 PM Dave Pacheco

build: add support for DTrace and postmortem

  • fixes #2110
  • includes V8 postmortem metadata in Solaris builds
  • adds GYP support for DTrace probes and ustack helper
  • ustack helper derives constants dynamically from libv8_base.a
  • build with DTrace support by default on SunOS
30b29d8f 03/02/2012 12:26 PM Ben Noordhuis

build: disable -fstrict-aliasing if gcc < 4.6.0

A compiler bug in older versions of gcc makes it do unsafe optimizations at -O1
and higher. This manifested itself with (at least) gcc 4.5.2 on SmartOS because
it made V8 hang in a busy loop.

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45883

82ad1f87 02/27/2012 03:02 PM Shigeki Ohtsu

Fix #2830 for the old gcc bug on SmartOS

3c68c85f 02/26/2012 08:28 PM Nathan Rajlich

build: use -pthreads (not -pthread) on Solaris

491ec171 02/23/2012 08:11 AM Shigeki Ohtsu

build: change default BUILDTYPE of gyp to Release

58e5d692 02/23/2012 08:11 AM Shigeki Ohtsu

build: fix the case where config.gypi doesn't exist

680d75af 02/23/2012 08:11 AM Shigeki Ohtsu

build: make default_configuration consistent with BUILDTYPE

546870ed 02/20/2012 05:49 AM Nathan Rajlich

build: use proper `-arch` for target_arch on OS X

7864bb9e 02/17/2012 06:30 PM Dave Pacheco

build: disable -fomit-frame-pointer on solaris

This "optimization" cripples debuggability and has dubious performance value,
so we want to disable it at least on SmartOS.

71e97566 02/15/2012 04:32 PM Nathan Rajlich

Default to static linking CRT on Windows.

8a6576f7 02/12/2012 10:12 AM Ben Noordhuis

Merge remote-tracking branch 'origin/v0.6'

Conflicts:
common.gypi

0a347559 02/07/2012 04:32 PM Igor Zinkovsky

enable x64 windows build
use "vcbuild x64" to do x64 build of node.exe

2e2df04b 02/06/2012 09:59 AM Bert Belder

Windows: disable RTTI and exceptions

03c4aa6a 01/31/2012 09:12 AM Ben Noordhuis

build: don't set -mmacosx-version-min

It sets MAC_OS_X_VERSION_MIN_REQUIRED, which is what we use for feature
detection.

6b585379 01/20/2012 10:00 AM Ben Noordhuis

build: disable NDEBUG in release builds for now

assert() sanity checks are a good thing.

55c21970 01/05/2012 10:50 AM Shigeki Ohtsu

build: compile without -fvisibility=hidden

Fixes symbol lookup errors when loading an addon module on Linux.

7edfb029 12/21/2011 01:02 AM Ryan Dahl

Remove visibility=hidden options from common.gypi

Not necessary and preventing addon loading.

c65a91c9 12/19/2011 04:41 PM Ryan Dahl

GYP: don't build V8 twice

bbd976b8 11/29/2011 08:28 PM Ben Noordhuis

build: always compile with large file support

Fixes a nasty sizeof(struct stat) mismatch bug that caused random crashes and
silent memory corruption.

1cf13bca 11/25/2011 10:53 AM Ben Noordhuis

build: compile with -D__DARWIN_64_BIT_INO_T on OS X

Fixes a struct stat size mismatch on 64 bits machines that made Node crash with
a EXC_BAD_ACCESS on startup.

Fixes #2061 for gyp builds. Solution proposed by Paddy Byers.

4a1efb2b 10/28/2011 07:06 PM Bert Belder

Support native extension loading on Windows

766430c7 09/04/2011 01:27 PM Peter Bright

Windows: set executables to be console programs

closes #1644

85f7b78e 08/23/2011 04:19 PM Ryan Dahl

gyp: Further fixes to target_defaults for mac

8a29e5ea 08/23/2011 04:19 PM Evan Martin

gyp: Don't pass C++ flags to C compiler, and don't pass -ansi in OpenSSL builds.

a916d888 08/23/2011 04:19 PM Evan Martin

common.gypi: don't nest "target_defaults" within "target_defaults"

The "conditions" block is already within a "target_defaults", so its
children amend target default settings already.

b433c42a 08/15/2011 09:17 PM Ryan Dahl

gyp: Support Linux

25a5e902 08/15/2011 04:41 PM Ryan Dahl

Fix GYP build on OSX

Broken due to DOS line endings.

./configure-gyp
make -f Makefile-gyp
16788f46 08/13/2011 10:57 PM Peter Bright

Rename gyp files to produce useful solution names.

Hoist common settings into common.gypi.

Restrict v8's common.gypi to v8 projects.

Ensure v8 doesn't use /MP in debug builds.

Add basic settings for other platforms.

Make uv import common.gypi properly....