Comment #2 on issue 989 by coolaj86: src/full-codegen.cc:687: error: NULL
used in arithmetic
http://code.google.com/p/v8/issues/detail?id=989
r...@overo:~/v8-read-only# gcc -v
Using built-in specs.
Target: arm-angstrom-linux-gnueabi
Configured with:
/home/steve/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.3.3-r16.1/gcc-4.3.3/configure
--build=x86_64-linux --host=arm-angstrom-linux-gnueabi
--target=arm-angstrom-linux-gnueabi --prefix=/usr --exec_prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec
--datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com
--localstatedir=/var --libdir=/usr/lib --includedir=/usr/include
--oldincludedir=/usr/include --infodir=/usr/share/info
--mandir=/usr/share/man --with-gnu-ld --enable-shared
--enable-languages=c,c++,objc,fortran --enable-threads=posix
--disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu
--enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-gnueabi-
--enable-target-optspace --enable-cheaders=c_std --enable-libssp
--disable-bootstrap --disable-libgomp --disable-libmudflap
--with-local-prefix=/usr/local
--with-gxx-include-dir=/usr/include/c++/4.3.3 --enable-__cxa_atexit
Thread model: posix
gcc version 4.3.3 (GCC)
r...@overo:~/v8-read-only# CCFLAGS="-march=armv7-a -mtune=cortex-a8
-mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb" scons
mode=debug snapshot=on library
=shared importenv=CCFLAGS
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o obj/debug/runtime.os -c -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp -mthumb-interwork -mno-thumb -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -g -O0 -ansi -fno-rtti
-fno-exceptions -fvisibility=hidden -march=armv7-a -mtune=cortex-a8
-mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -g -O0 -ansi -fPIC
-DV8_TARGET_ARCH_ARM -DENABLE_DISASSEMBLER -DDEBUG -DV8_SHARED
-DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -DV8_ENABLE_CHECKS
-DENABLE_DEBUGGER_SUPPORT -Isrc src/runtime.cc
/* SNIP SNIP */
g++ -o obj/debug/full-codegen.os -c -march=armv7-a -mtune=cortex-a8
-mfpu=vfp -mfloat-abi=softfp -mthumb-interwork -mno-thumb -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -g -O0 -ansi -fno-rtti
-fno-exceptions -fvisibility=hidden -march=armv7-a -mtune=cortex-a8
-mfpu=vfp -mfloat-abi=softfp -mthumb-interwork -mno-thumb -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -g -O0 -ansi -fPIC
-DV8_TARGET_ARCH_ARM -DENABLE_DISASSEMBLER -DDEBUG -DV8_SHARED
-DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -DV8_ENABLE_CHECKS
-DENABLE_DEBUGGER_SUPPORT -Isrc src/full-codegen.cc
cc1plus: warnings being treated as errors
src/full-codegen.cc: In member function 'void
v8::internal::FullCodeGenerator::EmitInlineRuntimeCall(v8::internal::CallRuntime*)':
src/full-codegen.cc:687: error: NULL used in arithmetic
scons: *** [obj/debug/full-codegen.os] Error 1
scons: building terminated because of errors.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev