URL:
https://github.com/SSSD/sssd/pull/502
Title: #502: BUILD: Add missing libs found by -Wl,-z,defs
jhrozek commented:
"""
How should I test this? I tried to revert (err, comment out) the sed that removes the -z
flag from linker flags, then apply the two patches, but the fedora build on rawhide still
failed with:
```
src/util/.libs/child_common.o: In function `write_pipe_handler':
/builddir/build/BUILD/sssd-1.16.0/src/util/child_common.c:389: undefined reference to
`sss_atomic_io_s'
src/util/.libs/child_common.o: In function `read_pipe_handler':
/builddir/build/BUILD/sssd-1.16.0/src/util/child_common.c:473: undefined reference to
`sss_atomic_io_s'
src/util/.libs/child_common.o: In function `sss_sigchld_init':
/builddir/build/BUILD/sssd-1.16.0/src/util/child_common.c:73: undefined reference to
`sss_hash_create'
/builddir/build/BUILD/sssd-1.16.0/src/util/child_common.c:82: undefined reference to
`BlockSignals'
src/util/.libs/child_common.o: In function `child_debug_init':
/builddir/build/BUILD/sssd-1.16.0/src/util/child_common.c:818: undefined reference to
`sss_strerror'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:11039: libsss_child.la] Error
```
"""
See the full comment at
https://github.com/SSSD/sssd/pull/502#issuecomment-359913557