* Re: pthreads and glibc
[not found] <199703310952.LAA17894@iphcip1.Physik.Uni-Mainz.DE>
@ 1997-03-31 15:44 ` Richard Henderson
0 siblings, 0 replies; 9+ messages in thread
From: Richard Henderson @ 1997-03-31 15:44 UTC (permalink / raw)
> And: Can somebody give
> an authoritive answer whether glibc includes threads and semaphores which
> should otherwise be provided by libpthread???
Glibc itself does not contain any of these, primarily because Xavier
cannot sign the FSF copyright assignment though he still gives it away.
So there is a linuxthreads add-on for glibc that should be configured
when glibc is built so that the result is a thread-safe libc. But
you need to use the version of the add-on that matches the version
of glibc that you are building.
It is unfortunate about the timing of events wrt the glibc release
and the RH releases. The current glibc is, imho, more stable than
the 961212 snapshot in RH4.1, but it is not binary compatible with
the older version.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <XFMail.970331163354.dmcgown@access.digex.net>]
* Re: pthreads and glibc
[not found] <XFMail.970331163354.dmcgown@access.digex.net>
@ 1997-03-31 21:48 ` Philip Blundell
1997-03-31 22:03 ` Richard Henderson
1 sibling, 0 replies; 9+ messages in thread
From: Philip Blundell @ 1997-03-31 21:48 UTC (permalink / raw)
On Mon, 31 Mar 1997, David R. McGown wrote:
> Just out of interest, which snapshot of glibc-2.0.2 should we use for building
> on linux/axp. I tried glibc-970330 and had problems with a missing file in
> the math code and was finally did in by problems compiling the ieee code. I
> then tried the pre2-2.0.2.tar.gz in ftp.redhat.com/pub/alphabits and ended up
> with linux-ld.so.2 having a segmentation fault while compiling sunrpc. Thanks.
970330 is a snapshot of glibc 2.1, which is still in development. 2.0.2
has been released, and you can get it at your favourite GNU mirror site.
That should compile fine.
phil
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: pthreads and glibc
[not found] <XFMail.970331163354.dmcgown@access.digex.net>
1997-03-31 21:48 ` Philip Blundell
@ 1997-03-31 22:03 ` Richard Henderson
1 sibling, 0 replies; 9+ messages in thread
From: Richard Henderson @ 1997-03-31 22:03 UTC (permalink / raw)
> Just out of interest, which snapshot of glibc-2.0.2 should we use for
> building on linux/axp.
The glibc-2.0.2-*.tar.gz files on prep.
> ... and ended up with linux-ld.so.2 having a segmentation fault while
> compiling sunrpc. Thanks.
Whee. You've had a close encounter with a bug in the binutils shiped
with RH. There are two ways to proceed.
(1) Add
ifeq ($(subdir),elf)
sysdep-CFLAGS = -DNO_AXP_MULTI_GOT_LD
endif
to the configparms file while building glibc.
(2) Get binutils 2.7.0.11.
I, as well as the glibc release notes, recommend the later. Though
be aware that you'll need to rebuild libgcc.a at the same time.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <Pine.LNX.3.95.970331101443.27935B-100000@p18.hwts10.loop.net>]
* Re: pthreads and glibc
[not found] <Pine.LNX.3.95.970331101443.27935B-100000@p18.hwts10.loop.net>
@ 1997-03-31 18:55 ` Richard Henderson
1997-03-31 21:22 ` David R. McGown
0 siblings, 1 reply; 9+ messages in thread
From: Richard Henderson @ 1997-03-31 18:55 UTC (permalink / raw)
> /lib/libpthread-0.5.so
It was modified a bit to work with glibc back in December as well.
That it has the same soname is irrelevant.
> has anyone compiled either Chris Provenzano's mit threads or fsu threads
> under linux/axp?
Not to my knowledge. Besides, you have to do stupid things to get
blocking i/o to kind of work with either of those.
If you are really serious about needing pthreads, consider building
glibc 2.0.2 and add-ons yourself. There's just been too much work
done since the 961212 snapshot to consider trying to fix that up.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: pthreads and glibc
1997-03-31 18:55 ` Richard Henderson
@ 1997-03-31 21:22 ` David R. McGown
0 siblings, 0 replies; 9+ messages in thread
From: David R. McGown @ 1997-03-31 21:22 UTC (permalink / raw)
Richard,
Just out of interest, which snapshot of glibc-2.0.2 should we use for building
on linux/axp. I tried glibc-970330 and had problems with a missing file in
the math code and was finally did in by problems compiling the ieee code. I
then tried the pre2-2.0.2.tar.gz in ftp.redhat.com/pub/alphabits and ended up
with linux-ld.so.2 having a segmentation fault while compiling sunrpc. Thanks.
David
On 31-Mar-97 Richard Henderson wrote:
>
>If you are really serious about needing pthreads, consider building
>glibc 2.0.2 and add-ons yourself. There's just been too much work
>done since the 961212 snapshot to consider trying to fix that up.
>
======================================================================
David R. McGown
dmcgown@access.digex.net -o-O-o- LINUX INSIDE!
Home: (703)683-1599 206 Adams Ave ALPHA GENERATION!
Work: (703)416-1240 Alexandria, VA 22301
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <199703311544.JAA15139@stommel.tamu.edu>]
* Re: pthreads and glibc
[not found] <199703311544.JAA15139@stommel.tamu.edu>
@ 1997-03-31 18:22 ` Christian G. Warden
0 siblings, 0 replies; 9+ messages in thread
From: Christian G. Warden @ 1997-03-31 18:22 UTC (permalink / raw)
On Mon, 31 Mar 1997, Richard Henderson wrote:
> > And: Can somebody give
> > an authoritive answer whether glibc includes threads and semaphores which
> > should otherwise be provided by libpthread???
>
> Glibc itself does not contain any of these, primarily because Xavier
> cannot sign the FSF copyright assignment though he still gives it away.
>
> So there is a linuxthreads add-on for glibc that should be configured
> when glibc is built so that the result is a thread-safe libc. But
> you need to use the version of the add-on that matches the version
> of glibc that you are building.
>
> It is unfortunate about the timing of events wrt the glibc release
> and the RH releases. The current glibc is, imho, more stable than
> the 961212 snapshot in RH4.1, but it is not binary compatible with
> the older version.
>
it appears the 961212 glibc rpm from redhat does contain linuxthreads 0.5.
# rpm -q glibc
glibc-0.961212-3
# rpm -ql glibc|grep pthread
/lib/libpthread-0.5.so
/lib/libpthread.so.0
am i missing something here?
has anyone compiled either Chris Provenzano's mit threads or fsu threads
under linux/axp?
xn
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pthreads and glibc
@ 1997-03-31 9:52 Richard B. Kreckel
0 siblings, 0 replies; 9+ messages in thread
From: Richard B. Kreckel @ 1997-03-31 9:52 UTC (permalink / raw)
>Actually, the new glibc >=2 are supposed to be compiled with linuxthreads
>built in . I checked and it doesn't appear that they are included in the
>redhat distribution. I tried recompiling but it seems to be relatively
>unfriendly to my system (segmentation faults, etc.). This is probably
>the easiest way to get threads going.
Sorry, I don't understand. Did you compile linuxthreads? And then glibc?
What happend??? I am deeply interested in using threads under Linux on
an XL266. However, trying to compile linuxthreads0.5 on RH4.0 was a
complete failure. Did anybody get them compiled? And: Can somebody give
an authoritive answer whether glibc includes threads and semaphores which
should otherwise be provided by libpthread???
Thanx in advance
-rbk-
-------------------------------------------------------------------------
Richard B. Kreckel
<Richard.Kreckel@Uni-Mainz.DE>
<http://wwwthep.physik.uni-mainz.de/~kreckel/>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* pthreads and glibc
@ 1997-03-31 4:54 Christian G. Warden
0 siblings, 0 replies; 9+ messages in thread
From: Christian G. Warden @ 1997-03-31 4:54 UTC (permalink / raw)
anyone using pthreads to work under linux/axp? my programs all segfault when
calling pthread_create. i'm using glibc-devel-0.961212-3. attached is simple
program using pthreads from o'reilly's pthreads book.
tia for any help.
xn
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pthreads and glibc
@ 1997-03-31 4:20 Steven Kokinos
0 siblings, 0 replies; 9+ messages in thread
From: Steven Kokinos @ 1997-03-31 4:20 UTC (permalink / raw)
>anyone using pthreads to work under linux/axp? my programs all segfault when
>calling pthread_create. i'm using glibc-devel-0.961212-3. attached is
>simple
>program using pthreads from o'reilly's pthreads book.
>tia for any help.
>
>xn
Actually, the new glibc >=2 are supposed to be compiled with linuxthreads
built in . I checked and it doesn't appear that they are included in the
redhat distribution. I tried recompiling but it seems to be relatively
unfriendly to my system (segmentation faults, etc.). This is probably
the easiest way to get threads going.
-Steve
--
Steven Kokinos - Web Developers Network - http://www.webdevelop.com/
steve@webdevelop.com - 60 Day free trial for developers!
Industry leading development environment, multiple T1 network.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1997-03-31 22:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199703310952.LAA17894@iphcip1.Physik.Uni-Mainz.DE>
1997-03-31 15:44 ` pthreads and glibc Richard Henderson
[not found] <XFMail.970331163354.dmcgown@access.digex.net>
1997-03-31 21:48 ` Philip Blundell
1997-03-31 22:03 ` Richard Henderson
[not found] <Pine.LNX.3.95.970331101443.27935B-100000@p18.hwts10.loop.net>
1997-03-31 18:55 ` Richard Henderson
1997-03-31 21:22 ` David R. McGown
[not found] <199703311544.JAA15139@stommel.tamu.edu>
1997-03-31 18:22 ` Christian G. Warden
1997-03-31 9:52 Richard B. Kreckel
-- strict thread matches above, loose matches on Subject: below --
1997-03-31 4:54 Christian G. Warden
1997-03-31 4:20 Steven Kokinos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox