[opensuse] Re: OSuSE 11.0 devel Q: has pthreads library location changed?
- From: Linda Walsh <suse@xxxxxxxxx>
- Date: Thu, 22 May 2008 15:11:29 -0700
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] OSuSE 11.0 devel Q: has pthreads library location changed?
- From: Linda Walsh
- Re: [opensuse] OSuSE 11.0 devel Q: has pthreads library location changed?
- From: Philipp Thomas
- [opensuse] OSuSE 11.0 devel Q: has pthreads library location changed?
- Prev by Date: Re: [opensuse] how to kill a text console
- Next by Date: [opensuse] no sound from You-tube
- Previous by thread: Re: [opensuse] OSuSE 11.0 devel Q: has pthreads library location changed?
- Next by thread: [opensuse] New ATI Drivers today
- Index(es):
Relevant Pages
|