[91] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

Re: Linux ELF

daemon@ATHENA.MIT.EDU (H.J. Lu)
Thu Aug 17 10:06:53 1995

From: hjl@nynexst.com (H.J. Lu)
To: wabbit@corner.iaf.nl
Date: Thu, 17 Aug 95 9:29:58 EDT
Cc: greg.page@caldera.com, pthreads@MIT.EDU, greg@caldera.com
In-Reply-To: <m0sirKG-0000ZrC@gizmo.corner.iaf.nl>; from "Erwin van Eijk" at Aug 17, 95 12:52 am

> 
> A message from Greg Page arrived and said:
> > Has anyone been successful in bringing up pthreads in a LINUX
> > ELF environment?  I am running on LINUX 1.2.13 with gcc version
> > 2.7.0.  I noticed that the machdep.S file does not appear to
> > be processed.
> 
> I have, although I did use 2.6.3, an early ELF version from HJ Lu. Kernel
> versions I tested are 1.2.8,1.3.8 and 1.3.14. Only the floating point test
> fails to complete.
> 

The reason of that failure is 10 byte long double is used internally
in x87. In any case, it is not recommended to use

	double x, y;
	.....
	if (x == y)
	{
	  ...
	}

H.J.

home help back first fref pref prev next nref lref last post