Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 1995 15:48:12 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        Ollivier.Robert@keltia.frmug.fr.net, freebsd-current@FreeBSD.org
Subject:   Re: Pb with pcvt's utils
Message-ID:  <199504200548.PAA03506@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>-current from 19950417080002 ctm#565

>/usr/src/usr.sbin/pcvt :

>===> pcvt/vgaio
>yacc -d /src/src/usr.sbin/pcvt/vgaio/vgaio.y
>yacc: 2 shift/reduce conflicts.
>cc -O -m486 -pipe -I /src/src/usr.sbin/pcvt/vgaio/obj -I /src/src/usr.sbin/pcvt/vgaio -g   -c y.tab.c -o vgaio.o
    ^^
>/usr/include/machine/cpufunc.h: In function `getreg':
>/usr/include/machine/cpufunc.h:203: impossible register constraint in `asm'

This seems to be a compiler bug.  The compile works with the default CFLAGS
of -O2.  The asms in cpufunc.h work in the kernel with -O.  They never work
with -O0.

Why does `make' delete the C source file created by yacc?  `make depend'
cannot work right without this source file.

Bruce



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