Le 05/06/2018 à 07:27, Richard Henderson a écrit : > On 06/03/2018 06:04 PM, Laurent Vivier wrote: >> On 01/06/2018 00:49, Richard Henderson wrote: >>> If the interp_prefix is a complete chroot, it may have a *lot* of files. >>> Setting up the cache for this is quite expensive. >>> >>> For the most part, we can use the *at versions of various syscalls to >>> attempt the operation in the prefix. For the few cases that remain, >>> attempt the operation in the prefix via concatenation and then retry >>> if that fails. >>> >> >> I like the idea, but it breaks real chroot. >> >> You can test it with: >> >> wget >> https://github.com/vivier/linux-user-test-scrips/raw/master/create_chroot.sh >> >> then >> >> sudo sh ./create_chroot.sh /path/to/static/qemu-s390x stretch > > *shrug* Works for me, at least as far as I can test. > > Your script doesn't work outside debian, lacking debootstrap. > At the moment, I can't build on debian *at all*. Some bit of the build > infrastructure is off and QEMU_FULL_VERSION gets incorrectly defined. I have > no idea how or why it is different than Fedora.
I had this problem on Fedora building in a separate directory, "make distclean" at the top source directory fixed the problem for me. Thanks, Laurent