[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
linking to libpthread and libc at the same time, perl-0.5.8
From: |
Glenn McGrath |
Subject: |
linking to libpthread and libc at the same time, perl-0.5.8 |
Date: |
Mon, 30 Sep 2002 15:04:16 +1000 |
neal and myself have be trying to compile perl-0.5.8 against his pthreads,
miniperl had been segfaulting doe to a linker problem, apparently a dummy
initialisation function was being linked to from libc instead of the real
one from libpthreads.
It appears this problem is partly because perl specifically mentions -ls
at the liniing stage. To confirm this i added -lc to neals tests in
libpthread/tests and they fail also.
So at the moment if you are having problems a workaround is to just to not
mentioning -lc at the linking stage.
I have compiled a working miniperl but make minitest hangs after a few
dozen tests so there are other problems lurking there.... im not sure if
they are associated with libpthreads.
Glenn
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- linking to libpthread and libc at the same time, perl-0.5.8,
Glenn McGrath <=