Mailinglist Archive: opensuse-factory (842 mails)

< Previous Next >
[opensuse-factory] OSuSE 11.0 devel Q: has pthreads library location changed?
  • From: Linda Walsh <suse@xxxxxxxxx>
  • Date: Wed, 21 May 2008 16:02:34 -0700
  • Message-id: <4834AA0A.90200@xxxxxxxxx>
This is a dup of a post to the general discussion list (OS@xxxx), but
though someone here might be better informed as to what's going
into 11.0 ...


In 10.3 and most linux builds I've run into so far, 'pthreads' is usually
in a separate pthreads library. Has this changed in 11.0? Would
they have been moved into some library included by default during a
build & link (like glibc)?

Seems like that would be an odd change to make since outside tarballs
that use pthreads would likely have a -lpthreads in the final link
stage and if OS11 moves them, all those make files would require
a different link line for OS11 (i.e. -- one that doesn't try to include
what would be a non-existent pthreads library).

The reason I'm asking is I'm looking at a make designed to run on
OS11, and I'm getting link errors for the various pthread functions --
all of the functions seem to be missing when the final program is
being linked (and it doesn't have an explicit -lpthreads on the link
line).

Thus my wondering is it the case that pthreads are being moved into
one of the standardly linked-with libraries (like glibc -- not requiring
explicit naming on the command line), or does linking against against
libpthreads happen automatically on the 'gcc' of the future (the one to
be in OS11.0)?

Thanks!...
-Linda
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups