Re: glibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-07-12 at 10:36 +0200, Arjan van de Ven wrote:
> On Tue, 2005-07-12 at 10:26 +0200, Ralf Corsepius wrote:
> > On Tue, 2005-07-12 at 04:11 -0400, Jakub Jelinek wrote:
> > > On Tue, Jul 12, 2005 at 01:41:06PM +0530, divij bhatt wrote:
> > > > Hi,
> > > >     How would i know that my glibc is nptl enabled.
> > > 
> > > getconf GNU_LIBPTHREAD_VERSION
> > 
> > How about cross-building? 
> > Any preprocessor define or symbol from glibc to check for by
> > autoconf-magic?
> 
> why?
> If your program code cares I think you're doing something wrong :)
Agreed, but ...

> (especially since you could well end up building against linuxthreads
> but running against nptl, as fedora core 3 and prior did)

... did you ever try to write a portable pthreaded program?

I did, and found myself in a forest of wildest autoconf checks, because
the pthread API and pthread run-time behaving varies quite largely
between OSes and pthread implementations. Now, I am wondering what might
have changed on Linux and which pitfalls might have been introduced ...

Ralf


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux