Comment #10 on issue 1291 by [email protected]: V8 does not compile with
GCC 4.6 (various compiler warnings)
http://code.google.com/p/v8/issues/detail?id=1291
I am seeing this now.
Subject: v8-5208 doesn't build with gcc-4.6
Chrome OS Version : <From about:version: ChromeOS x.x.x.x>
Chrome Version : <From about:version: Google Chrome x.x.x.x>
Type of computer : < Make/model of computer running Chrome OS >
Please specify Area-* of the system to which this bug/feature applies.
Area-Build
This bug report was automatically generated by cros_triage_packages.py.
What steps will reproduce the problem?
0. Make sure you have a relatively recent chromeos checkout.
1. Follow instructions here:
http://www.chromium.org/chromium-os/developer-guide#TOC-Developer-mode to
switch
your cross-gcc to 4.6.0 for testing your package.
http://www.chromium.org/chromium-os/developer-guide#TOC-Developer-mode)
2. emerge-$BOARD v8
# Note that this comes from:
/home/asharif/trunk/src/third_party/chromiumos-overlay/dev-lang/v8/v8-5208.ebuild
# Primary authors of ebuild are:
1 [email protected]
1 [email protected]
# I could not find blame list authors.
What is the expected output? What do you see instead?
Expected output should be a clean build.
I see this.
v8-5208: i686-pc-linux-gnu-g++ -o obj/release/assembler.o -c -O2 -pipe
-march=atom -mtune=atom -mfpmath=sse -ggdb -fno-strict-aliasing -Wall
-Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-fno-tree-vrp -fno-strict-aliasing -fno-rtti -fno-exceptions
-fvisibility=hidden -fno-strict-aliasing -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-fno-tree-vrp -fno-strict-aliasing -DV8_TARGET_ARCH_IA32
-DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING
-DENABLE_DEBUGGER_SUPPORT -Isrc src/assembler.cc
v8-5208: i686-pc-linux-gnu-g++ -o obj/release/ast.o -c -O2 -pipe
-march=atom -mtune=atom -mfpmath=sse -ggdb -fno-strict-aliasing -Wall
-Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-fno-tree-vrp -fno-strict-aliasing -fno-rtti -fno-exceptions
-fvisibility=hidden -fno-strict-aliasing -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-fno-tree-vrp -fno-strict-aliasing -DV8_TARGET_ARCH_IA32
-DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING
-DENABLE_DEBUGGER_SUPPORT -Isrc src/ast.cc
v8-5208: i686-pc-linux-gnu-g++ -o obj/release/bootstrapper.o -c -O2 -pipe
-march=atom -mtune=atom -mfpmath=sse -ggdb -fno-strict-aliasing -Wall
-Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-fno-tree-vrp -fno-strict-aliasing -fno-rtti -fno-exceptions
-fvisibility=hidden -fno-strict-aliasing -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-fno-tree-vrp -fno-strict-aliasing -DV8_TARGET_ARCH_IA32
-DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING
-DENABLE_DEBUGGER_SUPPORT -Isrc src/bootstrapper.cc
v8-5208: src/bootstrapper.cc: In static member function 'static bool
v8::internal::Genesis::CompileScriptCached(v8::internal::Vector<const
char>, v8::internal::Handle<v8::internal::String>,
v8::internal::SourceCodeCache*, v8::Extension*,
v8::internal::Handle<v8::internal::Context>, bool)':
v8-5208: src/bootstrapper.cc:1002:18: error: variable 'result' set but not
used [-Werror=unused-but-set-variable]
v8-5208: src/bootstrapper.cc: In member function 'bool
v8::internal::Genesis::InstallNatives()':
v8-5208: src/bootstrapper.cc:1227:24: error: variable 'name' set but not
used [-Werror=unused-but-set-variable]
v8-5208: cc1plus: all warnings being treated as errors
v8-5208:
Please use labels and text to provide additional information.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev