[Buildroot] systemd: build failure against pam on arm
Peter Korsgaard
peter at korsgaard.com
Thu Jun 1 22:03:14 UTC 2017
>>>>> "Christian" == Christian Stewart <christian at paral.in> writes:
> Hi all,
> Compiling against 2017.05, with the following defconfig:
> BR2_arm=y
> BR2_cortex_a15=y
> BR2_ARM_FPU_NEON_VFPV4=y
> BR2_OPTIMIZE_2=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_INIT_SYSTEMD=y
> # BR2_TARGET_ROOTFS_TAR is not set
> BR2_PACKAGE_LINUX_PAM=y
> I get this error consistently during the systemd compilation when PAM
> is enabled:
> /output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld.gold:
> error: /lib/libpam.so: incompatible target
> /output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld.gold:
> error: /lib/libpam_misc.so: incompatible target
> collect2: error: ld returned 1 exit status
> It looks like it's attempting to link against /lib/libpam.so from my system.
Can you paste a few more lines above this error?
I cannot reproduce it here, not even after install libpam0g-dev on my
build host.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list