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...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
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: ---


Attachments
build.log (build.log,68.64 KB, text/plain)
2023-03-06 08:11 UTC, Agostino Sarubbo
Details

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
(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

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):

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

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

    dev-cpp/tbb: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/899746
    Signed-off-by: Sam James <sam@gentoo.org>

 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(-)