Subject: brocken gcc or library ?
To: None <current-users@NetBSD.ORG>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: current-users
Date: 02/15/1995 13:48:49
Hi,

I am in the process to make an new X11R6 with the fixes1-11 on current (amiga).
But I got many trobles with it. I had no problems with it when I made it
in January with the fixes1-4 on current.
I found that the fix-11 from the xconsortium use:

#define DefaultCCOptions        -ansi -Dasm=__asm

which produces some 'Undefined symbol' in Xserver/cfb and mfb, so I changed
it to:

#define DefaultCCOptions /**/

and that works now, BUT I get this in Xserver/cfb:

gcc -c -I. -I../mfb -I../mi -I../include -I../../../X11
-I../../../include/fonts -I../../../X11 -I../../.. -DCSRG_BASED
-DSHAPE -DXKB -DGCCUSESGAS -DPSZ=8 cfbtegblt.c
cfbtegblt.c: In function `cfbTEGlyphBlt':
cfbtegblt.c:189: inconsistent operand constraints in an `asm'
cfbtegblt.c:189: inconsistent operand constraints in an `asm'

This file compiled fine under the January current and this source has NO
changes since April last year.

Mmh, I get no error with -ansi, but my Makefile in january had no -ansi in it
and it works.

Bernd