Starting scratchbox gives the following error in hardy:
Welcome to Scratchbox, the cross-compilation toolkit!
Use 'sb-menu' to change your compilation target.
See /scratchbox/doc/ for documentation.
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!
Use 'sb-menu' to change your compilation target.
See /scratchbox/doc/ for documentation.
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!
The work around for this that worked for me is as follows :
Execute the following commands:
# sudo sh -c 'echo 0 > /proc/sys/vm/vdso_enabled'
# sudo sh -c 'echo 4096 > /proc/sys/vm/mmap_min_addr'
The explanation i gathered is that the first echo enables video support. The virtual memory "mmapped" page size is set to 64K.Therfore compiling inside scratchbox won't work. Hence the second echo.
If any1 has more insight about the same (other method / reason ) , feel free to enlighten me about the same :).
No comments:
Post a Comment