Artifacts Associated With Ticket 218141ffffffffff
Ticket change [fe4432a5ed] (rid 108555) by nobody on 2000-10-26 00:53:38:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2083 Bug Version: 8.1 SubmitDate: '1999-05-17' LastModified: '1999-12-03' Severity: MED Status: Closed Submitter: pat ChangedBy: hobbs OS: Solaris OSVersion: Sparc Solaris 5.6 Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-12-03' Name: mo ReproducibleScript: I tried to compile Tcl Blend with Tcl 8.1 but I got an error from the linker. The problem is that the configure script places gnu specific linker info into the tclConfig.sh file. When I compiled Tcl 8.1 I used these options, --enable-gcc --enable-threads --enable-symbols --enable-shared. ObservedBehavior: gcc -pipe -c -g -D_REENTRANT -DTCL_MEM_DEBUG -I. -I/home/grad03/dejong/tcl/tcljava/unix/../src/native -I/tmp/mo/tcl8.1/generic -I/soft/java/JDK-1.1.6/include -I/soft/java/JDK-1.1.6/include/solaris -fPIC /home/grad03/dejong/tcl/tcljava/unix/../unix/unixNotifier.c /usr/ccs/bin/ld -G -z text -o libtclblend.so javaCmd.o javaIdle.o javaInterp.o javaObj.o javaList.o javaNotifier.o javaTimer.o javaUtil.o tclResult.o unixNotifier.o -Wl,-R,/soft/java/JDK-1.1.6/lib/sparc/native_threads:/tmp/mo/tcl8.1/unix -L/soft/java/JDK-1.1.6/lib/sparc/native_threads -lthread -ljava -L/tmp/mo/tcl8.1/unix -ltcl8.1g -ldl -lsocket -lnsl -lpthread -lm /usr/ccs/bin/ld: illegal option -- W usage: ld [-abd:e:f:h:il:mo:rstu:z:B:D:F:GI:L:M:N:Q:R:S:VY:] file(s) Here is the incorrect output from the generated tcoConfig.sh file. TCL_LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' DesiredBehavior: The output for the sun linker should be link this: TCL_LD_SEARCH_FLAGS='-R,${LIB_RUNTIME_DIR}' (ie. remove the -W,) This is a standard an accepted limitation of tclConfig.sh. It expects that you build extensions in the same way you built the Tcl that generated the .sh. -- 12/03/1999 hobbs - foundin initialized to: "obsolete: 8.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "75. Tutorial"
- title initialized to:
Sun linker is invoked incorrectly in Tcl 8.1's tclConfig.sh
- type initialized to: "Bug"
Ticket change [5210425cde] (rid 126246) by welch on 2000-10-26 08:15:55:
- closedate changed to: "2000-10-26T01:15:55"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [36517f82b1] (rid 107089) by dgp on 2001-04-05 06:54:28:
- closedate changed to: "2001-04-04T23:54:28"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"