Re: Building a uclibc based toolchain

2011-10-27 Thread WANG.Jiong
On 10/27/2011 04:27 PM, stl wrote: > > Ok. These function seems to be declared but not defined. > Why are these functions used? they are used for exception handling. > In my uclibc port, I have a crt0.c startup file which contains > '_start' entry symbol. > It was working fine with my port

Re: init: cannot load libc.so.0, kernel panic:trying to kill init

2011-10-24 Thread WANG.Jiong
t 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 H

Re: init: cannot load libc.so.0, kernel panic:trying to kill init

2011-10-24 Thread WANG.Jiong
t.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 Hirema

Re: init: cannot load libc.so.0, kernel panic:trying to kill init

2011-10-23 Thread WANG.Jiong
t 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 On 10/24/2011 02:01 PM, Mahanteshwari Hiremath wrote: > Ok, >

Re: init: cannot load libc.so.0, kernel panic:trying to kill init

2011-10-23 Thread WANG.Jiong
_libc_write >265: 08048c24 8 FUNCGLOBAL HIDDEN2 __GI_getuid >266: 08048fb0 149 FUNCGLOBAL HIDDEN2 __stdio_trans2w_o >267: 080491d8 116 FUNCGLOBAL HIDDEN2 __GI_raise >268: 0804a078 0 NOTYPE GLOBAL DEFAULT 12 __data_start >269:

Re: init: cannot load libc.so.0, kernel panic:trying to kill init

2011-10-23 Thread WANG.Jiong
your toolchain --- Regards, WANG.Jiong On 10/24/2011 12:45 PM, Mahanteshwari Hiremath wrote: > Hi Rob, > the generated binaries are successfully running on my linux > desktop machine, as Mr.Wang Jiong said to use '-static' accordingly every > uclibc commands are

Re: init: cannot load libc.so.0, kernel panic:trying to kill init

2011-10-21 Thread WANG.Jiong
ic version works OK. if it crashes with the same error as you reported, you can add some trace code at _dl_get_ready_to_run in ldso/ldso.c to see what happen --- Regards, WANG.Jiong On 10/21/2011 02:12 PM, Mahanteshwari Hiremath wrote: > Hi, > I have built kernel , root

Re: Cross-compiling C++ for the ICnova AP7000 base (AVR32) - unresolved references

2011-07-27 Thread WANG.Jiong
It seems your uClibc has not enabled the following feature UCLIBC_HAS_WCHAR UCLIBC_HAS_LOCALE UCLIBC_HAS_XLOCALE suggest you to check your libc with avr32-linux-nm to see if these function's avaiable if not, then check uClibc config file to make sure those feature macro has been set On 07/28/20

Re: Backtrace not working with 0.9.32-rc3

2011-03-31 Thread WANG.Jiong
I suggest you do backtrace by yourself and see what happen info register + disassemble to calculate the return address by yourself If you can get the corrent return address by yourself, then there maybe something wrong when gdb analyze the stack On 03/31/2011 04:26 PM, Chris Loopenberg wrot

Re: about .data.rel.ro

2011-01-20 Thread WANG.Jiong
Hi Khem: Thanks for your reply. It seems .31 has a different way to enable it compared with .27 I have found the place, and have enabled it for my porting target. :-) Regards, KwongYuan On 01/21/2011 06:03 AM, Khem Raj wrote: On Tue, Jan 18, 2011 at 6:51 AM, Wang Jiong wrote: De