Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 1996 11:08:21 -0400
From:      "Frank E. Terhaar-Yonkers" <fty@mcnc.org>
To:        freebsd-stable@FreeBSD.ORG
Subject:   sporadic compiler error with O2 and -pipe
Message-ID:  <199607161508.LAA23587@robin.mcnc.org.mcnc.org>

next in thread | raw e-mail | index | archive | help

Every now and then I get the following when I compile the kernel.

It's always the same .c file, and it never fails if I leave off -pipe
or use -O instead of -O2.  Any ideas?  System is a Tyan Tomcat/CY120+,
2.1.5r.

Thanks - Frank
===================================================
cc -c -O2 -pipe -m486 -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  
-nostdinc -I. -I../.. -I../../sys -I../../../include -DLOCO -DI486_CPU 
-DMAXCONS=4 -DXSERVER -DPROBE_VERBOSE -DDODUMP -DDDB -DSYSVMSG -DSYSVSEM
 -DSYSVSHM -DNCONS=4 -DUCONSOLE -DSCSI_REPORT_GEOMETRY -DSCSI_DELAY=10 
-DCOMPAT_43 -DKTRACE -DPROCFS -DMSDOSFS -DARP_PROXYALL -DGATEWAY -DFFS 
-DINET -DBOUNCE_BUFFERS -DUSER_LDT -DNMBCLUSTERS=4096 -DKERNEL -Di386 
-DLOAD_ADDRESS=0xF0100000  ../../msdosfs/msdosfs_vnops.c
../../msdosfs/msdosfs_vnops.c: In function `msdosfs_write':
../../msdosfs/msdosfs_vnops.c:769: internal error--insn does not satisfy its constraints:
(insn 398 1118 1121 (parallel[ 
            (set (mem:DI (plus:SI (reg:SI 6 %ebp)
                        (const_int -72)))
                (plus:DI (mem/s:DI (plus:SI (reg:SI 2 %ecx)
                            (const_int 8)))
                    (mem:DI (plus:SI (reg:SI 6 %ebp)
                            (const_int -80)))))
            (clobber (scratch:SI))
        ] ) 127 {adddi3} (insn_list 397 (nil))
    (expr_list:REG_DEAD (mem:DI (plus:SI (reg:SI 6 %ebp)
                (const_int -80)))
        (expr_list:REG_UNUSED (scratch:SI)
            (nil))))
cpp: output pipe has been closed
cc: Internal compiler error: program cc1 got fatal signal 6
*** Error code 1

Stop.
{standard input}: Assembler messages:
{standard input}:1349: Error: Local symbol L301 never defined.
{standard input}:1349: Error: Local symbol L300 never defined.
{standard input}:1349: Error: Local symbol L267 never defined.
{standard input}:1349: Error: Local symbol L302 never defined.
{standard input}:1349: Error: Local symbol L276 never defined.
{standard input}:1349: Fatal error:5 errors, 0 warnings, no object file generated.



\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
Frank Terhaar-Yonkers,  Manager
High Performance Computing and Communications Research
MCNC
PO Box 12889	3021 Cornwallis Road
Research Triangle Park,  North Carolina  27709-2889
fty@mcnc.org   voice (919)248-1417   FAX (919)248-1455

http://www.mcnc.org/hpcc.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607161508.LAA23587>