Tcl Source Code

View Ticket
Login
Ticket UUID: 1832310
Title: tcl can't be build on x86_64
Type: Patch Version: None
Submitter: mmaslano Created on: 2007-11-15 09:05:03
Subsystem: 09. Linked C Variables Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-11-15 21:59:33
Resolution: Duplicate Closed By: dgp
    Closed on: 2007-11-15 14:59:33
Description:
On the 64 bit architecture isn't possible to made the rpm of the package, because of this message:
/usr/bin/ld: tclCompile.o: relocation R_X86_64_PC32 against `TclSetCmdNameObj' can not be used when making a shared object; recompile with -fPIC

Even If I use -fPIC option in gcc, the problem was still here. I found out that here is hidden visibility and shared object (.so) can't be build, because of invisibility of object.

My nasty solution is commented out the macro as I made in attachment. Maybe that's not the better solution, but it's working.
User Comments: dgp added on 2007-11-15 21:59:33:
Logged In: YES 
user_id=80530
Originator: NO


Duplicate of Tcl Bug 1821159.

Already fixed for 8.5b3.

mmaslano added on 2007-11-15 16:05:07:

File Added - 254378: tcl-8.5b1-visible.patch

Attachments: