Reply
Thread Tools
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#21
Sorry I posted bad makefile. Can you give me comment now please?

Last edited by Figa; 2010-09-06 at 21:54.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#22
Ok, so -O3 & -DGP2X_BUILD aren't the problem. Try the other two, especially vfp if (your INCLUDE/LIBS look a bit suspicious) you are compiling outside scratchbox.
 

The Following User Says Thank You to lma For This Useful Post:
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#23
Thanks, nothing helps. I try gebug core, but when I exec this comand cpu is working, but I canīt see any dir like coredir in core-dumps
Nokia-NXX-31-10:/home/user # rich-core-extract /home/use/MyDocs/core-dumps/gdb_example2-7829-11-1581.rcore.lzo coredir any idea? I installed debug symbols for libc and here is result:
Code:
Program receiced signal SIGILL, Illegal instruction.
0x41002a5c in dl_main () from /lib/ld-linux.so.3
0x41002a5c <dl_main+2136>;:    bne   0x410029b8 <dl_main+1972>
(gdb) bt
#0 0x41002a5c id dl_main () from /lib/ld-linux.so.3
#1 0x40018f30 in SDL_iconv_string() from /usr/lib/libSDL-1.2.so.0
#2 0x40046f9c in ?? () from /usr/lib/libSDL-1.2.so.0
#3 0x40046f9c in ?? () from /usr/lib/libSDL-1.2.so.0
and this:
Code:
365	in ../main.c
(gdb) n

Program received signal SIGILL, Illegal instruction.
0x41002a5c in dl_main () from /lib/ld-linux.so.3
0x41002a5c <dl_main+2136>:	bne	0x410029b8 <dl_main+1972>
(gdb) bt
#0  0x41002a5c in dl_main () from /lib/ld-linux.so.3
#1  0x40018f30 in SDL_iconv_string (tocode=0xbef38c62 "", 
    fromcode=0x3 <Address 0x3 out of bounds>, 
    inbuf=0x2f <Address 0x2f out of bounds>, inbytesleft=0)
    at ../../src/stdlib/SDL_iconv.c:824
#2  0x40046f9c in X11_SetCaptionNoLock (this=0x40058f84, 
    title=0x5c9878 "gpSP: 0.0ms 9003566411160715858597450622732103438288037522974083117273892862791949918142464.0fps", 
    icon=0x5ce3d0 "gpSP")
    at ../../src/video/x11/SDL_x11wm.c:260
#3  0x400471ec in X11_SetCaption (this=0x5b3c60, 
    title=0x5c9878 "gpSP: 0.0ms 90035664111607158585974506227321034382880375229740831
17273892862791949918142464.0fps",

Last edited by Figa; 2010-09-06 at 22:19.
 
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#24
Ok bad sprintf. Now I is everything ok.

Last edited by Figa; 2010-09-06 at 23:20.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:27.