Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 61633794c49d70aed942f60a304ac1564c84f5e5
Ticket: 218156ffffffffffffffffffffffffffffffffff
Pthreads not found on Alpha Tru64 UNIX
User & Date: nobody on 2000-10-26 00:53:53
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
    
    
  4. foundin changed to: "final: 8.1.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Pthreads not found on Alpha Tru64 UNIX"
  11. type changed to: "Bug"