Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 19, 2012
  1. @bnoordhuis

    configure: turn on VFPv3 on ARMv7

    bnoordhuis authored
    Fixes a V8 build error caused by missing arm_fpu and arm_neon settings.
Commits on Sep 17, 2012
  1. @Hello71 @bnoordhuis

    configure: always use shlex instead of split

    Hello71 authored bnoordhuis committed
    Use shlex module instead of builtin string split to parse CC.
Commits on Sep 12, 2012
  1. @isaacs

    Merge remote-tracking branch 'ry/v0.8' into master

    isaacs authored
    Conflicts:
    	ChangeLog
    	src/node_version.h
    	test/simple/test-util-inspect.js
Commits on Sep 9, 2012
  1. @TooTallNate

    configure: add a "--dest-os" option to force a gyp "flavor"

    TooTallNate authored
    This makes cross-compiling easier. i.e. from my mac:
    
        ./configure --dest-cpu=arm --dest-os=linux
Commits on Sep 4, 2012
  1. @bnoordhuis
  2. @tjfontaine @bnoordhuis

    build: add configure option to build with ninja

    tjfontaine authored bnoordhuis committed
Commits on Aug 17, 2012
  1. @bnoordhuis

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

    bnoordhuis authored
    Conflicts:
    	ChangeLog
    	src/node_version.h
    	test/message/stdin_messages.out
    	tools/install.py
Commits on Aug 15, 2012
  1. @isaacs
Commits on Aug 14, 2012
  1. @bnoordhuis
Commits on Aug 13, 2012
  1. @bnoordhuis
Commits on Jul 26, 2012
  1. @adammw @bnoordhuis

    build: improve armv7 / hard-float detection

    adammw authored bnoordhuis committed
Commits on Jul 18, 2012
  1. @bnoordhuis

    build: fix mksnapshot crash on sunos

    bnoordhuis authored
    Unconditionally compile V8 with -fno-strict-aliasing on all platforms.
    
    gcc 4.5.2 on sunos generates bad code when -fstrict-aliasing is enabled, which
    undoubtedly means that there are more buggy versions of gcc out there.
    
    -fstrict-aliasing does not give a significant performance boost so let's just
    disable it.
    
    Fixes #3736.
Commits on Jul 12, 2012
  1. @bnoordhuis

    build: partially fix configure on ARM

    bnoordhuis authored
    V8 on ARM requires that armv7 is set. We don't have a good way to detect the
    CPU model right now so we pick a default and hope that it works okay for the
    majority of people.
    
    Non-scientific sampling - the ARM hardware I have lying around the house -
    suggests that ARMv5 and ARMv6 are still most common so armv7=0 it is.
    
    This obviously needs to be revisited sometime in the future.
  2. @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 7, 2012
  1. @piscisaureus

    Fix the Windows build

    piscisaureus authored
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.
  2. @bnoordhuis

    build: disable -fstrict-aliasing for any gcc < 4.6.0

    bnoordhuis authored
    It has been conclusively demonstrated that the -fstrict-aliasing bugs in gcc's
    optimizer are not limited to the 4.5.x releases only.
    
    Fixes #3601 among others.
  3. @bnoordhuis

    build: detect cc version with -dumpversion

    bnoordhuis authored
    The heuristic introduced in f78ce08 ("build: handle output of localized gcc or
    clang") does not handle "branded" versions of gcc, i.e. a gcc whose output has
    been customized by the distro vendor.
    
    Fixes #3601.
Commits on Jun 30, 2012
  1. @bnoordhuis

    build: handle output of localized gcc or clang

    bnoordhuis authored
    Before this commit, we used to scan the output of `$CC -v` for strings like
    "gcc version x.y.z".
    
    It was pointed out that this approach fails with localized versions of gcc
    because those print (for example) "gcc versión x.y.z".
    
    Use the output of `$CC --version` instead and only look at the first line.
  2. @bnoordhuis

    build: rename openssl configure switches

    bnoordhuis authored
    For consistency's sake, rename:
    
      --openssl-use-sys
      --openssl-includes
      --openssl-libpath
    
    To:
    
      --shared-openssl
      --shared-openssl-includes
      --shared-openssl-libpath
    
    And add --shared-openssl-libname while we're at it.
    
    The old switches still work but `./configure --help` won't print them.
    
    Fixes #3591.
Commits on Jun 27, 2012
  1. @bnoordhuis

    build: use proper python interpreter

    bnoordhuis authored
    Make configure start gyp with the same python interpreter that is used to
    run configure itself.
    
    Fixes an issue where configure fails with a SyntaxError because the user
    has multiple python binaries on his $PATH and the default one is too old.
  2. @g2p @bnoordhuis

    build: handle CC env var with spaces

    g2p authored bnoordhuis committed
    For example:
    
        CC='ccache gcc' ./configure
Commits on Jun 26, 2012
  1. @bnoordhuis
  2. @piscisaureus

    configure: don't fail if compiler_version() doesn't work

    piscisaureus authored
    This fixes the Windows build.
  3. @bnoordhuis
  4. @bnoordhuis

    build: disable strict aliasing in v8 with gcc 4.5.x

    bnoordhuis authored
    The gcc 4.5.x have various bugs that make V8 crash in various and interesting
    ways when -fstrict-aliasing is in effect.
Commits on Jun 20, 2012
  1. @ry @piscisaureus
Commits on Jun 18, 2012
  1. @isaacs

    Fix #3465 Add ./configure --no-ifaddrs flag

    isaacs authored
    For Old Solaris.
Commits on Jun 13, 2012
  1. Windows: Enable ETW events.

    Igor Zinkovsky authored
    This commit enables ETW events to be fired on Windows for existing
    DTrace probes.  ETW instrumentation is enabled by default.  It
    is possible to build node.exe without ETW instrumentation by
    using --without-etw option with configure script.
Commits on May 16, 2012
  1. @isaacs

    build: Set strict_aliasing on SunOS always

    isaacs authored
    A build failure was introduced on c9676c9
    in SmartOS systems.  This makes it build properly.
Commits on May 15, 2012
  1. @sdqali @bnoordhuis

    build: improve c compiler detection

    sdqali authored bnoordhuis committed
Commits on May 5, 2012
  1. @javihernandez @bnoordhuis

    build: print error message if no compiler found

    javihernandez authored bnoordhuis committed
    Make the configure script warn the user about the lack of an acceptable
    C compiler on the system.
Commits on Apr 11, 2012
  1. @TooTallNate
  2. @TooTallNate
Something went wrong with that request. Please try again.