[90] in Pthreads mailing list archive

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

Re: Linux ELF

daemon@ATHENA.MIT.EDU (Erwin van Eijk)
Thu Aug 17 01:26:48 1995

From: wabbit@corner.iaf.nl (Erwin van Eijk)
To: greg.page@caldera.com (Greg Page)
Date: Thu, 17 Aug 1995 00:52:43 +0200 (MET DST)
Cc: pthreads@MIT.EDU, greg@caldera.com
In-Reply-To: <199508161944.NAA05450@caldera.com> from "Greg Page" at Aug 16, 95 01:44:17 pm
Reply-To: wabbit@corner.iaf.nl

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.

It is perfectly possible BTW to create the library as a shared lib...
gizmo:~/src/pthreads/test% ldd test_pthread_join
	libpthread.so.0.60.3 => /lib/libpthread.so.0.60.3
	libm.so.5 => /lib/libm.so.5.0.0
	libc.so.5 => /lib/libc.so.5.0.9
gizmo:~/src/pthreads/test% ./test_pthread_join
Original thread stack at bffffb2c
New thread 1 stack at 8022f70
New thread 2 stack at 8033f70
test_pthread_join PASSED

I can't remember though that I did anything special, other than making sure
that GNUMakefile was used.

 \      +-------------------+----------------------+
  \ /\  | Erwin J. van Eijk | wabbit@corner.iaf.nl | The standard disclaimer
  ( )   +-------------------+ ia_ej@cs.utwente.nl  | applies to this message
_( * )_                     +----------------------+

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