From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Fri, 02 Jun 2017 00:03:14 +0200 Subject: [Buildroot] systemd: build failure against pam on arm In-Reply-To: (Christian Stewart's message of "Wed, 31 May 2017 19:29:11 -0700") References: Message-ID: <87fufjgycd.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Christian" == Christian Stewart 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