Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fbaad8eb1999b96136e218ed8e8b4747690b81dd
Ticket: 2501258fffffffffffffffffffffffffffffffff
tdbc is built without -fPIC option
User & Date: teopetuk on 2009-01-12 12:20:43
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi!
    
    Currently tdbc shared library is built without -fPIC option, which may cause build problems on architectures other than x86. You can see build failures on x86_64 (http://experimental.debian.net/fetch.php?&pkg=tcl8.6&ver=8.6.0%7Eb1-1&arch=amd64&stamp=1230511061&file=log&as=raw) and HP PA-RISC (http://experimental.debian.net/fetch.php?&pkg=tcl8.6&ver=8.6.0%7Eb1-1&arch=hppa&stamp=1230521525&file=log&as=raw) architectures.
    
    To fix this bug it should be sufficient to add $(SHLIB_CFLAGS) to COMPILE definition:
    
    --- tcl8.6-8.6.0~b1.orig/pkgs/tdbc1.0b1/Makefile.in
    +++ tcl8.6-8.6.0~b1/pkgs/tdbc1.0b1/Makefile.in
    @@ -167,7 +167,7 @@
     LIBS= @PKG_LIBS@ @LIBS@
     AR= @AR@
     CFLAGS= @CFLAGS@
    -COMPILE= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
    +COMPILE= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(SHLIB_CFLAGS)
     
     #========================================================================
     # Start of user-definable TARGETS section
    
    
  4. foundin changed to: "obsolete: 8.6b1"
  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: "teopetuk"
  10. subsystem changed to: "None"
  11. title changed to: "tdbc is built without -fPIC option"
  12. type changed to: "Bug"