Philipp Thomas wrote:
Neither of those is the case. The gcc driver still only links in libc and nothing else. For openSUSE 11.0 you still need to pass -lpthread. Philipp
I suspected as much...I asked because an 'rpm' source package that I tried to rebuild (rpmbuild -ba), failed due to unresolved references to the various pthread_X{create,...} calls. The link line did not include a -lpthread argument and the openssh.spec file (openssh-5.0p1-16.src.rpm), had some odd comments: #Obsoleted CFLAGS="-DUSE_POSIX_THREADS $RPM_OPT_FLAGS" \ # CXXFLAGS="-DUSE_POSIX_THREADS $RPM_O #Obsoleted LDFLAGS="-lpthread" \ LDFLAGS="-pie" CFLAGS="$RPM_OPT_FLAGS $PIEFLAGS -fstack-protector" \ CXXFLAGS="$RPM_OPT_FLAGS $PIEFLAGS -fstack-protector" I wasn't sure why the OpenSuSE 11.0-FACTORY source for openssh had the "correct" LDFLAGS listed as 'Obsoleted'. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org