Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 846773 - www-client/chromium-102.0.5005.61 fails with gcc-12.1.0: ../../base/third_party/symbolize/symbolize.h:127:18: error: ‘exchange’ is not a member of ‘std’
Summary: www-client/chromium-102.0.5005.61 fails with gcc-12.1.0: ../../base/third_par...
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:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-05-21 14:20 UTC by Michał Górny
Modified: 2022-05-21 19:38 UTC (History)
0 users

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


Attachments
www-client:chromium-102.0.5005.61:20220521-140931.log.xz (www-client:chromium-102.0.5005.61:20220521-140931.log.xz,76.67 KB, application/x-xz)
2022-05-21 14:21 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,7.67 KB, text/plain)
2022-05-21 14:21 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-21 14:20:27 UTC
samu: job failed: x86_64-pc-linux-gnu-g++ -MMD -MF obj/base/third_party/symbolize/symbolize/symbolize.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE
_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DN
VALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno
-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -fno-omit-frame-pointer -fvisibility=hidden -Wno-unused-local-typed
efs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-un
used-parameter -std=gnu++17 -fno-aligned-new -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-narrowing -Wno-class-memaccess 
-march=znver2 -O2 -pipe -frecord-gcc-switches -c ../../base/third_party/symbolize/symbolize.cc -o obj/base/third_party/symbolize/symbol
ize/symbolize.o
In file included from ../../base/third_party/symbolize/symbolize.cc:65:
../../base/third_party/symbolize/symbolize.h: In constructor ‘google::FileDescriptor::FileDescriptor(google::FileDescriptor&&)’:
../../base/third_party/symbolize/symbolize.h:123:53: error: ‘exchange’ is not a member of ‘std’
  123 |   FileDescriptor(FileDescriptor&& other) : fd_(std::exchange(other.fd_, -1)) {}
      |                                                     ^~~~~~~~
../../base/third_party/symbolize/symbolize.h: In member function ‘google::FileDescriptor& google::FileDescriptor::operator=(google::FileDescriptor&&)’:
../../base/third_party/symbolize/symbolize.h:127:18: error: ‘exchange’ is not a member of ‘std’
  127 |       fd_ = std::exchange(rhs.fd_, -1);
      |                  ^~~~~~~~
samu: subcommand failed
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-21 14:21:00 UTC
Created attachment 779678 [details]
www-client:chromium-102.0.5005.61:20220521-140931.log.xz
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-21 14:21:30 UTC
Created attachment 779681 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2022-05-21 19:38:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58875749cb54f83450563e06cb0bb27f84865677

commit 58875749cb54f83450563e06cb0bb27f84865677
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2022-05-21 19:37:48 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2022-05-21 19:38:20 +0000

    www-client/chromium: fix building with gcc-12
    
    Closes: https://bugs.gentoo.org/846773
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/Manifest                      | 2 +-
 www-client/chromium/chromium-102.0.5005.61.ebuild | 7 +------
 2 files changed, 2 insertions(+), 7 deletions(-)