Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chroot to evbarmv7-el disk on pinebook



When preparing a disk for evbarmv7-el system on a Pinebook (aarch64),
I frequently chroot and run commands from there. It works but I see
lots of warnings:

# mount /dev/ld0a /mnt
# chroot /mnt /bin/ksh
/etc/ld.so.conf: invalid/unknown sysctl for libc.so.12 (22)
/etc/ld.so.conf: invalid/unknown sysctl for libc.so.12 (22)
# cat /etc/ld.so.conf
/etc/ld.so.conf: invalid/unknown sysctl for libc.so.12 (22)
libc.so.12	machdep.fpu_present	1:libc_vfp.s0.0,libc.so.12

It's a valid warning because machdep.fpu_present doesn't exist on
aarch64 but if we support running evbarmv7-el (do we?) on aarch64,
perhaps we could add a dummy machdep.fpu_present=1 and hush the
warnings?

-- 
Alex


Home | Main Index | Thread Index | Old Index