On 2016年10月13日 22:59, Burton, Ross
wrote:
The real scenario is for x86-64 kernel with x86 rootfs. We created a
template to enable gcc sanitize support. It just simple adds
sanitize related packages to image:
LIBX_DEV ?=
""
LIBX_DEV_x86-64 = "liblsan-dev libtsan-dev"
IMAGE_INSTALL += " \
gcc-sanitizers \
libasan-dev \
libubsan-dev \
${LIBX_DEV} \
"
When multilib is enabled, it fails for x86-64 kernel with x86 rootfs
such as lib32-xxx-image on qemux86-64. Var IMAGE_INSTALL will be
expand with prefix lib32 but lib32-lsan* and lib32-tsan* are empty
then cause the failures.
Regards,
Kai
--
Regards,
Neil | Kai Kang