Tcl Source Code

View Ticket
Login
Ticket UUID: 218626
Title: Dynamic Loading on AIX 4.2.1
Type: Bug Created on: 2000-10-26 01:03:18
Submitter: nobody Assigned to: nobody
Subsystem: 40. Dynamic Loading Severity:
Priority: 2 Last modified: 2001-04-21 03:11:41
Status: Closed Closed by: dgp
Resolution: Works For Me Closed on: 2001-04-20 20:11:41
Version: final: 8.0.5
Description:
OriginalBugID: 1502 Bug
Version: 8.0.5
SubmitDate: '1999-03-15'
LastModified: '1999-09-20'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: AIX
OSVersion: 4.2.1.2
Machine: RS6000
FixedDate: '1999-09-20'
FixedInVersion: 8.2.1
ClosedDate: '2000-10-25'


Name:
Alexei Bozrikov

CustomShell:
Just #ifdef'ed the whole unix/tclLoadAix.c

ReproducibleScript:
    on AIX 4.2.1 with IBM XLC 3.1.4.0 compiler:
    
    $ make
    $ make test
    
    



ObservedBehavior:
    load.test fails sith signal 4 and core is dumped
    



DesiredBehavior:
    expecting dynamic loading to work
    





    I am no programmer and did not create any patches. To build TCL 8.0.5
    correctly on AIX 4.2.1 (which has libdl.a library), i #ifdef'ed the
    whole unix/tclLoadAix.c (#ifndef _AIX_WITH_LIBDL ... #endif) and added
    -D_AIX_WITH_LIBDL to Makefile's CFLAGS. Created shared libtcl and tclsh
    and it worked fine.
--
Several fixes were made for 8.2.1 to fix all known problems with AIX. 
-- 09/20/1999 hobbs