|
2001-04-05
| ||
| 06:54 | • Ticket [218760ffff] static linking fails for tcl 8.1 status still Closed wit... artifact: e75ed35995 user: dgp | |
|
2000-10-26
| ||
| 08:28 | • Closed ticket [218760ffff]. artifact: f2a9f8d0f5 user: welch | |
| 01:05 | • New ticket [218760ffff]. artifact: 558e255233 user: nobody | |
static linking fails for tcl 8.1
Closed / Fixed218760ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:05:03
OriginalBugID: 2014 Bug
Version: 8.1
SubmitDate: '1999-05-07'
LastModified: '2000-02-05'
Severity: CRIT
Status: Released
Submitter: pat
ChangedBy: hobbs
RelatedBugIDs: 2013
OS: Solaris
OSVersion: 2.6
Machine: Other
FixedDate: '2000-02-05'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'
Name:
Barry Fujii
Comments:
I configured tcl with --prefix=/lab --enable-gcc --disable-load
$ gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
$ ld -V
ld: Software Generation Utilities - Solaris/ELF (3.0)
ReproducibleScript:
% make
gcc -pipe tclAppInit.o -L/lab/build/tcl8.1/unix/solaris2.6/static
-ltcl8.1 -lsocket -lnsl -lm -lc -o tclsh
Undefined first referenced
symbol in file
TclpLoadFile
/lab/build/tcl8.1/unix/solaris2.6/static/libtcl8.1.a(tclLoad.o)
TclpUnloadFile
/lab/build/tcl8.1/unix/solaris2.6/static/libtcl8.1.a(tclLoad.o)
ld: fatal: Symbol referencing errors. No output written to tclsh
collect2: ld returned 1 exit status
This was fixed with a makefile overhaul in 8.2.
./configure --disable-shared --disable-load should work fine (its
just running through the test suite for me now).
-- 02/05/2000 hobbs
welch Closed ticket [218760ffff].
[History diff]2000-10-26 08:28:14
dgp Ticket [218760ffff]: 3 changes
[History diff]2001-04-05 06:54:25
Log in (anonymous is fine) to add a comment.