[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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux