|
Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
|
0005444 |
[uClibc] Shared Library Support |
minor |
always |
10-16-08 07:22 |
10-16-08 07:44 |
|
|
Reporter |
chrisz |
View Status |
public |
|
|
Assigned To |
uClibc |
|
Priority |
normal |
Resolution |
fixed |
|
|
Status |
closed |
|
Product Version |
0.9.30 |
|
|
Summary |
0005444: 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.
|
|
Additional Information |
This was noticed with gcc-4.3.2 and GNU binutils 2.18.0, natively compiled on uClibc x86_64, however the issue is believed to be independent of architecture.
|
|
|
Attached Files |
|
|
|