Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628284 - www-client/chromium-62.0.3188.2 with gcc-5.4.0-r3: error: could not convert ‘(const int8_t*)(& mailbox.gpu::Mailbox::name)’ from ‘const int8_t* {aka const sig ned char*}’ to ‘mojo::ConstCArray<signed char> {aka base::Span<const signed char>}’
Summary: www-client/chromium-62.0.3188.2 with gcc-5.4.0-r3: error: could not convert ‘...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: https://groups.google.com/a/chromium....
Whiteboard:
Keywords:
: 632410 (view as bug list)
Depends on:
Blocks: gcc-5
  Show dependency tree
 
Reported: 2017-08-19 11:11 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2017-09-30 16:27 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-08-19 11:11:17 UTC
In file included from ../../gpu/ipc/common/mailbox_holder_struct_traits.h:10:0,
                 from gen/cc/ipc/texture_mailbox.mojom.cc:29:
../../gpu/ipc/common/mailbox_struct_traits.h: In static member function ‘static mojo::ConstCArray<signed char> mojo::StructTraits<gpu::mojom::MailboxDataView,
gpu::Mailbox>::name(const gpu::Mailbox&)’:
../../gpu/ipc/common/mailbox_struct_traits.h:17:20: error: could not convert ‘(const int8_t*)(& mailbox.gpu::Mailbox::name)’ from ‘const int8_t* {aka const sig
ned char*}’ to ‘mojo::ConstCArray<signed char> {aka base::Span<const signed char>}’
     return mailbox.name;
                    ^

This happens with gcc-5.4.0-r3 but not gcc-6.4.0.
Comment 1 Ivan Iraci 2017-09-20 09:30:00 UTC
Same problem here.
Comment 2 Norman Shulman 2017-09-20 18:12:20 UTC
Seems the chromium people like to use the second-most recent version of gcc. The need to build chromium is what pushed me to upgrade to gcc 5 before it was stable. Now I've upgraded to gcc 6.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-09-30 07:39:50 UTC
*** Bug 632410 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2017-09-30 16:26:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7843d29ab07411a9c70962fb90b4cd1546910242

commit 7843d29ab07411a9c70962fb90b4cd1546910242
Author:     Pawel Hajdan, Jr <phajdan.jr@gentoo.org>
AuthorDate: 2017-09-30 16:26:21 +0000
Commit:     Pawel Hajdan, Jr <phajdan.jr@gentoo.org>
CommitDate: 2017-09-30 16:26:21 +0000

    www-client/chromium: fix remaining gcc-5 issues
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=628284
    
    Package-Manager: Portage-2.3.8, Repoman-2.3.1

 www-client/chromium/chromium-62.0.3202.18.ebuild |  2 +-
 www-client/chromium/chromium-63.0.3223.8.ebuild  |  2 +-
 www-client/chromium/files/chromium-gcc5-r3.patch | 98 ++++++++++++++++++++++++
 www-client/chromium/files/chromium-gcc5-r4.patch | 98 ++++++++++++++++++++++++
 4 files changed, 198 insertions(+), 2 deletions(-)}