BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000387 [uClibc] Shared Library Support major always 08-14-05 09:08 08-15-05 01:31
Reporter hassold View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version 0.9.27
Summary 0000387: missing _dl_progname symbol when using libdl from static executables
Description Patch 11124-11126 (Removed hardcoded ld-uClibc.so.0 in uClibc) in svn tree breaks libdl usage from static executable, since symbol _dl_progname is now defined in ldso.c, which is not available from static executables.
Additional Information A "fake" (empty) _dl_progname symbol must be defined in libdl.c when compiling static libdl (i.e. when __LIBDL_SHARED__ macro is not defined), together with _dl_library_path, _dl_ldsopath, _dl_errno, etc...). That is, add:
  const char *_dl_progname = ""; /* Program name */
just before
  char *_dl_library_path = 0; /* Where we look for libraries */

(patch attached)
Attached Files  dl-progname.patch [^] (596 bytes) 08-14-05 09:08

- Relationships

- Notes
(0000418)
jocke
08-15-05 01:31

Fixed in SVN. Thanks
 

- Issue History
Date Modified Username Field Change
08-14-05 09:08 hassold New Issue
08-14-05 09:08 hassold Status new => assigned
08-14-05 09:08 hassold Assigned To  => uClibc
08-14-05 09:08 hassold File Added: dl-progname.patch
08-15-05 01:31 jocke Status assigned => closed
08-15-05 01:31 jocke Note Added: 0000418
08-15-05 01:31 jocke Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker