hi, all those days, i am porting firefox os to a new device, which cpu is smdk5410. i clone the latest source code, and the board bring up to ramdisk correctly, but in init script executing, mosts of process(include b2g) did't up.
the compiler version is 4.6 i execute b2g and servicemanager mannually, but it did't work. any idea? here are the output: ./b2g.sh: link_image[1936]: 10586 could not load needed library 'libui.so' for '/system/b2g/b2g' (link_image[1936]: 10586 could not load needed library 'libpixelflinger.so' for 'libui.so' (reloc_library[1285]: 10586 cannot locate '__sprintf_chk'... ))CANNOT LINK EXECUTABLE strace servicemanager: execve("/system/bin/servicemanager", ["servicemanager"], [/* 24 vars */]) = 0 syscall_983045(0xb0013188, 0xb00149d4, 0xffffffc8, 0, 0, 0xb0009c10, 0xbe808aa0, 0xf0005, 0xb0013188, 0, 0, 0, 0, 0xbe808a50, 0xb0001ecf, 0xb000358c, 0x10, 0xb0013188, 0xb691, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0 getpid() = 9742 getuid32() = 0 geteuid32() = 0 getgid32() = 1007 getegid32() = 1007 sigaction(SIGILL, {0xb000323d, [], SA_RESTART|SA_SIGINFO}, NULL, 0x1f4f018) = 0 sigaction(SIGABRT, {0xb000323d, [], SA_RESTART|SA_SIGINFO}, NULL, 0x1f4f018) = 0 sigaction(SIGBUS, {0xb000323d, [], SA_RESTART|SA_SIGINFO}, NULL, 0x1f4f018) = 0 sigaction(SIGFPE, {0xb000323d, [], SA_RESTART|SA_SIGINFO}, NULL, 0x1f4f018) = 0 sigaction(SIGSEGV, {0xb000323d, [], SA_RESTART|SA_SIGINFO}, NULL, 0x1f4f018) = 0 sigaction(SIGSTKFLT, {0xb000323d, [], SA_RESTART|SA_SIGINFO}, NULL, 0x1f4f018) = 0 sigaction(SIGPIPE, {0xb000323d, [], SA_RESTART|SA_SIGINFO}, NULL, 0x1f4f018) = 0 --- SIGSEGV (Segmentation fault) @ 0 (2ea0) --- open("/dev/log/main", O_WRONLY|O_LARGEFILE) = 3 writev(3, [{"\7", 1}, {"libc\0", 5}, {"Fatal signal 11 (SIGSEGV) at 0x0"..., 49}], 3) = 55 SYS_224(0x37, 0xbe8085d8, 0x3, 0x38) = 9742 socket(PF_UNIX, SOCK_STREAM, 0) = 4 connect(4, {sa_family=AF_UNIX, path=@android:debuggerd}, 20) = 0 write(4, "\16&\0\0", 4) = 4 read(4, 0xbe808610, 1) = ? ERESTARTSYS (To be restarted) --- SIGCONT (Continue) @ 0 (0) --- read(4, "\16", 1) = 1 close(4) = 0 sigaction(SIGSEGV, {SIG_DFL}, {0xb000323d, [], SA_RESTART|SA_SIGINFO}, 0) = 0 rt_sigreturn(0) = 1879048193 --- SIGSEGV (Segmentation fault) @ 0 (2ea0) --- +++ killed by SIGSEGV +++ ps: root 1 0 372 240 c01285fc 0000db94 S /init root 2 0 0 0 c005dc14 00000000 S kthreadd root 3 2 0 0 c003f54c 00000000 S ksoftirqd/0 root 4 2 0 0 c0057164 00000000 S kworker/0:0 root 5 2 0 0 c0057164 00000000 S kworker/u:0 root 6 2 0 0 c009fe20 00000000 S migration/0 root 7 2 0 0 c00a0f24 00000000 S watchdog/0 root 8 2 0 0 c009fe20 00000000 S migration/1 root 9 2 0 0 c0057164 00000000 S kworker/1:0 root 10 2 0 0 c003f54c 00000000 S ksoftirqd/1 root 11 2 0 0 c00a0f24 00000000 S watchdog/1 root 16 2 0 0 c009fe20 00000000 S migration/3 root 18 2 0 0 c003f54c 00000000 S ksoftirqd/3 root 19 2 0 0 c00a0f24 00000000 S watchdog/3 root 20 2 0 0 c0056ef4 00000000 S khelper root 21 2 0 0 c02df1c4 00000000 S kdevtmpfs root 22 2 0 0 c0057164 00000000 S kworker/u:1 root 24 2 0 0 c0056ef4 00000000 S early_suspend root 396 2 0 0 c00f5d4c 00000000 S sync_supers root 398 2 0 0 c00f6798 00000000 S bdi-default root 400 2 0 0 c0056ef4 00000000 S kblockd root 419 2 0 0 c005dd90 00000000 S spi1 root 422 2 0 0 c005dd90 00000000 S spi0 root 429 2 0 0 c03829dc 00000000 S khubd root 439 2 0 0 c00a241c 00000000 S irq/522-max7766 root 473 2 0 0 c00a241c 00000000 S irq/512-max7780 root 554 2 0 0 c0056ef4 00000000 S cfg80211 root 593 2 0 0 c00203e4 00000000 S kswitcher_0 root 594 2 0 0 c00203e4 00000000 S kswitcher_1 root 597 2 0 0 c00203e4 00000000 S kswitcher_2 root 598 2 0 0 c00203e4 00000000 S kswitcher_3 root 602 2 0 0 c00a0be8 00000000 S khungtaskd root 608 2 0 0 c00eb584 00000000 S kswapd0 root 655 2 0 0 c0157374 00000000 S fsnotify_mark root 667 2 0 0 c0056ef4 00000000 S cifsiod root 674 2 0 0 c0056ef4 00000000 S crypto root 692 2 0 0 c005dd90 00000000 S s3c-fb root 693 2 0 0 c027a3c8 00000000 S s3c-fb-vsync root 694 2 0 0 c027d17c 00000000 S psr_trigger root 784 2 0 0 c0056ef4 00000000 S pvr_timer root 930 2 0 0 c00a241c 00000000 S irq/543-arizona root 939 2 0 0 c00a241c 00000000 S irq/520-mx-hub- root 956 2 0 0 c0056ef4 00000000 S drd_switch root 957 2 0 0 c00a241c 00000000 S irq/531-drd_swi root 958 2 0 0 c00a241c 00000000 S irq/531-drd_swi root 987 2 0 0 c0056ef4 00000000 S f_mtp root 992 2 0 0 c03b7e74 00000000 S file-storage root 1008 2 0 0 c00a241c 00000000 S irq/515-gp2ap03 root 1012 2 0 0 c0056ef4 00000000 S gp2ap_handler root 1019 2 0 0 c0056ef4 00000000 S touch_booster root 1023 2 0 0 c0056ef4 00000000 S rmi_det_workque root 1024 2 0 0 c00a241c 00000000 S irq/513-synapti root 1025 2 0 0 c00a241c 00000000 S irq/518-RMI VBU root 1050 2 0 0 c0056ef4 00000000 S ms2r_wq root 1059 2 0 0 c0056ef4 00000000 S gsc0_irq_wq_nam root 1063 2 0 0 c0056ef4 00000000 S gsc1_irq_wq_nam root 1067 2 0 0 c0056ef4 00000000 S gsc2_irq_wq_nam root 1071 2 0 0 c0056ef4 00000000 S gsc3_irq_wq_nam root 1096 2 0 0 c0056ef4 00000000 S kfimg2dd root 1099 2 0 0 c00a241c 00000000 S irq/128-s5p-mfc root 1102 2 0 0 c0056ef4 00000000 S s5p_mfc/watchdo root 1103 2 0 0 c0056ef4 00000000 S s5p_mfc/sched root 1108 2 0 0 c0056ef4 00000000 S khdcpd root 1111 2 0 0 c0056ef4 00000000 S hdmi-mixer root 1129 2 0 0 c0049604 00000000 S s3c_wdt/daemon root 1136 2 0 0 c047b160 00000000 S cfinteractive root 1138 2 0 0 c0056ef4 00000000 S dw-mci-card root 1140 2 0 0 c0056ef4 00000000 S dw-mci-card root 1210 2 0 0 c0056ef4 00000000 S binder root 1228 2 0 0 c049358c 00000000 S mmcqd/0 root 1229 2 0 0 c0056ef4 00000000 S fwu_workqueue root 1230 2 0 0 c0056ef4 00000000 S f54_status_work root 1245 2 0 0 c0057164 00000000 S kworker/0:3 root 1273 2 0 0 c068f0b8 00000000 S krfcommd root 1283 2 0 0 c0057164 00000000 S kworker/3:2 root 1285 2 0 0 c00a241c 00000000 S irq/516-CP_RESE root 1286 2 0 0 c0057164 00000000 S kworker/3:3 root 1288 2 0 0 c0056ef4 00000000 S modem_rx_wq root 1289 2 0 0 c00a241c 00000000 S irq/524-modem_h root 1290 2 0 0 c0056ef4 00000000 S linkpmd root 1307 2 0 0 c00d8b80 00000000 S suspendtest/dae root 1308 2 0 0 c0056ef4 00000000 S vsync_workqueue root 1309 2 0 0 c0056ef4 00000000 S deferwq root 1322 2 0 0 c0064cb0 00000000 S dhd_cfg80211_ev root 1328 2 0 0 c0064cb0 00000000 S dhd_watchdog root 1329 2 0 0 c0064cb0 00000000 S dhd_dpc root 1330 2 0 0 c0064cb0 00000000 S dhd_rxf root 1331 2 0 0 c0064cb0 00000000 S dhd_sysioc root 1337 2 0 0 c0056ef4 00000000 S keys_booster root 1342 2 0 0 c0056ef4 00000000 S battery_work root 1344 2 0 0 c00a241c 00000000 S irq/530-fuelgau root 1346 2 0 0 c0056ef4 00000000 S max77665_chgin_ root 1353 2 0 0 c0057164 00000000 S kworker/1:2 root 1355 2 0 0 c00a241c 00000000 S irq/518-CHARGER root 1360 2 0 0 c0056ef4 00000000 S devfreq_wq root 1370 1 316 184 c01285fc 0000db94 S /sbin/ueventd root 2077 2 0 0 c01c94f4 00000000 S jbd2/mmcblk0p1- root 2078 2 0 0 c0056ef4 00000000 S ext4-dio-unwrit root 2080 2 0 0 c01c94f4 00000000 S jbd2/mmcblk0p2- root 2081 2 0 0 c0056ef4 00000000 S ext4-dio-unwrit root 2083 2 0 0 c01c94f4 00000000 S jbd2/mmcblk0p3- root 2084 2 0 0 c0056ef4 00000000 S ext4-dio-unwrit root 2086 1 772 424 c0012958 b6ec7e74 S /system/bin/sh root 2091 1 3312 640 ffffffff b6f2d690 S /system/bin/fakeperm radio 2093 1 824 320 c01285fc b6ea6438 S /system/bin/rilproxy root 2159 2 0 0 c0140318 00000000 S flush-179:0 root 5484 2 0 0 c0057164 00000000 S kworker/0:1 root 8446 2 0 0 c0057164 00000000 S kworker/u:2 root 9020 2 0 0 c0057164 00000000 S kworker/0:2 root 9482 2 0 0 c009fe20 00000000 S migration/2 root 9487 2 0 0 c0057164 00000000 S kworker/2:0 root 9488 2 0 0 c003f54c 00000000 S ksoftirqd/2 root 9494 2 0 0 c00a0f24 00000000 S watchdog/2 root 9516 2 0 0 c0057164 00000000 S kworker/2:1 root 10884 1 692 272 c05232b8 b6ee9f98 S /system/bin/debuggerd root 10886 1 7416 924 ffffffff b6f51c94 S /system/bin/netd _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g