[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
glibc-2.3 libc_p.a and libpthread_p.a symbol conflicts
From: |
Arthur S Naseef |
Subject: |
glibc-2.3 libc_p.a and libpthread_p.a symbol conflicts |
Date: |
Wed, 6 Aug 2003 12:22:05 -0400 |
Attempting to build a static, profiled executable with libc and libpthread
results in a symbol conflicts on __flockfile, _IO_flockfile, __funlockfile,
and _IO_funlockfile. Below are the specifics of the glibc versions with
sample commands that can be used to detect the problem.
Which library should be defining these? Why do both contain them?
Versions
GLIBC 2.3 (seen with 2.3.1 and 2.3.2)
Linuxthreads
nm -D /lib/libc-2.3.1.so | grep lockfile
000621a0 T _IO_flockfile
000621e0 T _IO_ftrylockfile
00062220 T _IO_funlockfile
000621a0 W flockfile
000621e0 W ftrylockfile
00062220 W funlockfile
nm -D /lib/libpthread.so.0 | grep lockfile
00009f50 T _IO_flockfile
00009f90 T _IO_ftrylockfile
00009f70 T _IO_funlockfile
00009f50 W flockfile
00009f90 W ftrylockfile
00009f70 W funlockfile
- glibc-2.3 libc_p.a and libpthread_p.a symbol conflicts,
Arthur S Naseef <=