安装了scratchbox,在login时发现下列问题:
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!
原因如下:
This is related to the kernel you are running that require a feature not available in the glibc version
workaround:
- recompile your kernel using COMPAT_VDSO=y (in Processor type and features, Compat VDSO support)
- pass an option to the kernel on boot (add vdso=0 to the grub or lilo kernel line)
- disable compat vdso directly with echo 0 > /proc/sys/vm/vdso_enabled
 
按第三种办法解决:
sudo -i
echo 0 > /proc/sys/vm/vdso_enabled
再来启动/scratchbox/login,OK。
 
第三种办法在每次重启动机器后会失效,若想永久保留此变量的值,需要修改配置文件。
 
 You can set all of these permanently by adding the following lines   to /etc/sysctl.conf      vm.vdso_enabled = 0   vm.mmap_min_addr = 4096   net.ipv4.ip_local_port_range = 1024 65535   and running 'sysctl -p' as root.      WARNING: You should try setting these values by echoing them to the   given locations before adding them to sysctl.conf to see if they   cause any problems. For example, in some Ubuntu Gutsy installations,   it has been observed that changing the vdso settings will hang the system   and thus making permanent changes in sysctl.conf may, in these cases,   make your system unbootable.
 
转自:http://blog.csdn.net/happyashley/archive/2008/07/31/2743487.aspx
 
也还可以参考官方文档: Documentation/Maemo 5 Final SDK Installation中的Limitations of Scratchbox部分
http://wiki.maemo.org/Documentation/Maemo5_Final_Installation#Limitations_of_Scratchbox
posted on 2009-10-31 11:02  MrL  阅读(659)  评论(0编辑  收藏  举报