Skip to contentSkip to conversation

PowerPC toolchain build failure

Buildroot Thomas Petazzoni 1 participant 1 message Nov 8, 2015

lore
Share & tools
lore
#0 lore raw

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

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