Artifacts Associated With Ticket 2501258fffffffff
Ticket change [fbaad8eb19] (rid 92105) by teopetuk on 2009-01-12 12:20:43:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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
- foundin initialized to: "obsolete: 8.6b1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "teopetuk"
- subsystem initialized to: "None"
- title initialized to: "tdbc is built without -fPIC option"
- type initialized to: "Bug"
Ticket change [9c1d740b69] (rid 111226) by dkf on 2009-01-12 20:17:22:
- assignee changed to: "kennykb"
- subsystem changed to: "81. Bundled Packages"
Ticket change [4320b608b9] (rid 116493) by dgp on 2009-01-12 21:23:35:
- icomment:
kbk, do you really want bugs reported here, or redirected to the tdbc project bug tracker?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [70b198d116] (rid 100532) by kennykb on 2009-01-13 08:20:44:
- icomment:
Either way. I read both :)
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [4e16eaa707] (rid 127165) by kennykb on 2009-01-13 08:29:09:
- closedate changed to: "2009-01-13T01:29:09"
- closer changed to: "kennykb"
- icomment:
I think this is tripping over a misleading compiler error message. The code in fact is being built with -fPIC, but the stubs table definition includes one relocation that -fPIC cannot handle. http://tdbc.tcl.tk/index.cgi/tktview?name=28616c6f8c describes the bug as I understand it. Both the current Tcl HEAD and the 1.0b6 version of tdbc http://tdbc.tcl.tk/index.cgi/vinfo/4a926e130b795592063d0db968ee407fb2dd7a44 ought to fix it. Can you verify?
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Pending"
- username: "kennykb"
Ticket change [0b8e16dec2] (rid 114014) by sf-robot on 2009-03-19 01:51:34:
- closedate changed to: "2009-03-18T18:51:34"
- closer changed to: "sf-robot"
- icomment:
allow_comments - 1 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"