LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 609|回复: 2

为什么无法开启NPTL呢?

[复制链接]
发表于 2007-2-6 12:44:25 | 显示全部楼层 |阅读模式
  1. localhost ~ # ACCEPT_KEYWORDS="~x86" USE="nptl nptlonly" eix -p glibc
  2. [i] sys-libs/glibc
  3.      Available versions:  (2.2)  2.2.5-r10 2.3.2-r12 2.3.3.20040420-r2 (~)2.3.4.20040619-r2 2.3.4.20040808-r1 2.3.4.20041102-r1 *2.3.4.20041102-r2 (~)2.3.4.20050125-r1 2.3.5-r2 2.3.5-r3 2.3.6-r3 2.3.6-r4 2.3.6-r5 2.4-r3 2.4-r4 (~)2.5
  4.      Installed:           2.5(2.2)(12:21:06 PM 02/06/2007)(-build -glibc-compat20 -glibc-omitfp -hardened -multilib nls -nptl -nptlonly -profile -selinux)
  5.      Homepage:            http://www.gnu.org/software/libc/libc.html
  6.      Description:         GNU libc6 (also called glibc2) C library
复制代码

  1. localhost ~ # /lib/libc.so.6
  2. GNU C Library stable release version 2.5, by Roland McGrath et al.
  3. Copyright (C) 2006 Free Software Foundation, Inc.
  4. This is free software; see the source for copying conditions.
  5. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
  6. PARTICULAR PURPOSE.
  7. Compiled by GNU CC version 4.1.1 (Gentoo 4.1.1-r3).
  8. Compiled on a Linux 2.6.17 system on 2007-02-06.
  9. Available extensions:
  10.         C stubs add-on version 2.1.2
  11.         crypt add-on version 2.1 by Michael Glad and others
  12.         Gentoo patchset 1.3
  13.         GNU Libidn by Simon Josefsson
  14.         GNU libio by Per Bothner
  15.         linuxthreads-0.10 by Xavier Leroy
  16.         libthread_db work sponsored by Alpha Processor Inc
  17.         NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
  18.         Support for some architectures added on, not maintained in glibc core.
  19.         BIND-8.2.3-T5B
  20. Thread-local storage support included.
  21. For bug reporting instructions, please see:
  22. <http://www.gnu.org/software/libc/bugs.html>.
复制代码
  1. localhost ~ # cat /etc/make.conf
  2. # These settings were set by the catalyst build script that automatically built this stage
  3. # Please consult /etc/make.conf.example for a more detailed example
  4. CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -finline-functions"
  5. #CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
  6. CHOST="i686-pc-linux-gnu"
  7. CXXFLAGS="${CFLAGS}"
  8. LDFLAGS="-Wl,-O1"
  9. MAKEOPTS="-j3"
  10. AUTOCLEAN="yes"
  11. PORTDIR_OVERLAY="/usr/local/layman/xeffects /usr/local/layman/xeffects-experimental /usr/local/portage"
  12. GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://mirror.pacific.net.au/linux/Gentoo http://ftp.twaren.net/Linux/Gentoo http://mirror.gentoo.gr.jp http://gentoo.osuosl.org"
  13. #GENTOO_MIRRORS=" http://ftp.twaren.net/Linux/Gentoo http://mirror.gentoo.gr.jp http://gentoo.osuosl.org"
  14. #SYNC="rsync://gentoo.prz.rzeszow.pl/gentoo"
  15. ALSA_CARDS="emu10k1 hda-intel"
  16. FEATURES="parallel-fetch"
  17. USE="glitz svg userlocales pdf 3dnow X a52 aac aalib acpi alsa apm  avi dbus divx4linux bitmap-fonts blas berkdb bonobo breakme cdr cjk crypt cairo cscope cups directfb dbus dvb dvdr dvdread encode esd faad flac ffmpeg foomaticdb gdbm gif gnome gnome2 gpm gstreamer gtk gtk2 gtkhtml immqt-bc imlib java jpeg nvidia-card kde ldap libg++ libwww mad mikmod mmx motfi mpeg mysql nas ncurses nls oggvoribs opengl oss pdflib perl python qt3 quicktime readline ruby samba pam sdl slang scanner spell sockets stats ssl svga vorbis win32coders wxwindows xvid truetype-fonts type1-fonts usb v4l png tcltk tcpd tetex truetype x86 xine xml2 xinerama xv zlib fortran gcj hal iconv ieee1394 imagemagick ipv6 libcaca mikmod mono mp3 nptl nptlonly unicode "
复制代码

l
  1. ocalhost ~ # uname -a
  2. Linux localhost 2.6.18-gentoo-r6 #1 SMP Sun Feb 4 01:26:45 CST 2007 i686 Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz GenuineIntel GNU/Linux
复制代码

今天编译了三遍GLIBC,前两次只是emergc glibc,编译的2.3.6-R6版的,三次结果都 一样都没有启用NPTL
怎么了?
发表于 2007-2-6 13:06:15 | 显示全部楼层
ls -ld /etc/make.profile
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-6 13:19:01 | 显示全部楼层
明白了,多谢班大。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表