On Sun, Oct 07, Stefan Seyfried wrote:
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: ./.libs/libmount.a(libmount_la-utils.o): in function `mnt_get_gid': /dev/shm/util-linux-2.33-rc1/libmount/src/utils.c:614: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: ./.libs/libmount.a(libmount_la-utils.o): in function `mnt_get_uid': /dev/shm/util-linux-2.33-rc1/libmount/src/utils.c:587: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: ./.libs/libmount.a(libmount_la-utils.o): in function `mnt_get_username': /dev/shm/util-linux-2.33-rc1/libmount/src/utils.c:566: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: ./.libs/libmount.a(libmount_la-utils.o): in function `mnt_get_gid': /dev/shm/util-linux-2.33-rc1/libmount/src/utils.c:614: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: ./.libs/libmount.a(libmount_la-utils.o): in function `mnt_get_uid': /dev/shm/util-linux-2.33-rc1/libmount/src/utils.c:587: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: ./.libs/libmount.a(libmount_la-utils.o): in function `mnt_get_username': /dev/shm/util-linux-2.33-rc1/libmount/src/utils.c:566: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
The bug is thus "RESOLVED WORKSFORME"
No, the bug is, that the code is not designed for static linking, as all the warnings show. And the upstream author should get the same warnings as you abvoe. So the result is even worse: while normally, the same or any newer version of glibc will work with this utils, in this case, the exactly same version of glibc as used for the "static linking" is required for runtime. The binaries are by no way static linked, they will load glibc dynamically at first if one of the above functions is called. So this "static linking" should be avoided if you want to have stable working binaries. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org