Undfined versioned symbols for SH target.

Andreas Jaeger aj@suse.de
Wed Jun 14 02:14:00 GMT 2000


>>>>> kaz Kojima writes:

 > Hi,
 > I have undefined versioned symbols at making libc.so for
 > SH target. They are pthread_attr_init@@GLIBC_2.1 and
 > pthread_attr_init@GLIBC_2.0 defined in linuxthreads/weaks.c.
 > I can avoid them by adding a line
 > sh.*-.*-linux.*         libpthread=0            GLIBC_2.2
 > to the shlib-versions, but is this correct?

Try the appended patch which looks correct to me.

Andreas

2000-06-14  Andreas Jaeger  <aj@suse.de>

	* shlib-versions: Handle ia64 and sh.
        Reported by kaz Kojima <kkojima@rr.iij4u.or.jp>

--- libc-clean/linuxthreads/shlib-versions	Tue Apr 25 18:17:18 2000
+++ libc/linuxthreads/shlib-versions	Wed Jun 14 10:53:49 2000
@@ -1,3 +1,5 @@
 # Xavier Leroy's Linux clone based thread library.
+ia64-.*-linux.*         libpthread=0            GLIBC_2.2
 mips.*-.*-linux.*	libpthread=0		GLIBC_2.0 GLIBC_2.2
+sh.*-.*-linux.*         libpthread=0            GLIBC_2.2
 .*-.*-linux.*		libpthread=0


-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de


More information about the Libc-hacker mailing list