Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786534 - app-arch/advancecomp-2.2_pre20190301 fails to compile with gcc-11
Summary: app-arch/advancecomp-2.2_pre20190301 fails to compile with gcc-11
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
Keywords: PATCH
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2021-04-28 19:21 UTC by Agostino Sarubbo
Modified: 2021-04-29 19:56 UTC (History)
0 users

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

build.log (build.log,16.95 KB, text/plain)
2021-04-28 19:21 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-28 19:21:24 UTC

Issue: app-arch/advancecomp-2.2_pre20190301 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses GCC-11:
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-28 19:21:26 UTC
Created attachment 703446 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-28 19:21:28 UTC
Possible context of error(s):

file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
Comment 3 Matt Whitlock 2021-04-29 17:16:19 UTC
Dropping this patch…

…into /etc/portage/patches/app-arch/advancecomp-2.2_pre20190301/ allows the build to complete successfully.

Thanks, Michał.
Comment 4 Sam James archtester gentoo-dev Security 2021-04-29 17:17:56 UTC
Merged upstream.
Comment 5 Larry the Git Cow gentoo-dev 2021-04-29 19:56:41 UTC
The bug has been closed via the following commit(s):

commit 30eb83dd80937406bc984e5834b82e73f8738be3
Author:     Michał Górny <>
AuthorDate: 2021-04-29 18:41:13 +0000
Commit:     Michał Górny <>
CommitDate: 2021-04-29 19:55:43 +0000

    app-arch/advancecomp: Backport C++17 (GCC 11) fix
    Signed-off-by: Michał Górny <>

 .../advancecomp/advancecomp-2.2_pre20190301.ebuild |   7 +-
 .../files/advancecomp-2.2_pre20190301-gcc-11.patch | 184 +++++++++++++++++++++
 2 files changed, 189 insertions(+), 2 deletions(-)