diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-20 01:28:54 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-20 01:29:02 +0200 |
commit | c21c51a6fce878a4625c30032e669660ce6cbcaf (patch) | |
tree | 2d9b763892bc9bc61fdcac401e9119eef430ad4c /deps | |
parent | e67a0f80e0184e2884fdf5c1c44a9b4df601d325 (diff) | |
download | node-new-c21c51a6fce878a4625c30032e669660ce6cbcaf.tar.gz |
v8: fix "pure virtual method called" runtime error
Fixes #2912.
Diffstat (limited to 'deps')
-rw-r--r-- | deps/v8/build/common.gypi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/v8/build/common.gypi b/deps/v8/build/common.gypi index f2bb465c1e..4577b13d67 100644 --- a/deps/v8/build/common.gypi +++ b/deps/v8/build/common.gypi @@ -271,6 +271,14 @@ }], [ 'v8_no_strict_aliasing==1', { 'cflags': [ '-fno-strict-aliasing' ], + }, { + # gcc 4.4.6 has a regression in non-strict aliasing mode that + # makes a lookup in CodeStub::FindCodeInCache() abort with a + # "pure virtual method called" runtime error. + # + # This bites node.js because it sets -fno-strict-aliasing in its + # cflags, which then leak into our cflags. + 'cflags!': [ '-fno-strict-aliasing' ], }], ], # conditions }], |