public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Problem with glibc mainline and linuxthreads on x86-64
@ 2002-08-21  5:54 Andreas Jaeger
  2002-08-21  6:39 ` Andreas Schwab
  2002-08-21  6:39 ` Andreas Jaeger
  0 siblings, 2 replies; 7+ messages in thread
From: Andreas Jaeger @ 2002-08-21  5:54 UTC (permalink / raw)
  To: GNU libc hacker


Compiling glibc mainline for x86-64 I get this error:

/usr/src/aj/build-glibc-mainline/linuxthreads/libpthread_pic.a(attr.os): In function `pthread_attr_init@GLIBC_2.2.5':
itimerspec/attr.c:48: multiple definition of `pthread_attr_init@GLIBC_2.2.5'
/usr/lib64/gcc-lib/x86_64-suse-linux/3.2/../../../../x86_64-suse-linux/bin/ld: Warning: size of symbol `pthread_attr_init@GLIBC_2.2.5' changed from 83 to 40 in /usr/src/aj/build-glibc-mainline/linuxthreads/libpthread_pic.a(attr.os)
/usr/src/aj/build-glibc-mainline/linuxthreads/libpthread_pic.a(pthread.os): In function `pthread_create@GLIBC_2.2.5':
Elf32_Ehdr/pthread.c:796: multiple definition of `pthread_create@GLIBC_2.2.5'
/usr/lib64/gcc-lib/x86_64-suse-linux/3.2/../../../../x86_64-suse-linux/bin/ld: Warning: size of symbol `pthread_create@GLIBC_2.2.5' changed from 198 to 153 in /usr/src/aj/build-glibc-mainline/linuxthreads/libpthread_pic.a(pthread.os)
/usr/src/aj/build-glibc-mainline/linuxthreads/libpthread_pic.a(oldsemaphore.os):


$ nm linuxthreads/attr.os |grep pthread_attr_init
0000000000000054 T __pthread_attr_init_2_0
0000000000000000 T __pthread_attr_init_2_1
0000000000000000 T pthread_attr_init@@GLIBC_2.2.5
0000000000000054 T pthread_attr_init@GLIBC_2.2.5

One think puzzles me: Why do I get the _2_0 symbol at all?  There's no
compatibility for x86-64 for glibc 2.0 and therefore the stuff should
not get compiled in.

linuxthreads/shlib-versions contains:
x86_64-.*-linux.*	libpthread=0		GLIBC_2.2.5

Can anybody hint me in the right direction?

Thanks,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-08-22  7:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-21  5:54 Problem with glibc mainline and linuxthreads on x86-64 Andreas Jaeger
2002-08-21  6:39 ` Andreas Schwab
2002-08-21 23:02   ` Roland McGrath
2002-08-21 23:28     ` Andreas Jaeger
2002-08-22  0:27       ` Roland McGrath
2002-08-22  0:38         ` Andreas Jaeger
2002-08-21  6:39 ` Andreas Jaeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).