[Buildroot] [PATCH] perl-gd: fix build of native part

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Feb 15 21:39:50 UTC 2017


Hello,

On Wed, 15 Feb 2017 08:42:12 +0100, Francois Perrad wrote:
> EUMM don't find .xs file in subdirectory (only .pm files are handled)
> So, let move lib/GD.xs in the root directory.
> 
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>

What is this fixing?

Here, the following defconfig builds just fine:

BR2_arm=y
BR2_cortex_a8=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_PERL=y
BR2_PACKAGE_PERL_GD=y
# BR2_TARGET_ROOTFS_TAR is not set

Is it just that the build succeeds, but it fails at runtime because the
native part has been built/installed ?

Isn't moving GD.xs a dirty hack ? How was it working before ?

Thanks,

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



More information about the buildroot mailing list