This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: Undfined versioned symbols for SH target.


>>>>> 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

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