A static, none thread patch

H.J. Lu hjl@lucon.org
Fri Jul 30 07:35:00 GMT 1999


> 
> I have added the patch except for this:
> 

I'd like to see them in 2.1.2 branch. I cannot use 2.2 for ia64. I
need a known working, stable C library for ia64.


> > 	* elf/dl-load.c (_dl_init_paths): Set up rtld_search_dirs only
> > 	if necessary.
> 
> If there are no system dirs something is wrong.

As I said, I got it when I configured glibc as static only on ia32.
I got

----trusted-dirs.h---
#define SYSTEM_DIRS \
  ""

#define SYSTEM_DIRS_LEN \
  0

#define SYSTEM_DIRS_MAX_LEN     0
----

Maybe it is due to there is no run-time linker configured.

> 
> > 	Check SHARED instead of PIC.
> 
> I won't add this isolated patch.  And I'm still not convinced it's
> really necesary.
> 

I will see if it is needed for ia64 when everything is there.

Thanks.

H.J.


More information about the Libc-hacker mailing list