Tk Source Code

View Ticket
Login
Ticket UUID: 220312
Title: Compiling fails for Tk 8.3.1
Type: Bug Version: obsolete: 8.3.1
Submitter: welch Created on: 2000-10-31 23:10:44
Subsystem: 84. Unix Build Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2001-04-26 06:19:18
Resolution: Invalid Closed By: dgp
    Closed on: 2001-04-25 23:19:18
Description:
OriginalBugID: 5976 Bug
Version: 8.3.1
SubmitDate: '2000-07-06'
LastModified: '2000-08-14'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: ericm
OS: Linux
OSVersion: TurboLinux 6.x
Machine: custom built AMD K6/450 64 MB RAM, 2 IDE 2 SCSI hard drives, SiS
ClosedDate: '2000-08-14'


Name:
John Buell

ReproducibleScript:
Tcl 8.3.1 is already compiled, cannot compile Tk 8.3.1.
System is TurboLinux 6.x running 2.2.14 kernel and 2.95.3 gcc. 
Ran this command for configuration:
./configure --with-tcl=/root/Software/tcl8.3.1/unix/ --enable-gcc
then invoked GNU make (3.78.1) with 'make'

ObservedBehavior:
received this a couple of times:
gcc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I/root/Software/tk8.3.1/unix -I/root/Software/tk8.3.1/unix/../generic -I/root/Software/tk8.3.1/unix/../bitmaps -I/root/Software/tcl8.3.1/generic -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED   /root/Software/tk8.3.1/unix/../generic/tkCanvPs.c
{standard input}: Assembler messages:
{standard input}:4160: Error: no such 386 instruction: `filds'
{standard input}:4165: Error: no such 386 instruction: `filds'
{standard input}:4170: Error: no such 386 instruction: `filds'
{standard input}:4278: Error: no such 386 instruction: `filds'
{standard input}:4283: Error: no such 386 instruction: `filds'
{standard input}:4288: Error: no such 386 instruction: `filds'
{standard input}:4441: Error: no such 386 instruction: `filds'
{standard input}:4446: Error: no such 386 instruction: `filds'
{standard input}:4451: Error: no such 386 instruction: `filds'
make: *** [tkCanvPs.o] Error 1

This error also crops up if I do NOT specify the --enable-gcc flag for 'configure'

DesiredBehavior:
A compiled working copy of Tk 8.3.1 :)



This looks like a compiler problem, because there is no inlined assembly code in the Tcl/Tk core.  It looks like the compiler is producing bad assembly.  We use gcc 2.91.66 to do our compiles on Linux and we have no problems with that.  I suggest that you try that compiler.

   Eric Melski                            The Other Tcl Guy
   ericm at ajubasolutions.com            Ajuba Solutions

-- 08/14/2000 ericm