Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 553dcdd5429181c5e90dce0b312bdbf11f110720
Ticket: 2959713fffffffffffffffffffffffffffffffff
Link error with gcc 4.1
User & Date: decosterjos on 2010-02-26 16:25:06
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Building Tcl from CVS head with gcc 4.1 results in the following link error:
    
    /usr/bin/ld: tclTomMathInterface.o: relocation R_X86_64_PC32 against symbol `tclTomMathConstStubs' can not be used when making a shared object; recompile with -fPIC
    
    Adding MODULE_SCOPE to tclStubInit.c as suggested by Kevin Kenny:
    
    MODULE_SCOPE const TclTomMathStubs tclTomMathConstStubs = {
       ..
    
    solves the issue..
    
    Jos.
    
  4. foundin changed to: "None"
  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: "decosterjos"
  10. subsystem changed to: "None"
  11. title changed to: "Link error with gcc 4.1"
  12. type changed to: "Bug"