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

Bug 892868

Summary: sys-devel/gcc-13.0.1_pre20230129-r1[+openmp] - configure: error: Pthreads are required to build libgomp (on musl)
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: build.log.xz
emerge --info

Description ernsteiswuerfel archtester 2023-02-01 23:00:18 UTC
Created attachment 849646 [details]
build.log.xz

[...]
checking for semaphore.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
configure: error: Pthreads are required to build libgomp
make[2]: *** [Makefile:22171: configure-stage1-target-libgomp] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-13.0.1_pre20230129-r1/work/build'
make[1]: *** [Makefile:24529: stage1-bubble] Error 2
make: *** [Makefile:24877: bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-13.0.1_pre20230129-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2023-02-01 23:01:50 UTC
Created attachment 849648 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-02-01 23:10:58 UTC
The bug has been closed via the following commit(s):

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

commit 5fd7a6aff9856c2099d46ce6241284124469e220
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-01 23:09:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-01 23:10:23 +0000

    sys-devel/gcc: add musl patches for 13
    
    Closes: https://bugs.gentoo.org/892870
    Closes: https://bugs.gentoo.org/892868
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                         | 1 +
 sys-devel/gcc/gcc-13.0.1_pre20230129-r1.ebuild | 1 +
 2 files changed, 2 insertions(+)