Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642932 - sys-devel/kgcc64: USE=nptl does not make sense for kgcc64
Summary: sys-devel/kgcc64: USE=nptl does not make sense for kgcc64
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2018-01-01 10:40 UTC by Rolf Eike Beer
Modified: 2024-01-12 11:08 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2018-01-01 10:40:53 UTC
To my understanding this is about the user space threads implementation, while kgcc64 is solely a kernel compiler.

Reproducible: Always
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-01-01 11:04:27 UTC
Yes, you are right. toolchain.eclass is shared across gcc/kgcc64.
USE=nptl (and likely many other flags) seems to be used for a single uclibc target:

	case ${CTARGET} in
			$(use_enable nptl tls)
Comment 2 Rolf Eike Beer archtester 2018-01-01 11:11:19 UTC
Commit 63b0d66c654dce7e4a75776357cac44379eba802 may have a solution for that. OTOH it doesn't make sense to run into this block for kgcc64 as the kernel does not care for the libc implementation.
Comment 3 Larry the Git Cow gentoo-dev 2019-08-22 06:36:44 UTC
The bug has been closed via the following commit(s):

commit 6809e503179036054f1f45979b09808ecd4a4342
Author:     Sergei Trofimovich <>
AuthorDate: 2019-08-22 06:35:09 +0000
Commit:     Sergei Trofimovich <>
CommitDate: 2019-08-22 06:35:09 +0000

    toolchain.eclass: drop USE=nptl from kgcc64, bug #642932
    USE=nptl is neededonly for compilers that target userspace.
    kgcc64 is for building kernels only.
    Reported-by: Rolf Eike Beer
    Signed-off-by: Sergei Trofimovich <>

 eclass/toolchain.eclass | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-01-12 11:08:26 UTC
The bug has been referenced in the following commit(s):

commit 36e43f119894be5631b564e41ade681547784630
Author:     Sam James <>
AuthorDate: 2024-01-12 11:02:14 +0000
Commit:     Sam James <>
CommitDate: 2024-01-12 11:04:36 +0000

    toolchain.eclass: drop noop USE=nptl
    This doesn't make sense to toggle nowadays anyway given linuxthreads is long
    gone, but it's not even wired up to do anything in the eclass.
    The last remaining consumer was for uclibc which was dropped in
    Signed-off-by: Sam James <>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)