Skip to content


Subversion checkout URL

You can clone with
Download ZIP
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,
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
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)
    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.
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
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
Commits on Jan 20, 2012
  1. @bnoordhuis

    build: disable NDEBUG in release builds for now

    bnoordhuis authored
    assert() sanity checks are a good thing.
Commits on Jan 5, 2012
  1. @shigeki @bnoordhuis

    build: compile without -fvisibility=hidden

    shigeki authored bnoordhuis committed
    Fixes symbol lookup errors when loading an addon module on Linux.
Commits on Dec 21, 2011
  1. @ry

    Remove visibility=hidden options from common.gypi

    ry authored
    Not necessary and preventing addon loading.
Commits on Dec 19, 2011
  1. @ry

    GYP: don't build V8 twice

    ry authored
Commits on Nov 30, 2011
  1. @bnoordhuis

    build: always compile with large file support

    bnoordhuis authored
    Fixes a nasty sizeof(struct stat) mismatch bug that caused random crashes and
    silent memory corruption.
Something went wrong with that request. Please try again.