Subject: pkg/9778: emulators/bochs fails to build during assembler of reg_u_add.S
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mbw@netbsd.org>
List: netbsd-bugs
Date: 04/04/2000 21:47:45
>Number:         9778
>Category:       pkg
>Synopsis:       emulators/bochs fails to build during assembler of reg_u_add.S
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 04 21:22:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        1.4.2
>Organization:
>Environment:
NetBSD fatmac 1.4.2 NetBSD 1.4.2 (FATMAC) #0: Mon Mar 20 00:36:27 EST 2000     mw@fatmac:/usr/src/sys/arch/hp300/compile/FATMAC hp300

>Description:

Using pkgsrc.tar.gz dated Apr 1, 2000, emulators/bochs (2000_0104c) build
fails with:

cc -c -O2   -DUSE_WITH_CPU_SIM -DPARANOID   -fno-builtin -DNO_ASSEMBLER -I.. -I.
./instrument/stubs -I. -I./stubs reg_mul.c -o reg_mul.o
cc -I./stubs -D__ASSEMBLY__ -DPARANOID -c reg_u_add.S
reg_u_add.S: Assembler messages:
reg_u_add.S:35: Error: "Unknown operator" -- Statement 'pushl %ebp' ignored
reg_u_add.S:36: Warning: Unknown expression: '%esp' defaulting to 0
reg_u_add.S:36: Warning: Unknown expression: '%ebp' defaulting to 0
reg_u_add.S:37: Error: "Unknown operator" -- Statement 'pushl %esi' ignored
reg_u_add.S:38: Error: "Unknown operator" -- Statement 'pushl %edi' ignored
reg_u_add.S:39: Error: "Unknown operator" -- Statement 'pushl %ebx' ignored
reg_u_add.S:41: Error: Ignoring junk after expression
reg_u_add.S:41: Warning: Unknown expression: '%esi' defaulting to 0
reg_u_add.S:42: Error: Ignoring junk after expression
reg_u_add.S:42: Warning: Unknown expression: '%edi' defaulting to 0
reg_u_add.S:44: Error: Ignoring junk after expression
reg_u_add.S:44: Warning: Unknown expression: '%ecx' defaulting to 0
reg_u_add.S:45: Warning: Unknown expression: '%ecx' defaulting to 0
reg_u_add.S:45: Warning: Unknown expression: '%edx' defaulting to 0
reg_u_add.S:46: Error: "instruction/operands mismatch" -- Statement 'subl 32(%eb
p),%ecx' ignored
reg_u_add.S:50: Error: Ignoring junk after expression
reg_u_add.S:50: Warning: Unknown expression: '%ebx' defaulting to 0
reg_u_add.S:51: Error: Ignoring junk after expression
reg_u_add.S:51: Warning: Unknown expression: '%eax' defaulting to 0
reg_u_add.S:53: Warning: Unknown expression: '%edi' defaulting to 0
reg_u_add.S:53: Warning: Unknown expression: '%esi' defaulting to 0
reg_u_add.S:54: Error: Ignoring junk after expression
reg_u_add.S:54: Warning: Unknown expression: '%edx' defaulting to 0
reg_u_add.S:55: Warning: Unknown expression: '%cx' defaulting to 0
reg_u_add.S:60: Error: Ignoring junk after expression
reg_u_add.S:60: Warning: Unknown expression: '%ebx' defaulting to 0
reg_u_add.S:61: Error: Ignoring junk after expression
reg_u_add.S:61: Warning: Unknown expression: '%eax' defaulting to 0
reg_u_add.S:64: Error: Ignoring junk after expression
reg_u_add.S:64: Warning: Unknown expression: '%edi' defaulting to 0
reg_u_add.S:65: Warning: Unknown expression: '%dx' defaulting to 0
reg_u_add.S:65: Error: Ignoring junk after expression
reg_u_add.S:67: Error: "Unknown operator" -- Statement 'xorl %edx,%edx' ignored
reg_u_add.S:70: Error: "Unknown operator" -- Statement 'testl $0x80000000,%eax' 
ignored
reg_u_add.S:71: Error: "Unknown operator" -- Statement 'je L_bugged' ignored
reg_u_add.S:73: Error: "Unknown operator" -- Statement 'testl $0x80000000,4(%esi
)' ignored
reg_u_add.S:74: Error: "Unknown operator" -- Statement 'je L_bugged' ignored
reg_u_add.S:78: Error: "instruction/operands mismatch" -- Statement 'cmpw $32,%c
x' ignored
reg_u_add.S:79: Error: "Unknown operator" -- Statement 'jnc L_more_than_31' igno
red
reg_u_add.S:82: Error: "Unknown operator" -- Statement 'shrd %cl,%ebx,%edx' igno
red
reg_u_add.S:83: Error: "Unknown operator" -- Statement 'shrd %cl,%eax,%ebx' igno
red
reg_u_add.S:84: Error: "Unknown operator" -- Statement 'shr %cl,%eax' ignored
reg_u_add.S:88: Error: "instruction/operands mismatch" -- Statement 'cmpw $64,%c
x' ignored
reg_u_add.S:89: Error: "Unknown operator" -- Statement 'jnc L_more_than_63' igno
red
reg_u_add.S:91: Error: "instruction/operands mismatch" -- Statement 'subb $32,%c
l' ignored
reg_u_add.S:92: Error: "Unknown operator" -- Statement 'jz L_exactly_32' ignored
reg_u_add.S:94: Error: "Unknown operator" -- Statement 'shrd %cl,%eax,%edx' igno
red
reg_u_add.S:95: Error: "Unknown operator" -- Statement 'shr %cl,%eax' ignored
reg_u_add.S:96: Error: "instruction/operands mismatch" -- Statement 'orl %ebx,%e
bx' ignored
reg_u_add.S:97: Error: "Unknown operator" -- Statement 'jz L_more_31_no_low' ign
ored
reg_u_add.S:99: Error: "instruction/operands mismatch" -- Statement 'orl $1,%edx
' ignored
reg_u_add.S:102: Warning: Unknown expression: '%eax' defaulting to 0
reg_u_add.S:102: Warning: Unknown expression: '%ebx' defaulting to 0
reg_u_add.S:103: Error: "Unknown operator" -- Statement 'xorl %eax,%eax' ignored
reg_u_add.S:107: Warning: Unknown expression: '%ebx' defaulting to 0
reg_u_add.S:107: Warning: Unknown expression: '%edx' defaulting to 0
reg_u_add.S:108: Warning: Unknown expression: '%eax' defaulting to 0
reg_u_add.S:108: Warning: Unknown expression: '%ebx' defaulting to 0
reg_u_add.S:109: Error: "Unknown operator" -- Statement 'xorl %eax,%eax' ignored
reg_u_add.S:113: Error: "instruction/operands mismatch" -- Statement 'cmpw $65,%
cx' ignored
reg_u_add.S:114: Error: "Unknown operator" -- Statement 'jnc L_more_than_64' ign
ored
reg_u_add.S:116: Warning: Unknown expression: '%eax' defaulting to 0
reg_u_add.S:116: Warning: Unknown expression: '%edx' defaulting to 0
reg_u_add.S:117: Error: "instruction/operands mismatch" -- Statement 'orl %ebx,%
ebx' ignored
reg_u_add.S:118: Error: "Unknown operator" -- Statement 'jz L_more_63_no_low' ig
nored
reg_u_add.S:120: Error: "instruction/operands mismatch" -- Statement 'orl $1,%ed
x' ignored
reg_u_add.S:124: Warning: Unknown expression: '%edx' defaulting to 0
reg_u_add.S:127: Error: "Unknown operator" -- Statement 'xorl %ebx,%ebx' ignored
reg_u_add.S:128: Error: "Unknown operator" -- Statement 'xorl %eax,%eax' ignored
reg_u_add.S:132: Error: "instruction/operands mismatch" -- Statement 'addl 0(%es
i),%ebx' ignored
reg_u_add.S:133: Error: "Unknown operator" -- Statement 'adcl 4(%esi),%eax' igno
red
reg_u_add.S:134: Error: "Unknown operator" -- Statement 'jnc L_round_the_result'
 ignored
