Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

v8: fix "pure virtual method called" runtime error

Fixes #2912.
  • Loading branch information
bnoordhuis committed Apr 19, 2012
1 parent e67a0f8 commit c21c51a6fce878a4625c30032e669660ce6cbcaf
Showing with 8 additions and 0 deletions.
  1. +8 −0 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
}],

0 comments on commit c21c51a

Please sign in to comment.
You can’t perform that action at this time.