Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th December 2004, 11:39 AM
mahirsayar Offline
Registered User
 
Join Date: Dec 2004
Posts: 3
recompile glibc for NPTL

i have been a gentoo user for many years and now i am a fc3 user. i love it.

how would i recompile glibc to compile with nptl ???

can someone help please
Reply With Quote
  #2  
Old 18th December 2004, 07:21 PM
mccabemt Offline
Registered User
 
Join Date: Aug 2004
Posts: 59
I'm pretty sure glibc is already compiled with NPTL. It would make sense for it to be at least, seeing that Redhat did most of the development.
Reply With Quote
  #3  
Old 23rd December 2004, 01:12 AM
mahirsayar Offline
Registered User
 
Join Date: Dec 2004
Posts: 3
[mahir@seninle ~]$ /lib/libc.so.6
GNU C Library stable release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3).
Compiled on a Linux 2.4.20 system on 2004-12-21.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
The C stubs add-on version 2.1.2.
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Glibc-2.0 compatibility add-on by Cristian Gafton
GNU Libidn by Simon Josefsson
libthread_db work sponsored by Alpha Processor Inc
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
[mahir@seninle ~]$


thats the house put of my /lib/libc.so.6 file thingi
no nptl
Reply With Quote
  #4  
Old 23rd December 2004, 09:01 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Start by getting the source rpm for the latest glibc. It's located here and ends in src.rpm. You'll want to figure out how to edit the spec file to change the build command. Unfortuantely, I'm not familiar with this.
Reply With Quote
  #5  
Old 3rd January 2005, 09:04 PM
mahirsayar Offline
Registered User
 
Join Date: Dec 2004
Posts: 3
this is what i've tired to do
and its not working

help me please!
it just stops..
nothing else happens

Quote:
[mahir@seninle SPECS]$ sudo rpmbuild -v -v --target=i686 --bp /usr/src/redhat/SPECS/glibc.spec --recompile
Building target platforms: i686
Building for target i686
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: ========== +++ glibc-2.3.4-2.fc3 i686/linux 0x0
D: opening db index /var/lib/rpm/Depends create mode=0x0
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0
D: read h# 2288 Header SHA1 digest: OK (423d35d41516524f60a3b6dee4cf6ed3bbb119e5)
D: Requires: gd-devel YES (db provides)
D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0
D: read h# 1816 Header sanity check: OK
D: ========== DSA pubkey id b44269d04f2a6fd2
D: read h# 2023 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: libpng-devel YES (db provides)
D: read h# 2103 Header SHA1 digest: OK (fd606775ebe3e1e8899d7541f372281145ddeea9)
D: Requires: zlib-devel YES (db provides)
D: read h# 2968 Header SHA1 digest: OK (50303e4296a8f474a687e75f3d17ea4e8bd1b491)
D: Requires: texinfo YES (db provides)
D: Requires: rpmlib(VersionedDependencies) <= 3.0.3-1 YES (rpmlib provides)
D: read h# 2965 Header SHA1 digest: OK (b6680c03d2a407b20140b581495b3adaf6927556)
D: Requires: libselinux-devel >= 1.17.10-1 YES (db provides)
D: read h# 88 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: sed >= 3.95 YES (db provides)
D: read h# 2951 Header SHA1 digest: OK (5d0618a59075ea1b12be5c53e3a937b2e3cc423e)
D: Requires: gcc >= 3.2 YES (db provides)
D: read h# 2109 Header SHA1 digest: OK (593faa1e930474c5fa6dca14ed2390cb254a9704)
D: Requires: binutils >= 2.13.90.0.16-5 YES (db provides)
D: Requires: gcc >= 3.2.1-5 YES (db provides)
D: read h# 2129 Header SHA1 digest: OK (4f57e9bae6afdbd81b10b9b83859f437abf02f3f)
D: Requires: elfutils >= 0.72 YES (db provides)
D: read h# 2337 Header SHA1 digest: OK (766c99e6dc4c817076d3c5fc8d2762bfd82a60fd)
D: Requires: rpm >= 4.2-0.56 YES (db provides)
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Depends
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.73881
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf glibc-20041219T2331
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/glibc-20041219T2331.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd glibc-20041219T2331
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/glibc-fedora-20041219T2331.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (glibc-fedora.patch):'
Patch #0 (glibc-fedora.patch):
+ patch -p1 -E -s
+ case "`gcc --version | head -1`" in
++ gcc --version
++ head -1
+ echo 'Patch #1 (glibc-nptl-check.patch):'
Patch #1 (glibc-nptl-check.patch):
+ patch -p1 -s
+ mkdir asm
+ cat
+ rm -f sysdeps/alpha/alphaev6/memcpy.S
+ find . -type f -size 0 -o -name '*.orig' -exec rm -f '{}' ';'
+ cat
+ chmod +x find_provides.sh
++ find . -name configure
+ touch ./nptl/configure ./nptl/sysdeps/pthread/configure ./nptl/sysdeps/unix/sysv/linux/configure ./posix/glob/configure ./configure ./linuxthreads/configure ./sysdeps/sh/elf/configure ./sysdeps/pthread/configure ./sysdeps/i386/elf/configure ./sysdeps/ia64/elf/configure ./sysdeps/hppa/configure ./sysdeps/mach/hurd/configure ./sysdeps/mach/configure ./sysdeps/s390/s390-32/elf/configure ./sysdeps/s390/s390-64/elf/configure ./sysdeps/unix/sysv/linux/mips/configure ./sysdeps/unix/sysv/linux/configure ./sysdeps/unix/configure ./sysdeps/unix/common/configure ./sysdeps/alpha/elf/configure ./sysdeps/sparc/sparc32/elf/configure ./sysdeps/sparc/sparc64/elf/configure ./sysdeps/generic/configure ./sysdeps/x86_64/elf/configure ./sysdeps/powerpc/powerpc32/elf/configure ./sysdeps/powerpc/powerpc64/elf/configure ./sysdeps/powerpc/powerpc64/configure ./sysdeps/powerpc/configure ./libidn/configure ./libidn/sysdeps/unix/configure ./rtkaio/configure ./glibc-compat/configure ./c_stubs/configure
+ exit 0
[mahir@seninle SPECS]$
Reply With Quote
Reply

Tags
glibc, nptl, recompile

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem updating glibc-common/glibc maladeus Using Fedora 0 28th August 2007 07:23 PM
"yum install glibc-devel" = Error: glibc-common conflicts with glibc < 2.3.6 nat101l Using Fedora 22 10th November 2005 06:16 PM
roll back from glibc-2.3.3 to glibc-2.3.2 ?? dylpower Using Fedora 1 22nd October 2004 10:26 PM


Current GMT-time: 06:57 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat