Other Maemo tips

If you try to run scratchbox for Maemo compilation on your 64-bit amd64 system, it will fail with:

Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed! Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed! Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed! Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!

As per Maemo scratchbox install text file, this is because:

64 bit Linux kernels starting from version 2.6.25 enable VDSO by default and do not offer a /proc filesystem option to turn it off. Notably Debian Lenny and Fedora9 are using such kernels. However, a kernel boot parameter has been verified to work on a 64 bit system. If you run into this problem, please add 'vdso32=0' to your kernel boot parameters.

To overcome this add vdso32=0 to the kernel line boot parameters.

Scratchbox will run now.


.