hi extremely sorry , I have '_dl_get_ready_to_run' in ldso.c file.




Regards,
Mahanteshwari Hiremath.

________________________________________
From: Mahanteshwari Hiremath
Sent: Monday, October 24, 2011 12:53 PM
To: WANG.Jiong
Cc: Rob Landley; [email protected]
Subject: RE: init: cannot load libc.so.0, kernel panic:trying to kill init

yes it is set to ' y'
 "UCLIBC_HAS_TLS=y"

and moreover in my lsdo.c file I don't have '_dl_get_ready_to_run' but i can 
see ' _dl_load_shared_library'. should '_dl_get_ready_to_run'  must be present 
in the file? as i can't find it in my ldso.c, do you think it is mentioned by 
any other name?
sorry for asking too many doubts, as I am new to this, and want to know more 
and get everything solved & working.



Regards,
Mahanteshwari Hiremath.

________________________________________
From: WANG.Jiong [[email protected]]
Sent: Monday, October 24, 2011 12:38 PM
To: Mahanteshwari Hiremath
Cc: Rob Landley; [email protected]
Subject: Re: init: cannot load libc.so.0, kernel panic:trying to kill init

do you have "UCLIBC_HAS_TLS=y" in your uClibc .config ?

On 10/24/2011 02:54 PM, Mahanteshwari Hiremath wrote:
> Yes i'll try to put trace and findout as you instructed,
> before that let me tell you the output of current ./hello file
>> ./i586-linux-gcc -o hello test.c
>> ./hello
>>
> ./hello: '/lib/libc.so.0' library contains unsupported TLS
> ./hello: '/lib/libc.so.0' library contains unsupported TLS
> ./hello: can't load library 'libc.so.0'
>
>
>
>
> Regards,
> Mahanteshwari Hiremath.
>
> ________________________________________
> From: WANG.Jiong [[email protected]]
> Sent: Monday, October 24, 2011 12:02 PM
> To: Mahanteshwari Hiremath
> Cc: Rob Landley; [email protected]
> Subject: Re: init: cannot load libc.so.0, kernel panic:trying to kill init
>
> no problem with the dynamic linker's path & name.
>
> The error
>
>  >/sbin/init:can't load libc.so.0
>
> should be reported from _dl_get_ready_to_run in ldso/ldso.c (search the
> error message), and I guess it failed because _dl_load_shared_library
> returns a NULL when load libc.so.0
>
> suggest you to add some trace code using _dl_dprintf in related place
> and check what happen exactly.
>
> (there is a makelog.XXX file in your buildroot directory, you can find
> those commands to rebuild your uClibc only)
>
> ---
> WANG.Jiong
>
>
>
> Larsen & Toubro Limited
>
> www.larsentoubro.com
>
> This Email may contain confidential or privileged information for the 
> intended recipient (s) If you are not the intended recipient, please do not 
> use or disseminate the information, notify the sender and delete it from your 
> system.



Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to