ERROR: Logfile of failure stored in: /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/qemu-0.14.0-r2/temp/log.do_configure.8264 Log data follows: | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-32', 'ix86-common', 'x86_64-linux-gnux32', 'common'] | big/little test failed | | Error: zlib check failed | Make sure to have the zlib libs and headers installed. | | ERROR: Function 'do_configure' failed (see /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/qemu-0.14.0-r2/temp/log.do_configure.8264 for further information)
I'm not sure it makes sense to compile qemu for x32? In our normal use cases we don't use qemu on target (and I'm not sure the target recipe even works for other architectures).
(In reply to comment #0) > ERROR: Logfile of failure stored in: > /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/qemu-0.14.0-r2/temp/log.do_configure.8264 > Log data follows: > | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-32', > 'ix86-common', 'x86_64-linux-gnux32', 'common'] > | big/little test failed > | > | Error: zlib check failed > | Make sure to have the zlib libs and headers installed. > | > | ERROR: Function 'do_configure' failed (see > /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/qemu-0.14.0-r2/temp/log.do_configure.8264 > for further information) What is wrong with zlib build? I can build x32 zlib without any changes. I just pass CC="gcc -mx32" and configure it as x86-64-linux: + CFLAGS='-O2 -g -mx32' + ./configure --libdir=/usr/libx32 --includedir=/usr/include --prefix=/usr Checking for gcc... Checking for shared library support... Building shared library libz.so.1.2.5 with gcc. Checking for off64_t... Yes. Checking for fseeko... Yes. Checking for unistd.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). Checking for vsnprintf() in stdio.h... Yes. Checking for return value of vsnprintf()... Yes. Checking for attribute(visibility) support... Yes. + make -j8 ...
zlib recipe is building fine under x32, I think the qemu issue is a line before in the error log: "big/little test failed"
Isn't qemu a native application to run x32 image? I don't think we need x32 qemu binary unless we have an x32 host machine.
This will not be fixed, as of now the target qemu binary is not needed for x32.