|Summary:||HP-UX build not using pthread properly|
|Product:||[Retired] 389||Reporter:||Nathan Kinder <nkinder>|
|Component:||Directory Server||Assignee:||Nathan Kinder <nkinder>|
|Status:||CLOSED CURRENTRELEASE||QA Contact:||Viktor Ashirov <vashirov>|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2015-12-07 16:44:51 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:|
Description Nathan Kinder 2007-02-16 23:11:51 UTC
The autotools build-system is not using libpthread properly. I attempted to test a build, and while the compile worked, ds_newinst-bin immediately core dumped with an assertion from NSPR. According to the man page for pthread on HP-UX, we need to build with "-D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE" when using libpthread. We also need to ensure that libpthread is linked to our programs before libc. I added AC_DEFINE macros as well as adding "-lpthread" to AM_LDFLAGS for the HP-UX build.
Comment 2 Nathan Kinder 2007-02-16 23:18:57 UTC
Created attachment 148253 [details] Revised Diffs I forgot to include the changes to config.h.in in the last set of diffs. These diffs have them included.