On 12/15/19 5:48 PM, Geert Uytterhoeven wrote:
With Ubuntu's libc6-m68k-cross installed, the selftest binaries cross-build fine. Running them on a very old Debian requires some hackery: 1. Copy ld.so.1, ld-2.27.so, libc.so.6, and libc-2.27.so from /usr/m68k-linux-gnu/lib/ to /tmp/lib on the m68k target, 2. mkdir /tmp/proc && mount proc /tmp/proc -t proc, 3. chroot /tmp /tmp/<test-binary>.
Why not use a recent environment?
https://wiki.debian.org/M68k/QemuSystemM68k
Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@xxxxxxxxxx `. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913