Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-21
12:59 • Ticket [218156ffff] Pthreads not found on Alpha Tru64 UNIX status still Clos... artifact: 2e74fb56e2 user: dgp
2000-10-26
08:15 • Closed ticket [218156ffff]. artifact: 630841bec0 user: welch
00:53 • New ticket [218156ffff]. artifact: 61633794c4 user: nobody

Pthreads not found on Alpha Tru64 UNIX

Closed / Remind218156ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:53:53
OriginalBugID: 2185 Bug
Version: 8.1.1
SubmitDate: '1999-06-07'
LastModified: '1999-06-23'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: redman
OS: Digital Unix
OSVersion: 4.0b
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '1999-06-23'


CustomShell:
none; no;

Comments:
here is a script which runs a pthreads example;
    
    #!/bin/ksh
    #file://conf.ksh04 Jun 1999
    #########################################################################
    
    
    print "running a threads testcase "
    
    /usr/bin/cat >| conf.c <<EOF
    
    #include <pthread.h>
    
    int main() { 
    return 0; }
    
    int t() {
    pthread_mutex_t numMutex;
    pthread_mutex_init( &numMutex, NULL );
    pthread_mutex_lock( &numMutex );
    pthread_mutex_unlock( &numMutex );
    pthread_mutex_destroy( &numMutex );
    return 0; }
    
    EOF
    
    /usr/bin/cc -o conf -pthread -lpthread -lmach -lexc -lc conf.c 
    
    ./conf
    status=$?
    print "status = ${status} "

ReproducibleScript:
when running configure and asking for pthreads as in 
    tcl8.1.1/unix/configure --enable-threads --no-create
    the configure script can not find the pthreads library on
    Alpha Tru64 UNIX;

ObservedBehavior:
checking whether cross-compiling... (cached) no
    Will compile with Threads support
    checking for -lpthread... (cached) no
    configure: warning: Don t know how to find pthread lib on your system -
    you must disable thread support or edit the LIBS in the Makefile...

DesiredBehavior:
for Compaq Tru64 UNIX the pthreads libraries should be found; looking at
    the man pages of pthread we can see how to link when using the DEC C
    compiler;



Need a patch from the customer in order to fix this.  Setting to closed unless he responds.

-- 06/23/1999 redman
welch Closed ticket [218156ffff]. [History diff]2000-10-26 08:15:57
dgp Ticket [218156ffff]: 4 changes [History diff]2001-04-21 12:59:22
Log in (anonymous is fine) to add a comment.