Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603640 - chromium-56.0.2924.24 fails to build
Summary: chromium-56.0.2924.24 fails to build
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-24 14:17 UTC by Marcin Szamotulski
Modified: 2016-12-27 21:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (zipped) (build.log.zip,800.48 KB, application/zip)
2016-12-24 14:20 UTC, Marcin Szamotulski
Details
emerge.info (emerge.info,6.18 KB, application/x-info)
2016-12-24 14:21 UTC, Marcin Szamotulski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Szamotulski 2016-12-24 14:17:41 UTC
chromium-56.0.2924.24 fails to compile, build.log attached
using sys-devel/gcc-5.4.0

Reproducible: Always

Steps to Reproduce:
1. emerge -u chromium
Comment 1 Marcin Szamotulski 2016-12-24 14:20:45 UTC
Created attachment 457312 [details]
build.log (zipped)
Comment 2 Marcin Szamotulski 2016-12-24 14:21:08 UTC
Created attachment 457314 [details]
emerge.info
Comment 3 Marcin Szamotulski 2016-12-24 14:23:18 UTC
collect2: error: ld returned 1 exit status
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1plus: warning: unrecognized command line option ‘-Wno-unused-local-typedef’
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1plus: warning: unrecognized command line option ‘-Wno-unused-local-typedef’
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1plus: warning: unrecognized command line option ‘-Wno-unused-local-typedef’
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1plus: warning: unrecognized command line option ‘-Wno-unused-local-typedef’
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1plus: warning: unrecognized command line option ‘-Wno-unused-local-typedef’
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1plus: warning: unrecognized command line option ‘-Wno-unused-local-typedef’
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
cc1plus: warning: unrecognized command line option ‘-Wno-unused-local-typedef’
ninja: build stopped: subcommand failed.
 [31;01m*[0m ERROR: www-client/chromium-56.0.2924.21::gentoo failed (compile phase):
 [31;01m*[0m   (no error message)
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line 115:  Called src_compile
 [31;01m*[0m   environment, line 5242:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       eninja -C out/Release ${ninja_targets} || die;
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=www-client/chromium-56.0.2924.21::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=www-client/chromium-56.0.2924.21::gentoo'`.
 [32;01m*[0m 
 [32;01m*[0m MemTotal:       16310404 kB
 [32;01m*[0m SwapTotal:             0 kB
 [32;01m*[0m 
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/www-client/chromium-56.0.2924.21/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-56.0.2924.21/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/www-client/chromium-56.0.2924.21/work/chromium-56.0.2924.21'
 [31;01m*[0m S: '/var/tmp/portage/www-client/chromium-56.0.2924.21/work/chromium-56.0.2924.21'
Comment 4 Ben Kohler gentoo-dev 2016-12-24 14:23:48 UTC
gpu_control_list.cc:(.text._ZNK3gpu14GpuControlList19GpuControlListEntry8ContainsENS0_6OsTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7GPUInfoE.part.190+0x477): undefined reference to `re2::RE2::RE2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'


This suggests you haven't yet rebuilt all libstdc++ consumers after the upgrade to gcc >=5, per the news item, is this plausible?  See this link:
https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html
Comment 5 Marcin Szamotulski 2016-12-27 21:14:23 UTC
That was it, thanks.