[OT] trying to build glibc and test nptl/ under f8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  while this is primarily a glibc question, its symptom is showing up
under fedora 8 for me so, what the heck, i'll ask here.

  i want to build glibc-2.7 from source on my fully-updated f8 system,
then run "make nptl/tests" as a start to experimenting with pthreads
programming.  so start with downloading glibc-2.7.tar.bz2, untar,
create a separate build dir "glibc-build" and:

  $ export CC="gcc -O2 -march=i486"    (based on what i've read)
  $ cd glibc-build
  $ ../dl/glibc-2.7/configure --disable-sanity-checks
  $ make

and away it goes, and finishes building successfully.  so far, so
good.

  at that point, i try:

  $ make nptl/tests
  ... chug chug chug ...
  libgcc_s.so.1 must be installed for pthread_cancel to work
  Didn't expect signal from child: got `Aborted'
  make[2]: *** [/home/rpjday/glibc-build/nptl/tst-mutex8.out] Error 1
  make[2]: Leaving directory   `/home/rpjday/openwrt/wl-500gp/build/dl/glibc-2.7/nptl'
  make[1]: *** [nptl/tests] Error 2
  make[1]: Leaving directory   `/home/rpjday/openwrt/wl-500gp/build/dl/glibc-2.7'
  make: *** [nptl/tests] Error 2
  $

i've googled on that error, "libgcc_s.so.1 must be installed for
pthread_cancel to work", but the most common cause is listed as not
having a recent enough version of libgcc.  and yet:

$ rpm -q gcc
gcc-4.1.2-33
$ rpm -q libgcc
libgcc-4.1.2-33
$ rpm -ql libgcc
/lib/libgcc_s-4.1.2-20070925.so.1
/lib/libgcc_s.so.1
/usr/sbin/libgcc_post_upgrade
/usr/share/doc/libgcc-4.1.2
/usr/share/doc/libgcc-4.1.2/COPYING.LIB
$ ls -l /lib/libgcc_s*
... /lib/libgcc_s-4.1.2-20070925.so.1
... /lib/libgcc_s.so.1 -> libgcc_s-4.1.2-20070925.so.1
$

  at this point, i'm puzzled and open to suggestions.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux