Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2000 11:05:53 +0300
From:      "Igor B. Bykhalo" <goshik@binep.ac.ru>
To:        "-questions@FreeBSD" <freebsd-questions@freebsd.org>
Cc:        "-stable@FreeBSD" <freebsd-stable@freebsd.org>
Subject:   Compilation errors: "Could not find a spill register" - any ideas?
Message-ID:  <01bfe657$d7feb380$0000e9c1@serv2.binep.ac.ru>

next in thread | raw e-mail | index | archive | help
After yesterday's CVSup at 13:00 MSK I made a buildworld
and installworld of 4.0-STABLE (not an upgrade from 3.x).
These completed successfully, but then strange things happened
(2 attempts to build kernel and 1 to compile sysinstall):

-----8<--------
In /usr/src
#make buildkernel

--------------------------------------------------------------
>>> Rebuilding kernel(s)
--------------------------------------------------------------
===> BOLT
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf;
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
config -r -d /usr/obj/usr/src/sys/BOLT BOLT
Removing old directory /usr/obj/usr/src/sys/BOLT:  Done.
Don't forget to do a ``make depend''
Kernel build directory is /usr/obj/usr/src/sys/BOLT
cd /usr/obj/usr/src/sys/BOLT;  MAKESRCPATH=/usr/src/sys/dev/aic7xxx  make -f usr/src/sys/dev/aic7xxx/Makefile;
MAKEOBJDIRPREFIX=/usr/obj  COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin
LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib  OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503  DESTDIR=/usr/obj/usr/src/i386  INSTALL="sh /usr/src/tools/install.sh"
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
MACHINE=i386 KERNEL=BOLT  make depend;  MAKEOBJDIRPREFIX=/usr/obj
COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin
LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib  OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503  DESTDIR=/usr/obj/usr/src/i386  INSTALL="sh /usr/src/tools/install.sh"
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/
i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin MACHINE=i386 KERNEL=BOLT make all
Warning: Object directory not changed from original /usr/obj/usr/src/sys/BOLT
yacc -d /usr/src/sys/dev/aic7xxx/aicasm_gram.y
mv y.tab.c aicasm_gram.c
cc -O -pipe -I/usr/include -I.   -c aicasm_gram.c
/usr/src/sys/dev/aic7xxx/aicasm_gram.y: In function `process_bitmask':
/usr/src/sys/dev/aic7xxx/aicasm_gram.y:1019: Could not find a spill register
(insn 87 85 89 (set (mem/s:QI (plus:SI (reg:SI 0 %eax)
                (const_int 4 [0x4])) 0)
        (subreg:QI (reg/v:SI 5 %edi) 0)) 58 {movqi+1} (insn_list 85 (nil))
    (expr_list:REG_DEAD (reg:SI 0 %eax)
        (nil)))
cpp: output pipe has been closed
*** Error code 1

Stop in /usr/obj/usr/src/sys/BOLT.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

-----8<--------

In /sys/compile/BOLT after config -r BOLT:
#make depend
[completes fine]
#make
cc -c -x
assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -W
inline -Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include
pt_global.h -elf  -mpreferred-stack-boundary=2 ../../i386/i386/locore.s
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -f
format-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include
pt_global.h -elf  -mpreferred-stack-boundary=2  device_if.c
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -f
format-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include
pt_global.h -elf  -mpreferred-stack-boundary=2  bus_if.c
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -f
format-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include
pt_global.h -elf  -mpreferred-stack-boundary=2  ../../dev/ed/if_ed_pci.c
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -f
format-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include
pt_global.h -elf  -mpreferred-stack-boundary=2  ppbus_if.c
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -f
format-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include
pt_global.h -elf  -mpreferred-stack-boundary=2  ../../dev/ppbus/lpt.c
../../dev/ppbus/lpt.c: In function `lpt_port_test':
../../dev/ppbus/lpt.c:260: Could not find a spill register
(insn 12 8 13 (set (reg/v:QI 25)
        (mem:QI (plus:SI (reg:SI 6 %ebp)
                (const_int 16 [0x10])) 0)) 58 {movqi+1} (nil)
    (nil))
*** Error code 1

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

-----8<--------

In /usr/src/release/sysinstall:
#make
Warning: Object directory not changed from original /usr/src/release/sysinstall
cc -O -pipe -Wall -I/usr/src/release/sysinstall/../../gnu/lib/libdialog -I/usr/src/release/sysinstall -I/usr/src/release/sysinstall/
../../sys   -c anonFTP.c
anonFTP.c: In function `configAnonFTP':
anonFTP.c:314: Could not find a spill register
(insn 107 106 108 (parallel[
            (set (reg:SI 2 %ecx)
                (unspec:SI[
                        (mem:BLK (reg:SI 5 %edi) 0)
                        (const_int 0 [0x0])
                        (const_int 1 [0x1])
                    ]  0))
            (clobber (reg:SI 5 %edi))
        ] ) 411 {strlensi+1} (insn_list 106 (nil))
    (expr_list:REG_UNUSED (reg:SI 5 %edi)
        (nil)))
*** Error code 1

Stop in /usr/src/release/sysinstall.
-----8<--------

I've never seen this error before...
Anyone can shed the light on what's going on there?

Thanks,
Igor





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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bfe657$d7feb380$0000e9c1>