Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 62e21a09fbeda0e23bf8e60d82a7d2586223032a
Ticket: 2685152fffffffffffffffffffffffffffffffff
Fedora systemtap: can't compile with dtrace
User & Date: mmaslano on 2009-03-12 14:05:38
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The compilation with configure option "--enable-dtrace" isn't successful on Fedora because of nested macros. I'm not sure where it should be redefined so here are my findings:
    - tcl8.5.6/generic/tclCmdAH.c has trouble with TclDecrRefCount in macro STORE_ARY
    - tcl8.5.6/generic/tclExecute.c has trouble with
    macro TCL_DTRACE_INST_NEXT. Here are defined earlier TCL_DTRACE_INST_DONE and TCL_DTRACE_INST_START
    
    The current source is failing with these errors:
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclCmdAH.c: In function 'StoreStatData':
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclCmdAH.c:1517: error: duplicate label '_stapprobe1_obj__free_1517'
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclCmdAH.c:1517: error: previous definition of '_stapprobe1_obj__free_1517' was here
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclCmdAH.c:1518: error: duplicate label '_stapprobe1_obj__free_1518'
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclCmdAH.c:1518: error: previous definition of '_stapprobe1_obj__free_1518' was here
    ...
    
    After fixing this new ones pop up:
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclExecute.c: In function 'TclExecuteByteCode':
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclExecute.c:1896: error: duplicate label '_stapprobe1_inst__start_1896'
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclExecute.c:1896: error: previous definition of '_stapprobe1_inst__start_1896' was here
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclExecute.c:1989: error: duplicate label '_stapprobe1_inst__start_1989'
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclExecute.c:1989: error: previous definition of '_stapprobe1_inst__start_1989' was here
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclExecute.c:2016: error: duplicate label '_stapprobe1_inst__start_2016'
    /home/marca/Development/CVSF/tcl/devel/tcl8.5.6/unix/../generic/tclExecute.c:2016: error: previous definition of '_stapprobe1_inst__start_2016' was here
    
    
    Build with:
    gcc-4.3.2-7.x86_64
    systemtap-0.8-1.fc10.x86_64
    tcl-8.5.6
    
    
  4. foundin changed to: "obsolete: 8.5.6"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "mmaslano"
  10. subsystem changed to: "53. Configuration and Build Tools"
  11. title changed to: "can't compile with dtrace"
  12. type changed to: "Bug"