]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libpam: Fix build with LLD linker
authorKhem Raj <raj.khem@gmail.com>
Tue, 23 Sep 2025 23:43:34 +0000 (16:43 -0700)
committerKhem Raj <raj.khem@gmail.com>
Thu, 2 Oct 2025 16:48:39 +0000 (09:48 -0700)
commit7e8ac0503de0b6f223d5a705e5dafe210fabade1
treeaafcbaa9fffdd78c85da6140c467788f5ea2a30b
parentcc696260c5fabd65f2909288abff152467757cf2
libpam: Fix build with LLD linker

LLD is strict about versioned symbols unlike BFD linker, it flags
undefined ones, Allow undefined symbols like BFD linker

Fixes
| riscv64-yoe-linux-ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_acct_mgmt' failed: symbol not defined
| riscv64-yoe-linux-ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_chauthtok' failed: symbol not defined
| riscv64-yoe-linux-ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_close_session' failed: symbol not defined
| riscv64-yoe-linux-ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_open_session' failed: symbol not defined
| riscv64-yoe-linux-clang: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-extended/pam/libpam_1.7.1.bb