Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 8, 2013
  1. @piscisaureus

    Revert "build, windows: disable SEH"

    piscisaureus authored
    This is no longer necessary - the underlying issue was fixed in 01fa5ee.
    This reverts commit d879042.
Commits on Feb 28, 2013
  1. @bnoordhuis

    build, windows: disable SEH

    bnoordhuis authored
    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]
      openssl.lib(x86.obj) : error LNK2026: module unsafe for SAFESEH
      image. [g:\jenkins\workspace\nodejs-oneoff\node.vcxproj]
      # etc. etc.
      g:\jenkins\workspace\nodejs-oneoff\Release\node.exe : fatal error
      LNK1281: Unable to generate SAFESEH image.
      [g:\jenkins\workspace\nodejs-oneoff\node.vcxproj]
    
    Fixes #4242.
Commits on Aug 27, 2012
  1. @bnoordhuis

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

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

    build: fix -fno-tree-vrp heuristic

    bnoordhuis authored
    -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.
Commits on Aug 20, 2012
  1. @TooTallNate

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

    TooTallNate authored
    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
    gcc 4.7.1.
    
    Closes #3887.
Commits on Aug 13, 2012
  1. @bnoordhuis
Commits on Jul 19, 2012
  1. @bnoordhuis

    build: unbreak ustack on smartos

    bnoordhuis authored
    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.
    
    This commit turns them on again on SunOS systems. Let's hope for the best.
Commits on Jul 18, 2012
  1. @bnoordhuis

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

    bnoordhuis authored
    The system linker on SunOS doesn't understand --export-dynamic.
Commits on Jul 12, 2012
  1. @bnoordhuis

    build: disable unsafe optimizations

    bnoordhuis authored
    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
    on the http_simple bytes/8 benchmark appears to be slightly greater but small
    enough that the possibly of it being noise cannot be excluded.
    
    The new binary very slightly but consistently outperforms the -O3 binary (by
    about 0.5%) on the mostly CPU-bound bytes/102400 benchmark. That could be an
    artifact of the system I benchmarked it on, a Core 2 Duo with a puny 32 kB of
    L1 instruction cache. The smaller binary seems to play nicer with the cache.
Commits on Jul 11, 2012
  1. @bnoordhuis

    build: fix spurious mksnapshot crashes for good

    bnoordhuis authored
    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:
    
      1. gcc 4.5.2 for i386-pc-solaris2.11 is used and -fstrict-aliasing is
         enabled, or
    
      2. gcc version 4.4.6 for x86_64-redhat-linux is used and
         -ffunction-sections -finline-functions at -O2 or higher is enabled
    
    Therefore, disable -ffunction-sections and -fdata-sections unconditionally
    and disable -fstrict-aliasing only on Solaris.
    
    The -ffunction-sections and -fdata-sections switches were nonsense anyway
    because we don't link with -Wl,--gc-sections.
Commits on Jul 3, 2012
  1. @bnoordhuis

    build: rename strict_aliasing to node_no_strict_aliasing

    bnoordhuis authored
    Make the variable naming consistent with the other strict aliasing var,
    v8_no_strict_aliasing.
Commits on Jun 8, 2012
  1. @rmustacc @isaacs

    x64 target should always pass -m64

    rmustacc authored isaacs committed
Commits on Apr 28, 2012
  1. @piscisaureus

    Merge branch 'v0.6'

    piscisaureus authored
    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
Commits on Apr 27, 2012
  1. @piscisaureus

    Windows: turn off /Gm

    piscisaureus authored
    Otherwise multicode compile doesn't work.
Commits on Apr 11, 2012
  1. @bnoordhuis

    build: configure openssl

    bnoordhuis authored
    * 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>
    * compile with -D__EXTENSIONS__ on solaris, makes siginfo_t available
    * compile without -ansi on linux, it hides a number of POSIX declarations
      (sigaction, NI_MAXHOST, etc.)
Commits on Apr 10, 2012
  1. @TooTallNate
  2. @TooTallNate

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

    TooTallNate authored
    This reverts commit 93eca95.
    
    Fixes #3072 (once again).
Commits on Apr 9, 2012
  1. @isaacs

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

    isaacs authored
    This reverts commit b6d6a54,
    which fixed #3072, so we'll have to figure out another way
    to make that work.
Commits on Apr 5, 2012
  1. @TooTallNate
Commits on Apr 3, 2012
  1. @piscisaureus

    Disable V8 postmortem debugging on Windows

    piscisaureus authored
    It is not supported by V8.
Commits on Apr 2, 2012
  1. @bnoordhuis

    build: define _DARWIN_USE_64_BIT_INODE=1 on OS X

    bnoordhuis authored
    Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
    mismatches.
    
    Fixes #2061.
Commits on Apr 1, 2012
  1. @davepacheco @bnoordhuis

    build: add support for DTrace and postmortem

    davepacheco authored bnoordhuis committed
    * 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
Commits on Mar 2, 2012
  1. @bnoordhuis @isaacs

    build: disable -fstrict-aliasing if gcc < 4.6.0

    bnoordhuis authored isaacs committed
    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
Commits on Feb 27, 2012
  1. @shigeki @isaacs

    Fix #2830 for the old gcc bug on SmartOS

    shigeki authored isaacs committed
  2. @TooTallNate @bnoordhuis

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

    TooTallNate authored bnoordhuis committed
Commits on Feb 23, 2012
  1. @shigeki @bnoordhuis

    build: change default BUILDTYPE of gyp to Release

    shigeki authored bnoordhuis committed
  2. @shigeki @bnoordhuis

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

    shigeki authored bnoordhuis committed
  3. @shigeki @bnoordhuis
Commits on Feb 20, 2012
  1. @TooTallNate @bnoordhuis

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

    TooTallNate authored bnoordhuis committed
Commits on Feb 17, 2012
  1. @davepacheco @bnoordhuis

    build: disable -fomit-frame-pointer on solaris

    davepacheco authored bnoordhuis committed
    This "optimization" cripples debuggability and has dubious performance value,
    so we want to disable it at least on SmartOS.
Commits on Feb 15, 2012
  1. @TooTallNate

    Default to static linking CRT on Windows.

    TooTallNate authored unknown committed
Commits on Feb 12, 2012
  1. @bnoordhuis

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

    bnoordhuis authored
    Conflicts:
    	common.gypi
Commits on Feb 7, 2012
  1. enable x64 windows build

    Igor Zinkovsky authored
    use "vcbuild x64" to do x64 build of node.exe
Commits on Feb 6, 2012
  1. @piscisaureus
Commits on Jan 31, 2012
  1. @bnoordhuis

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

    bnoordhuis authored
    It sets __MAC_OS_X_VERSION_MIN_REQUIRED__, which is what we use for feature
    detection.
Something went wrong with that request. Please try again.