[Buildroot] PowerPC toolchain build failure

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Nov 8 15:50:50 UTC 2015


Gustavo, Ryan,

FYI, the following defconfig:

BR2_powerpc=y
BR2_powerpc_970=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y

fails to build in glibc with:

../sysdeps/powerpc/powerpc32/dl-irel.h:33:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
   return ((Elf32_Addr (*) (unsigned long int)) (addr)) (GLRO(dl_hwcap));

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list