chromium (M10) failed to build with gcc 4.6

Bug #765946 reported by Matthias Klose on 2011-04-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
High
Unassigned
Oneiric
High
Unassigned

Bug Description

chromium-browser version 10.0.648.204~r79063-0ubuntu2 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2447279

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2447279/+files/buildlog_ubuntu-natty-i386.chromium-browser_10.0.648.204%7Er79063-0ubuntu2_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 2268 lines into the build log:

  CXX(target) out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/base/vdso_support.o
third_party/tcmalloc/chromium/src/base/sysinfo.cc: In function 'void InitializeSystemInfo()':
third_party/tcmalloc/chromium/src/base/sysinfo.cc:258:34: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
third_party/tcmalloc/chromium/src/base/vdso_support.cc: In member function 'void base::VDSOSupport::ElfMemImage::Init(const void*)':
third_party/tcmalloc/chromium/src/base/vdso_support.cc:264:3: error: 'ptrdiff_t' was not declared in this scope
third_party/tcmalloc/chromium/src/base/vdso_support.cc:264:3: note: suggested alternatives:
/usr/include/c++/4.6/i686-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
/usr/include/c++/4.6/i686-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
third_party/tcmalloc/chromium/src/base/vdso_support.cc:264:13: error: expected ';' before 'relocation'
third_party/tcmalloc/chromium/src/base/vdso_support.cc:268:37: error: 'relocation' was not declared in this scope
make[1]: *** [out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/base/vdso_support.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/build/buildd/chromium-browser-10.0.648.204~r79063/build-tree/src'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110419-1233
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/chromium-browser-10.0.648.204~r79063

Matthias Klose (doko) on 2011-04-19
Changed in chromium-browser (Ubuntu):
importance: Undecided → High
Fabien Tassin (fta) wrote :

It's gcc 4.6 only right?

with 4.5.2 (natty) and all gcc down to hardy, it builds fine for me.

Matthias Klose (doko) wrote :

yes, forgot to edit the standard bug text :-/

Fabien Tassin (fta) on 2011-04-19
summary: - chromium-browser version 10.0.648.204~r79063-0ubuntu2 failed to build on
- i386
+ chromium (M10) failed to build with gcc 4.6
Changed in chromium-browser (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in chromium-browser (Ubuntu Oneiric):
status: New → Confirmed
tags: added: universe
Changed in chromium-browser (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
Matthias Klose (doko) wrote :

13.0.782.215~r97094-0ubuntu0.11.04.1 did build

Changed in chromium-browser (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers