Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 12663e6c893c59c2e3f94fd269a6e5566252e920
Ticket: 2935978fffffffffffffffffffffffffffffffff
Segfault on AIX 5 using tcl 8.5.8
User & Date: wealthychef on 2010-01-22 07:20:51
Changes

  1. icomment:
    @dgp:  No worries, I'm willing to work with you guys to find a solution.  
    
    @ferrieux:  Sorry, my bad, I have tried with 8.5.8 and wanted to try 8.5.6 as the maintainer of the VMD software package told me it had worked for him on AIX 6.  I'm 95% sure it's the exact same line segfaulting in 8.5.8, but I'm rebuilding right now to confirm this.  
    The repeated options are probably because I set CFLAGS, CPPFLAGS, and CXXFLAGS to be all the same.  Force of habit.  The configure script was hacked in this particular instance to add the  DTCL_NO_STACK_CHECK thing, but it segfaults with or without that hack.  The hack does not change the logic, it simply adds that flag.  
    What requirements are you talking about WRT xlc threading options?  I didn't follow that part.  Can you be more specific? 
    I'll try gcc, although that might be murky territory.  As long as it works, I don't care!  I just  
    
    @hobbs:  I don't know what TEA is.  If you're talking about DTCL_NO_STACK_CHECK, I added it to try to fix the problem, but it has no effect.  What is pure core configure?  Do you mean just configure without any options?  The options I'm using are: 
        export CC=xlc
        export CXX=xlC
        export LD=xlC
        # John Stone suggests -DTCL_NO_STACK_CHECK=1
        export CPPFLAGS="-g -qlanglvl=extended -qcpluscmt -DTCL_NO_STACK_CHECK=1"
        export CFLAGS="$CPPFLAGS"
        export CXXFLAGS="$CPPFLAGS"
        export SHLIB_SUFFIX=".a"
        export LD_FLAGS="-bmaxdata:0x80000000" # ala John Stone
    
        TCL_CONFIG_OPTIONS="--disable-shared --disable-threads"
       ./configure ${TCL_CONFIG_OPTIONS} --prefix=/usr/global/tools/vmd/1.8.7/$SYS_TYPE/
        sedfiles 's/-O/-g/' Makefile
    
    
    
  2. login: "wealthychef"
  3. mimetype: "text/plain"
  4. username: "wealthychef"