Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 899746

Summary: 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]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: leonchik1976
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/oneapi-src/oneTBB/pull/833
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: build.log

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