1. Jul 20, 2012
  2. Jul 19, 2012
    • Ben Noordhuis's avatar
      build: link with -rdynamic, not -Wl,--export-dynamic · 5a5e1281
      Ben Noordhuis authored
      The system linker on SunOS doesn't understand --export-dynamic.
      5a5e1281
    • Ben Noordhuis's avatar
      build: fix mksnapshot crash on sunos · 98b1ce91
      Ben Noordhuis 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.
      98b1ce91
  3. Jul 18, 2012
  4. Jul 17, 2012
  5. Jul 16, 2012
  6. Jul 14, 2012
  7. Jul 13, 2012
  8. Jul 12, 2012
    • Ben Noordhuis's avatar
      net: fix bogus errno reporting · 5d97d727
      Ben Noordhuis authored
      _listen2() emits the error on the next tick. The errno value may have changed
      by then.
      5d97d727
    • Ben Noordhuis's avatar
      build: partially fix configure on ARM · c6bb361b
      Ben Noordhuis 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.
      c6bb361b
    • Ben Noordhuis's avatar
      build: disable unsafe optimizations · 202df30a
      Ben Noordhuis authored
      Compile at -O2 and disable optimizations that trigger gcc bugs.
      
      Some people still reported mksnapshot crashes after commit b40f813b ("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.
      202df30a
    • Bert Belder's avatar
      Merge branch 'v0.6' into v0.8 · d2e40f66
      Bert Belder authored
      d2e40f66
    • isaacs's avatar
      Now working on 0.6.21 · b6e916db
      isaacs authored
      b6e916db
  9. Jul 11, 2012
    • Philipp Hagemeister's avatar
      1d99441d
    • Ben Noordhuis's avatar
      build: fix spurious mksnapshot crashes for good · b40f813b
      Ben Noordhuis 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.
      b40f813b
    • isaacs's avatar
      Blog post for v0.6.20 · bf561c52
      isaacs authored
      bf561c52
    • isaacs's avatar
      2012.07.10 Version 0.6.20 (maintenance) · 952e5133
      isaacs authored
      * npm: Upgrade to 1.1.37 (isaacs)
      
      * benchmark: Backport improvements made in master (isaacs)
      
      * build: always link with -lz (Trent Mick)
      
      * core: use proper #include directives (Ben Noordhuis)
      
      * cluster: don't silently drop messages when the write queue gets big (Bert Belder)
      
      * windows: don't print error when GetConsoleTitleW returns an empty string (Bert Belder)
      952e5133