[uClibc 0005444]: clock_getres is stripped from shared library during normal compile

bugs at busybox.net bugs at busybox.net
Thu Oct 16 14:44:14 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=5444 
====================================================================== 
Reported By:                chrisz
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   5444
Category:                   Shared Library Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-16-2008 07:22 PDT
Last Modified:              10-16-2008 07:44 PDT
====================================================================== 
Summary:                    clock_getres is stripped from shared library during
normal compile
Description: 
During a standard compile of uClibc, clock_getres gets stripped from the
shared library because -Wl,-s is passed when building libuClibc-0.9.29.so.
Later, when trying to build wget, the build fails because the symbol
"clock_getres" can not be found.

The solution is to delete the following lines:

include/time.h:343  libc_hidden_proto(clock_getres)
libc/sysdeps/linux/common/clock_getres.c:44  
libc_hidden_proto(clock_getres)

Alternatively, do not strip the shared library after building by removing
the -Wl,-s option to the CC command line.



====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-16-08 07:22  chrisz         New Issue                                    
10-16-08 07:22  chrisz         Status                   new => assigned     
10-16-08 07:22  chrisz         Assigned To               => uClibc          
10-16-08 07:44  bernhardf      Status                   assigned => closed  
======================================================================




More information about the uClibc-cvs mailing list