]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libpam: Fix build with LLD linker
authorKhem Raj <raj.khem@gmail.com>
Tue, 14 Oct 2025 00:08:33 +0000 (17:08 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Oct 2025 10:27:10 +0000 (11:27 +0100)
commita53fddbb99dc746439b5b2adfb7f747ba25a856f
treec94ee5ff838ea76fd6995f2c6ef681461240ab33
parent7d1d3b4958bc48cf49ddb653c76c8cd536babac6
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/pam/libpam_1.7.1.bb