Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630366 - www-client/chromium-61.0.3163.79 build fails with gcc-7 upstream provides patch
Summary: www-client/chromium-61.0.3163.79 build fails with gcc-7 upstream provides patch
Status: RESOLVED DUPLICATE of bug 626970
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-09-08 14:17 UTC by Alex
Modified: 2017-09-15 12:43 UTC (History)
1 user (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 Alex 2017-09-08 14:17:12 UTC
www-client/chromium-61.0.3163.79 (and probably other versions also) couldn't be built using GCC7 compiler due to following error in Webkit:

../../third_party/WebKit/Source/platform/wtf/LinkedHashSet.h: In member function ‘void WTF::LinkedHashSet<Value, HashFunctions, HashTraits, Allocator>::Swap(WTF::LinkedHashSet<Value, HashFunctions, HashTraits, Allocator>&)’:
../../third_party/WebKit/Source/platform/wtf/LinkedHashSet.h:691:3: error: there are no arguments to ‘SwapAnchor’ that depend on a template parameter, so a declaration of ‘SwapAnchor’ must be available [-fpermissive]
   SwapAnchor(anchor_, other.anchor_);
   ^~~~~~~~~~
../../third_party/WebKit/Source/platform/wtf/LinkedHashSet.h:691:3: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)

It's an upstream bug, and there is a patch for it:
https://github.com/OSSystems/meta-browser/blob/master/recipes-browser/chromium/files/0002-WebKit-fix-build-with-gcc7.patch

I think it would be OK to include this patch in chromium build process.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-09-15 12:43:25 UTC
Duping gcc-7 issues to one bug.

*** This bug has been marked as a duplicate of bug 626970 ***