MozillaZine


build TestGtkEmbed, but cann't running.

Talk about Mozilla browsers for small devices such as PDAs and cellphones.
BurningRain2
 
Posts: 12
Joined: April 5th, 2005, 9:44 pm

Post Posted April 13th, 2005, 6:41 pm

I am porting minimo to frv-461(a new cpu), and get TestGtkEmbed file from a Cross-complie env(I can running gmplayer and some gtk app building from this Cross-complie env), but it cann't running, segment fault at starting place, i get strace log file as following, please give some idea for it. thx.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
289 execve("./TestGtkEmbed", ["./TestGtkEmbed"], [/* 21 vars */]) = 0
289 brk(0) = 0x2ce0000
289 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\352\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=943148, ...}) = 0
289 mmap2(0x2200000, 844880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x28000
289 mmap2(0xf0000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc4) = 0xf0000
289 close(3) = 0
289 open("/usr/X11R6/lib/libsmime3.so", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/etc/ld.so.cache", O_RDONLY) = 3
289 fstat64(3, {st_mode=S_IFREG|0644, st_size=14822, ...}) = 0
289 mmap2(NULL, 14822, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf8000
289 close(3) = 0
289 open("/lib/libsmime3.so", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0l@\0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=220506, ...}) = 0
289 mmap2(0x2200000, 195996, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfc000
289 mmap2(0x128000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x28) = 0x128000
289 close(3) = 0
289 open("/usr/X11R6/lib/libssl3.so", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libssl3.so", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0J\300"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=187496, ...}) = 0
289 mmap2(0x2200000, 177932, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x12c000
289 mmap2(0x154000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x24) = 0x154000
289 close(3) = 0
289 open("/usr/X11R6/lib/libnss3.so", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libnss3.so", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\336p"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=687549, ...}) = 0
289 mmap2(0x2200000, 594492, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x158000
289 mmap2(0x1e0000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x84) = 0x1e0000
289 close(3) = 0
289 open("/usr/X11R6/lib/libsoftokn3.so", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libsoftokn3.so", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0U \0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=764564, ...}) = 0
289 mmap2(0x2200000, 687816, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x1ec000
289 mmap2(0x28c000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9c) = 0x28c000
289 close(3) = 0
289 open("/usr/X11R6/lib/libXt.so.6", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\271`"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=454080, ...}) = 0
289 mmap2(0x2200000, 419664, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x294000
289 mmap2(0x2f4000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5c) = 0x2f4000
289 close(3) = 0
289 open("/usr/X11R6/lib/libmozjs.so", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libmozjs.so", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\374\200"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=595812, ...}) = 0
289 mmap2(0x2200000, 608452, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2fc000
289 mmap2(0x388000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x88) = 0x388000
289 close(3) = 0
289 open("/usr/X11R6/lib/libxpcom.so", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libxpcom.so", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\3\322P"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=910280, ...}) = 0
289 mmap2(0x2200000, 937744, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x394000
289 mmap2(0x468000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd0) = 0x468000
289 mmap2(0x478000, 3856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x478000
289 close(3) = 0
289 open("/usr/X11R6/lib/libplds4.so", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libplds4.so", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\16p\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=11024, ...}) = 0
289 mmap2(0x2200000, 25944, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x47c000
289 mmap2(0x480000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x480000
289 close(3) = 0
289 open("/usr/X11R6/lib/libplc4.so", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libplc4.so", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\22\20"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=17344, ...}) = 0
289 mmap2(0x2200000, 31908, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x484000
289 mmap2(0x488000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x488000
289 close(3) = 0
289 open("/usr/X11R6/lib/libnspr4.so", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libnspr4.so", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\262\300"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=239764, ...}) = 0
289 mmap2(0x2200000, 257860, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x48c000
289 mmap2(0x4c4000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x34) = 0x4c4000
289 close(3) = 0
289 open("/usr/X11R6/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libpthread.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0?\320"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=452266, ...}) = 0
289 mmap2(0x2200000, 355616, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4cc000
289 mmap2(0x4dc000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc) = 0x4dc000
289 mmap2(0x4e4000, 257312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4e4000
289 close(3) = 0
289 open("/usr/X11R6/lib/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libgtk-x11-2.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\4!`\0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=4049808, ...}) = 0
289 mmap2(0x2200000, 4070984, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x524000
289 mmap2(0x8f0000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3c8) = 0x8f0000
289 mmap2(0x904000, 7752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x904000
289 close(3) = 0
289 open("/usr/X11R6/lib/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libgdk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libgdk-x11-2.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\1\25p\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=1824383, ...}) = 0
289 mmap2(0x2200000, 584320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x908000
289 mmap2(0x990000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x84) = 0x990000
289 close(3) = 0
289 open("/usr/X11R6/lib/libXrandr.so.2", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\r\320"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=15947, ...}) = 0
289 mmap2(0x2200000, 27244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x998000
289 mmap2(0x99c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x99c000
289 close(3) = 0
289 open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0)0\0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=83384, ...}) = 0
289 mmap2(0x2200000, 86608, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x9a0000
289 mmap2(0x9b4000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10) = 0x9b4000
289 close(3) = 0
289 open("/usr/X11R6/lib/libatk-1.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libatk-1.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0`p\0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=405166, ...}) = 0
289 mmap2(0x2200000, 157440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x9b8000
289 mmap2(0x9dc000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20) = 0x9dc000
289 close(3) = 0
289 open("/usr/X11R6/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0002\240"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=346419, ...}) = 0
289 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x9e0000
289 mmap2(0x2200000, 145928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x9e4000
289 mmap2(0xa04000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1c) = 0xa04000
289 close(3) = 0
289 open("/usr/X11R6/lib/libpangoxft-1.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libpangoxft-1.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libpangoxft-1.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0%\20\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=128299, ...}) = 0
289 mmap2(0x2200000, 47560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xa08000
289 mmap2(0xa10000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4) = 0xa10000
289 close(3) = 0
289 open("/usr/X11R6/lib/libpangox-1.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libpangox-1.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libpangox-1.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0008P\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=167085, ...}) = 0
289 mmap2(0x2200000, 68912, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xa14000
289 mmap2(0xa24000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc) = 0xa24000
289 close(3) = 0
289 open("/usr/X11R6/lib/libXft.so.2", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0008\200"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=95487, ...}) = 0
289 mmap2(0x2200000, 97552, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xa28000
289 mmap2(0xa3c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10) = 0xa3c000
289 close(3) = 0
289 open("/usr/X11R6/lib/libexpat.so.1", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0%P\0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=142061, ...}) = 0
289 mmap2(0x2200000, 142436, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xa40000
289 mmap2(0xa60000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1c) = 0xa60000
289 close(3) = 0
289 open("/usr/X11R6/lib/libfreetype.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libfreetype.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\357`"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=1522312, ...}) = 0
289 mmap2(0x2200000, 536416, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xa64000
289 mmap2(0xadc000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x74) = 0xadc000
289 close(3) = 0
289 open("/usr/X11R6/lib/libXcursor.so.1", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0$\340"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=74659, ...}) = 0
289 mmap2(0x2200000, 60048, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xae8000
289 mmap2(0xaf4000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8) = 0xaf4000
289 close(3) = 0
289 open("/usr/X11R6/lib/libpangoft2-1.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libpangoft2-1.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libpangoft2-1.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0]P\0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=659721, ...}) = 0
289 mmap2(0x2200000, 206300, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xaf8000
289 mmap2(0xb28000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2c) = 0xb28000
289 close(3) = 0
289 open("/usr/X11R6/lib/libpango-1.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libpango-1.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libpango-1.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\2430"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=717778, ...}) = 0
289 mmap2(0x2200000, 309552, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb2c000
289 mmap2(0xb70000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x40) = 0xb70000
289 close(3) = 0
289 open("/usr/X11R6/lib/libfontconfig.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libfontconfig.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libfontconfig.so.1", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0|\320"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=503251, ...}) = 0
289 mmap2(0x2200000, 219312, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb78000
289 mmap2(0xba8000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2c) = 0xba8000
289 close(3) = 0
289 open("/usr/X11R6/lib/libXrender.so.1", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\24\300"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=41770, ...}) = 0
289 mmap2(0x2200000, 50848, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xbb0000
289 mmap2(0xbbc000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8) = 0xbbc000
289 close(3) = 0
289 open("/usr/X11R6/lib/libgobject-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libgobject-2.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0g0\0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=862383, ...}) = 0
289 mmap2(0x2200000, 346096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xbc0000
289 mmap2(0xc10000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4c) = 0xc10000
289 close(3) = 0
289 open("/usr/X11R6/lib/libgmodule-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libgmodule-2.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\17\240"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=33792, ...}) = 0
289 mmap2(0x2200000, 28440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xc18000
289 mmap2(0xc1c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xc1c000
289 close(3) = 0
289 open("/usr/X11R6/lib/libglib-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libglib-2.0.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\300p"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=1533946, ...}) = 0
289 mmap2(0x2200000, 692672, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xc20000
289 mmap2(0xcc4000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa0) = 0xcc4000
289 close(3) = 0
289 open("/usr/X11R6/lib/libSM.so.6", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0!\240"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=44540, ...}) = 0
289 mmap2(0x2200000, 53432, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xccc000
289 mmap2(0xcd8000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8) = 0xcd8000
289 close(3) = 0
289 open("/usr/X11R6/lib/libICE.so.6", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0002\260"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=112800, ...}) = 0
289 mmap2(0x2200000, 121996, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xcdc000
289 mmap2(0xcf4000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x14) = 0xcf4000
289 mmap2(0xcf8000, 7308, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xcf8000
289 close(3) = 0
289 open("/usr/X11R6/lib/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libstdc++.so.6", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\3\347\300"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=3722811, ...}) = 0
289 mmap2(0x2200000, 1079920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xcfc000
289 mmap2(0xde0000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe0) = 0xde0000
289 mmap2(0xe00000, 14960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xe00000
289 close(3) = 0
289 open("/usr/X11R6/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libgcc_s.so.1", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\"\360"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0644, st_size=322613, ...}) = 0
289 mmap2(0x2200000, 79124, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xe04000
289 mmap2(0xe14000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc) = 0xe14000
289 close(3) = 0
289 open("/usr/X11R6/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libc.so.6", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\1rP\0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=8937878, ...}) = 0
289 mmap2(0x2200000, 1345524, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xe18000
289 mmap2(0xf54000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x138) = 0xf54000
289 mmap2(0xf60000, 2036, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf60000
289 close(3) = 0
289 open("/usr/X11R6/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libdl.so.2", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0\"\340"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=58114, ...}) = 0
289 mmap2(0x2200000, 26424, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xf64000
289 mmap2(0xf68000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xf68000
289 close(3) = 0
289 open("/usr/X11R6/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libm.so.6", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0:\240"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=1589763, ...}) = 0
289 mmap2(0x2200000, 966948, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xf6c000
289 mmap2(0x1054000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe4) = 0x1054000
289 close(3) = 0
289 open("/usr/X11R6/lib/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/lib/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
289 open("/usr/lib/libexpat.so.0", O_RDONLY) = 3
289 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3TA\0\0\0\1\0\0,\0\0"..., 512) = 512
289 fstat64(3, {st_mode=S_IFREG|0755, st_size=309223, ...}) = 0
289 mmap2(0x2200000, 161864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x105c000
289 mmap2(0x1080000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20) = 0x1080000
289 close(3) = 0
289 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x1084000
289 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x1088000
289 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x108c000
289 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x1090000
289 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x1094000
289 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x1098000
289 mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x109c000
289 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x10a4000
289 mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x10a8000
289 munmap(0xf8000, 14822) = 0
289 getpid() = 289
289 uname({sys="Linux", node="192.168.10.194", ...}) = 0
289 rt_sigaction(SIGRTMIN, {0x4e09e0, [], 0}, NULL, 8) = 0
289 rt_sigaction(SIGRT_1, {0x4e0a90, [], 0}, NULL, 8) = 0
289 rt_sigaction(SIGRT_2, {0x4e0a78, [], 0}, NULL, 8) = 0
289 rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
289 rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0
289 _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x21ff7b0, 32, (nil), 0}) = 0
289 brk(0) = 0x2ce0000
289 brk(0x2d04000) = 0x2d04000
289 brk(0) = 0x2d04000
289 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
289 +++ killed by SIGSEGV +++
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


another problem, after build TestGtkEmbed, enter mozilla/embedding/minimo/ to make minimo, give me following error:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dist/lib/libgtkembedmoz.a(EmbedComponents.o)(.text.nsCookieModule_NSGetmodule+0x0): In function `nsCookieModule_NSGetmodule':
: undefined reference to `nsCookieModule_gModuleInfo'
../../../dist/lib/libgtkembedmoz.a(EmbedComponents.o)(.text.nsCookieModule_NSGetmodule+0x8): In function `nsCookieModule_NSGetmodule':
: undefined reference to `nsCookieModule_gModuleInfo'
collect2: ld returned 1 exit status
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

help me !! Thanks a lot

dougt

User avatar
 
Posts: 117
Joined: November 30th, 2004, 1:31 am
Location: San Jose, CA

Post Posted April 15th, 2005, 8:20 am

problem a:

Try running a smaller test cases. Does the expat test cases work? Can you build a simply application that starts up expat.

problem b:

It looks like you didn't build the cookie component. what does your mozconfig file look like?

Regards,
Doug

BurningRain2
 
Posts: 12
Joined: April 5th, 2005, 9:44 pm

Post Posted April 18th, 2005, 2:20 am

Problem a:
I am sorry, I am newbie to the minimo, expat and other browsers, I cann't find any expat test problem in mozilla source, what should i do?


Problem b:
My mozconfig file is as following:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# build minimo
MINIMO=1
mk_add_options MINIMO=1

# cross compile for frv-linux
PATH=/opt/toolchain/bin:/opt/toolchain/frv-linux-gnu/local/bin:/opt/toolchain/frv-linux/local/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
CROSS_COMPILE=1
LIBIDL_CONFIG=/opt/toolchain/frv-linux-gnu/local/bin/libIDL-config-2
HOST_LIBIDL_CONFIG=/usr/bin/libIDL-config-2

mk_add_options MOZ_OBJDIR=/opt/toolchain/src/minimo-xd-build
ac_add_options --target=frv-linux-gnu
ac_add_options --x-includes=/opt/toolchain/frv-linux-gnu/local/X11R6/include
ac_add_options --x-libraries=/opt/toolchain/frv-linux-gnu/local/X11R6/lib

# use GTK+-2 widget set with XFT font rendering
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --disable-freetype2

# disable XUL support to reduce codesize
ac_add_options --disable-xul

# enable minimal profile support
ac_add_options --disable-profilesharing
ac_add_options --disable-profilelocking
ac_add_options --enable-single-profile

# disable features and skip various build steps
ac_add_options --disable-accessibility
ac_add_options --disable-composer
ac_add_options --enable-plaintext-editor-only
ac_add_options --disable-mailnews
ac_add_options --disable-ldap
ac_add_options --disable-postscript
ac_add_options --disable-mathml
ac_add_options --disable-jsd
ac_add_options --disable-jsloader
ac_add_options --disable-installer
ac_add_options --disable-xpinstall
ac_add_options --disable-xpfe-components
ac_add_options --disable-xprint
ac_add_options --disable-necko-disk-cache

# configure necko to allocate smaller network buffers
ac_add_options --enable-necko-small-buffers

# disable debug logging and tests
ac_add_options --disable-dtd-debug
ac_add_options --disable-logging
ac_add_options --disable-tests

# build crypto module (PSM + NSS)
ac_add_options --enable-crypto

# build minimal set of protocol handlers
ac_add_options --enable-necko-protocols=http,file,res,jar

# build minimal set of image decoders
ac_add_options --enable-image-decoders=png,gif,jpeg

# code generation options (optimize for size)
ac_add_options --enable-optimize=-Os
ac_add_options --enable-strip
ac_add_options --disable-debug
ac_add_options --enable-reorder
ac_add_options --enable-elf-dynstr-gc

# enable static build
ac_add_options --disable-shared
ac_add_options --enable-static

# remove link dependency on libstdc++.so
LIBS=-lsupc++
CXX=frv-linux-gnu-g++
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Return to Mobile


Who is online

Users browsing this forum: No registered users and 1 guest