Bug 132704 - librt/libc conflict
Summary: librt/libc conflict
Status: VERIFIED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Development (show other bugs)
Version: unspecified
Hardware: i686 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Thorsten Kukuk
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-08 13:10 UTC by Rene van Rueschen
Modified: 2005-11-09 11:31 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rene van Rueschen 2005-11-08 13:10:27 UTC
environment:
  SuSE 2.6.13-15-default
  gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)

When compiling a software package that uses NPTL I get the
following Linker error:
/lib/librt.so.1: undefined reference to `__librt_enable_asynccancel@GLIBC_PRIVATE'
/lib/librt.so.1: undefined reference to `__librt_multiple_threads@GLIBC_PRIVATE'
/lib/librt.so.1: undefined reference to `__librt_disable_asynccancel@GLIBC_PRIVATE'

Symbols in /lib/librt-2.3.5.so:
00008a00 b __libc_missing_posix_timers
         U __libc_pwrite@@GLIBC_PRIVATE
         U __librt_disable_asynccancel@@GLIBC_PRIVATE
         U __librt_enable_asynccancel@@GLIBC_PRIVATE
         U __librt_multiple_threads@@GLIBC_PRIVATE

Sybols in /lib/libc-2.3.5.so:
000cbbe0 t __libc_disable_asynccancel
000cbbe0 T __librt_disable_asynccancel
000cbb70 t __libc_enable_asynccancel
000cbb70 T __librt_enable_asynccancel
0011e968 b __libc_multiple_threads
0011e968 B __librt_multiple_threads

Could be caused by http://sources.redhat.com/ml/libc-hacker/2004-05/msg00006.html
Comment 1 Thorsten Kukuk 2005-11-08 13:32:33 UTC
If compile and links programs against NPTL, you have to use the NPTL variants
of all Libraries. You cannot mix that with LinuxThreads variants.