A
Al Tobey
I was building perl 5.8.2 on RedHat Enterprise Linux 3.0 (AS) today and
noticed that it included in it's ccflags "-DTHREADS_HAVE_PIDS." I am
building with -Dusethreads. With newer Linux distributions using the
Native Posix Threading Layer (NPTL), this isn't entirely true anymore and
is AFAIK unsupported (using a pid to signal/identify threads). I removed
it from my config.sh script and ran Configure -der. make test runs just
fine.
Just thought I should mention it ...
-Al Tobey
Relevant portion of make test output with the flag removed:
ext/threads/shared/t/0nothread.......ok
ext/threads/shared/t/av_refs.........ok
ext/threads/shared/t/av_simple.......ok
ext/threads/shared/t/cond............ok
ext/threads/shared/t/disabled........ok
ext/threads/shared/t/hv_refs.........ok
ext/threads/shared/t/hv_simple.......ok
ext/threads/shared/t/no_share........ok
ext/threads/shared/t/shared_attr.....ok
ext/threads/shared/t/sv_refs.........ok
ext/threads/shared/t/sv_simple.......ok
ext/threads/t/basic..................ok
ext/threads/t/end....................ok
ext/threads/t/join...................ok
ext/threads/t/libc...................ok
ext/threads/t/list...................ok
ext/threads/t/problems...............ok
ext/threads/t/stress_cv..............ok
ext/threads/t/stress_re..............ok
ext/threads/t/stress_string..........ok
ext/threads/t/thread.................ok
noticed that it included in it's ccflags "-DTHREADS_HAVE_PIDS." I am
building with -Dusethreads. With newer Linux distributions using the
Native Posix Threading Layer (NPTL), this isn't entirely true anymore and
is AFAIK unsupported (using a pid to signal/identify threads). I removed
it from my config.sh script and ran Configure -der. make test runs just
fine.
Just thought I should mention it ...
-Al Tobey
Relevant portion of make test output with the flag removed:
ext/threads/shared/t/0nothread.......ok
ext/threads/shared/t/av_refs.........ok
ext/threads/shared/t/av_simple.......ok
ext/threads/shared/t/cond............ok
ext/threads/shared/t/disabled........ok
ext/threads/shared/t/hv_refs.........ok
ext/threads/shared/t/hv_simple.......ok
ext/threads/shared/t/no_share........ok
ext/threads/shared/t/shared_attr.....ok
ext/threads/shared/t/sv_refs.........ok
ext/threads/shared/t/sv_simple.......ok
ext/threads/t/basic..................ok
ext/threads/t/end....................ok
ext/threads/t/join...................ok
ext/threads/t/libc...................ok
ext/threads/t/list...................ok
ext/threads/t/problems...............ok
ext/threads/t/stress_cv..............ok
ext/threads/t/stress_re..............ok
ext/threads/t/stress_string..........ok
ext/threads/t/thread.................ok