[Bug 1495] New: enabling LINUXTHREADS_NEW generates undefined reference to `_res'

bugzilla at busybox.net bugzilla at busybox.net
Tue Apr 6 08:47:47 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=1495

              Host: i486-linux-uclibc
            Target: i486-linux-uclibc
             Build: Build 2010-04-03 Slackware 12.2
           Summary: enabling LINUXTHREADS_NEW generates undefined reference
                    to  `_res'
           Product: uClibc
           Version: 0.9.31
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: link-failure
          Severity: normal
          Priority: P5
         Component: Threads
        AssignedTo: unassigned at uclibc.org
        ReportedBy: dmurungi at dicts.mak.ac.ug
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


I'm trying to compile uClibc 0.9.31 for x86 with LINUXTHREADS_NEW enabled and 
I get the following error;

-----------------------------------------------------
  AR cr libpthread/linuxthreads/libpthread_so.a
  STRIP -x -R .note -R .comment libpthread/linuxthreads/libpthread_so.a
  CC libpthread/linuxthreads/pthread_atfork.oS
  AR cr lib/libpthread_nonshared.a
  STRIP -x -R .note -R .comment lib/libpthread_nonshared.a
  LD libpthread-0.9.31.so
libpthread/linuxthreads/libpthread_so.a(pthread.oS): In function 
`__pthread_reset_main_thread':
pthread.c:(.text.__pthread_reset_main_thread+0x9f): undefined reference to 
`_res'
collect2: ld returned 1 exit status
make[1]: *** [lib/libpthread.so] Error 1

-----------------------------------------------------

Building with LINUXTHREADS_OLD works fine. The above error does not occur with 
uclibc 0.9.30.3.


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list