Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 11:27:09 -0500 (EST)
From:      Valentin Chopov <valentin@valcho.net>
To:        freebsd-current@freebsd.org
Subject:   asm error in compiling SMP kernel
Message-ID:  <Pine.BSF.4.21.0012061124260.45110-100000@valcho.net>

next in thread | raw e-mail | index | archive | help
I got this one this time.

Val


cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I. -I../.. -I../../../include -I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf -march=i686 -mpreferred-stack-boundary=2  ../../cam/cam_periph.c
../../cam/cam_periph.c: In function `cam_periph_unmapmem':
../../cam/cam_periph.c:687: internal error--unrecognizable insn:
(insn/i 287 1124 288 (parallel[ 
            (set (mem/s/v:SI (plus:SI (reg:SI 0 %eax)
                        (const_int 284 [0x11c])) 0)
                (asm_operands/v ("	lock ; 	cmpxchgl %4,%0;	jz	1f;	pushl	%2;	pushl	%3;	call	mtx_exit_hard;	addl	$8,%%esp;1:# exitlock_norecurse") ("=m") 0[ 
                        (const_int 0 [0x0])
                        (reg/v:SI 4 %esi)
                        (reg:SI 5 %edi)
                        (mem/s/v:SI (plus:SI (reg:SI 3 %ebx)
                                (const_int 284 [0x11c])) 0)
                        (reg:SI 0 %eax)
                    ] 
                    [ 
                        (asm_input:SI ("gi"))
                        (asm_input:SI ("g"))
                        (asm_input:SI ("r"))
                        (asm_input:SI ("0"))
                        (asm_input:SI ("1"))
                    ]  ("../../sys/mutex.h") 601))
            (set (reg:SI 0 %eax)
                (asm_operands/v ("	lock ; 	cmpxchgl %4,%0;	jz	1f;	pushl	%2;	pushl	%3;	call	mtx_exit_hard;	addl	$8,%%esp;1:# exitlock_norecurse") ("=a") 1[ 
                        (const_int 0 [0x0])
                        (reg/v:SI 4 %esi)
                        (reg:SI 5 %edi)
                        (mem/s/v:SI (plus:SI (reg:SI 3 %ebx)
                                (const_int 284 [0x11c])) 0)
                        (reg:SI 0 %eax)
                    ] 
                    [ 
                        (asm_input:SI ("gi"))
                        (asm_input:SI ("g"))
                        (asm_input:SI ("r"))
                        (asm_input:SI ("0"))
                        (asm_input:SI ("1"))
                    ]  ("../../sys/mutex.h") 601))
            (clobber (reg:QI 1 %dl))
            (clobber (reg:QI 2 %cl))
            (clobber (mem:BLK (scratch) 0))
        ] ) -1 (insn_list 286 (nil))
    (nil))
*** Error code 1

Stop in /usr/src/sys/compile/SQUID.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012061124260.45110-100000>