reg_u_add.S:137: Error: "Unknown operator" -- Statement 'rcrl $1,%eax' ignored
reg_u_add.S:138: Error: "Unknown operator" -- Statement 'rcrl $1,%ebx' ignored
reg_u_add.S:139: Error: "Unknown operator" -- Statement 'rcrl $1,%edx' ignored
reg_u_add.S:140: Error: "Unknown operator" -- Statement 'jnc L_no_bit_lost' igno
red
reg_u_add.S:142: Error: "instruction/operands mismatch" -- Statement 'orl $1,%ed
x' ignored
reg_u_add.S:145: Error: "Unknown operator" -- Statement 'incw 8(%edi)' ignored
reg_u_add.S:155: Error: "Unknown operator" -- Statement 'pushl $0x8000' ignored
reg_u_add.S:156: Error: "Unknown operator" -- Statement 'call FPU_exception' ign
ored
reg_u_add.S:157: Error: "Unknown operator" -- Statement 'pop %ebx' ignored
reg_u_add.S:158: Warning: Unknown expression: '%eax' defaulting to 0
reg_u_add.S:162: Error: "Unknown operator" -- Statement 'popl %ebx' ignored
reg_u_add.S:163: Error: "Unknown operator" -- Statement 'popl %edi' ignored
reg_u_add.S:164: Error: "Unknown operator" -- Statement 'popl %esi' ignored
reg_u_add.S:165: Error: "Unknown operator" -- Statement 'leave' ignored
reg_u_add.S:166: Error: "Unknown operator" -- Statement 'ret' ignored
*** Error code 1

Stop.

>How-To-Repeat:

Using pkgsrc.tar.gz dated Apr 1, 2000
cd emulators/bochs
make package
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted: