Hi there.
I'm the current maintainer of the pam_ssh
package¹ in the AUR (Archlinux User Repository).
With the upgrade to GCC 10, I've have to explicitly add -fcommon
to CFLAGS
in order to build the project, otherwise the build fails because of linker errors. This is due to GCC 10 becoming more strict² regarding missing extern
in global variables in header files, which apparently leads to some undesirable duplication.
I understand that this is not critical for now, since the workaround is easy to implement, but wanted to let you know in case you find it desirable to refactor the code to make it more compliant, and thus making the workaround redundant.
Also note that I would be glad to help implementing the refactor.
At any rate, thanks a lot for taking the time to keep maintaining pam_ssh
!
Greetings,
A happy camper :-)
¹: https://aur.archlinux.org/packages/pam_ssh
²: https://gcc.gnu.org/gcc-10/porting_to.html#common
The issue was fixed by Jeroen Roovers jer@gentoo.org at Gentoo:
https://709312.bugs.gentoo.org/attachment.cgi?id=634046
https://bugs.gentoo.org/709312
Merci, Jerome! I've applied¹ the patch to the AUR package.
¹: https://aur.archlinux.org/cgit/aur.git/commit/?h=pam_ssh&id=0ec4a77bdc2573a22bcd62c50ffe5869195489e1