This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/439] New: libgcc_s.so.1 must be installed for pthread_cancel to work


environment:
  i686 Pentium III
  kernel 2.6.7
  original gcc was 3.2.2 (from RedHat9),
  gcc 3.4.1 installed in /usr/local and should take precedence (does do so when
I run compiler)
 
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
  LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib

downloaded glibc 2.3.3 from cvs on 6 Oct.
configure --with-tls --with-headers=/usr/src/linux-2.6.7-jel/include
--prefix=/usr --enable-add-ons --enable-kernel=2.6.7
configure and make ok,
but make check fails at some apparently random testcase in nptl directory with
 "libgcc_s.so.1 must be installed for pthread_cancel to work"

There is a 3.2.2 libgcc_s.so.1 in /lib/libgcc_s.so.1,
and 3.4.1 libgcc_s.so.1 in /usr/local/lib/libgcc_s.so.1

Also note that
 gcc --print-file-name=libgcc_s.so.1
reports
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../libgcc_s.so.1

I found that this fixes it:
                     rm -f /lib/libgcc_s.so.1
                     ln -s /usr/local/lib/libgcc_s.so.1 /lib/libgcc_s.so.1
                     ln -s /usr/local/lib/libgcc_s.so.1 /lib/libgcc_s.so

I am reporting this since I think there is a bug somewhere although I don't know
whether bug is in:
  .   me                   - user error?
  .   gcc 3.4.1 install    - should it have done what I did?
  .   glibc nptl testcases - since they know they want current libgcc_s.so,
                             why doesn't it run gcc
--print-file-name=libgcc_s.so.1 to find it.

-- 
           Summary: libgcc_s.so.1 must be installed for pthread_cancel to
                    work
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: minor
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: johnlumby at hotmail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=439

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]