Status: New
Owner: ----

New issue 1421 by [email protected]: V8 doesn't build with gcc-4.6.0 in ChromeOS
http://code.google.com/p/v8/issues/detail?id=1421

I'll also file a ChromiumOS bug.

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 deleted the cross-i686-pc-linux-gnu/gcc line in /etc/portage/package.mask/cross-i686-pc-linux-gnu. If you don't do this, the gcc package will be masked. 1. sudo USE="multislot svn_sources" emerge --oneshot =cross-i686-pc-linux-gnu/gcc-4.6.0 to build cross gcc-4.6
2. sudo gcc-config i686-pc-linux-gnu-4.6.0
3. exit the chroot and re-enter the chroot (FYI, unless you get a fairly recent change to gcc-config, you will not be able to run binaries on a ChromeOS box. However, these steps are good enough for you to fix compiler warnings/errors).
4. 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 -I/build/x86-agz/usr/include/ -I/build/x86-agz/include/ -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 -I/build/x86-agz/usr/include/ -I/build/x86-agz/include/ -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 -I/build/x86-agz/usr/include/ -I/build/x86-agz/include/ -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

Reply via email to