Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899746 - dev-cpp/tbb-2020.3 fails to compile (GCC-13-SYSTEM): task.h:300:20: error: declaration of tbb::task& tbb::internal::task_prefix::task() changes meaning of task [-Wchanges-meaning]
Summary: dev-cpp/tbb-2020.3 fails to compile (GCC-13-SYSTEM): task.h:300:20: error: de...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
Keywords: PATCH
Depends on:
Blocks: gcc-13
  Show dependency tree
Reported: 2023-03-06 08:11 UTC by Agostino Sarubbo
Modified: 2023-04-28 00:47 UTC (History)
1 user (show)

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

build.log (build.log,68.64 KB, text/plain)
2023-03-06 08:11 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 2023-03-06 08:11:32 UTC

Issue: dev-cpp/tbb-2020.3 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-06 08:11:34 UTC
Created attachment 856232 [details]

build log and emerge --info
Comment 2 Leonid Kopylov 2023-04-27 14:49:54 UTC
same on arm64
Comment 3 Larry the Git Cow gentoo-dev 2023-04-28 00:47:29 UTC
The bug has been closed via the following commit(s):

commit a9037e17ac83d5013b3393c7b703809a99574bc4
Author:     Sam James <>
AuthorDate: 2023-04-28 00:46:53 +0000
Commit:     Sam James <>
CommitDate: 2023-04-28 00:46:53 +0000

    dev-cpp/tbb: fix build w/ gcc 13
    Signed-off-by: Sam James <>

 dev-cpp/tbb/files/tbb-2020.3-gcc13.patch | 35 ++++++++++++++++++++++++++++++++
 dev-cpp/tbb/tbb-2020.3.ebuild            |  7 +++++--
 2 files changed, 40 insertions(+), 2 deletions(-)