Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

glibc won't emerge with nptl

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
thehog
n00b
n00b
Posts: 19
Joined: Thu Mar 09, 2006 3:09 am

glibc won't emerge with nptl

  • Quote

Post by thehog » Mon Oct 22, 2007 11:32 pm

Hi,

I have a system that was built with USE="nptl nptlonly" and profile 2006.1/desktop

I now want to use the newer profile 2007.0/desktop. When I emerge glibc, it won't use the nptl adn nptlonly flags:

Code: Select all

Zeus ~ # USE="nptl nptlonly" emerge -pv glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-libs/glibc-2.6.1 [2.5-r4] USE="nls -debug -glibc-compat20 -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) (-build%) (-nptl%*) (-nptlonly%*)" 16,006 kB

Total: 1 package (1 upgrade), Size of downloads: 16,006 kB
What can be the problem?

Strangely equery still reports that the nptl flag will be used:

Code: Select all

Zeus ~ # equery uses glibc
[ Searching for packages matching glibc... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for sys-libs/glibc-2.5-r4 ]
 U I
 - - build          : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1]
 - - debug          : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml .
 - - glibc-compat20 : Enable the glibc-compat addon.
 - - glibc-omitfp   : Configure glibc with --enable-omitfp which lets the build system determine when it is safe to use -fomit-frame-pointer
 - - hardened       : activate default security enhancements for toolchain (gcc, glibc, binutils)
 - - multilib       : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
 + + nls            : Adds Native Language Support (using gettext - GNU locale utilities)
 + + nptl           : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
 + + nptlonly       : Disables building the linuxthreads fallback in glibc ebuilds that support building both linuxthreads and nptl.
 - - profile        : Adds profile support to builds of packages (will likely vary from ebuild to ebuild in support)
 - - selinux        : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
But maybe equery only looks at make.conf and package.use?

BTW. The system does not use unicode:

Code: Select all

Zeus ~ # equery uses baselayout
[ Searching for packages matching baselayout... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for sys-apps/baselayout-1.12.9-r2 ]
 U I
 - - bootstrap : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used during original system bootstrapping [make stage2]
 - - build     : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1]
 - - static    : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
 - - unicode   : Adds support for Unicode
Top
StifflerStealth
Retired Dev
Retired Dev
User avatar
Posts: 968
Joined: Wed Jul 03, 2002 8:20 pm

  • Quote

Post by StifflerStealth » Mon Oct 22, 2007 11:41 pm

From what I know, the new glibc ebuild turns nptl on by default now, so it will be like complinging glibc with nptl nptlonly useflags. :)
Top
Post Reply

2 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic