Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aa505513707501572c3dca4a827e612e605b71303d4504516373fa567f453262
Ticket: 7bdd1d62e28c6baba5261d5ede82be74ad6fc107
8.6.10 testing
User & Date: bll on 2019-10-01 18:17:05
Changes

  1. icomment:
    AIX 7.2:
    
    A) build process was not able to locate -ltcl8.6.
      renamed .so to .a in order to continue.
    
    This info is rather old:
    
    Using -brtl, the AIX linker will look for libraries with both the .a and .so extensions, such aslibfoo.a and libfoo.so. Without -brtl, the AIX linker looks only for libfoo.a. You can createlibfoo.a simply by archiving a shared object or even by renaming the shared object as libfoo.a-- AIX doesn't care, as long as the file suffix is .a. To use AIX run-time linking, you should createthe shared object using gcc -shared -Wl,-G and create executables using the library by addingthe -Wl,-brtl option to the link line. Technically, you can leave off the -shared option, but it does no harm and reduces confusion.
    
    
    B) warning linking tclsh:
        gcc -O2  -pipe     tclAppInit.o  -L/home/bll/tcl8610c/tcl8.6.10a/unix -ltcl8.6 libtclstub8.6.a -ldl -lz  -lpthread -lc -lm   -L/home/bll/localB/lib -o tclsh
    ld: 0711-224 WARNING: Duplicate symbol: .__init_aix_libgcc_cxa_atexit
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    Target "all" is up to date.
    
    C) test errors
    
    $ egrep FAILED tcl-aix72.txt
    ==== http-4.14 http::Event FAILED
    ==== http-4.14 FAILED
    ==== socket-14.2 [socket -async] fileevent connection refused FAILED
    ==== socket-14.2 FAILED
    ==== socket-14.7.0 pending [socket -async] and blocking [gets], server is IPv4 FAILED
    ==== socket-14.7.0 FAILED
    ==== socket-14.7.2 pending [socket -async] and blocking [gets], no listener FAILED
    ==== socket-14.7.2 FAILED
    ==== socket-14.8.2 pending [socket -async] and nonblocking [gets], no listener FAILED
    ==== socket-14.8.2 FAILED
    ==== socket-14.11.0 pending [socket -async] and nonblocking [puts], no listener, no flush FAILED
    ==== socket-14.11.0 FAILED
    ==== socket-14.12 [socket -async] background progress triggered by [fconfigure -error] FAILED
    ==== socket-14.12 FAILED
    ==== socket-14.14 testing fileevent readable on failed async socket connect FAILED
    ==== socket-14.14 FAILED
    ==== socket-14.16 empty -peername while [socket -async] connecting FAILED
    ==== socket-14.16 FAILED
    ==== socket-14.17 empty -sockname while [socket -async] connecting FAILED
    ==== socket-14.17 FAILED
    ==== socket-14.18 bug c6ed4acfd8: running async socket connect made other connect block FAILED
    ==== socket-14.18 FAILED
    
  2. login: "bll"
  3. mimetype: "text/plain"