mirror of https://github.com/nodejs/node.git
Revert "v8: fix "pure virtual method called" runtime error"
It makes mksnapshot die with a segmentation fault on sunos with gcc 4.5.2.
This reverts commit c21c51a6fc
.
pull/24503/head
parent
880219645e
commit
6b426a2edd
|
@ -271,14 +271,6 @@
|
|||
}],
|
||||
[ '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
|
||||
}],
|
||||
|
|
Loading…
Reference in New Issue