Date: Sun, 30 Jul 1995 19:35:33 -0600 From: Steve Passe <fbsd@clem.systemsix.com> To: questions@freeBSD.org Message-ID: <199507310135.TAA23274@clem.systemsix.com>
next in thread | raw e-mail | index | archive | help
Hello, Just installed 2.1.0-950726-SNAP, really like the improvement in the install process since 2.0! The only problem I had was the need for the '-alldirs' directive on the host holding the NFS source, the 2.0 script allowed me to mount '/usr' then provide a path from there. I attempted to port X11R6/XFree86-3.1 directly from my source tree (used for various OS's), ran into two problems for which I found no patches in ports-CURRENT: 1: the source expects to find /usr/include/machine/ioctl_pc.h which isn't there, I copied the one from 1.1.5.1 and this was resolved. WHat is the proper fix? 2: compiling the SVGA server causes: ..... making all in programs/Xserver/hw/xfree86/vga256/vga... rm -f vgafillarcC.o gcc -c -m486 -O2 -I. -I../../../../../../programs/Xserver/hw/xfree86/common -I ../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../../pro grams/Xserver/hw/xfree86/common_hw -I../../../../../../programs/Xserv er/cfb -I../../../../../../programs/Xserver/mfb -I../../../../../../programs/Xse rver/mi -I../../../../../../programs/Xserver/include -I../../../.. /../../X11 -I../../../../../../include/fonts -I../vgainit -I../../../. ./../.. -DSHAPE -DGCCUSESGAS -DAVOID_GLYPHBLT -DFUNCPROTO=15 -DNARROWPROT O -DPSZ=8 -DRROP=GXcopy vgafillarcC.c vgafillarcC.c: In function `vga256FillEllipseSolidCopy': vgafillarcC.c:119: duplicate label declaration `label1' vgafillarcC.c:105: this is a previous declaration vgafillarcC.c:119: duplicate label `label1' *** Error code 1 Stop. ..... I distilled the problem down to the following sample. It compiles without problem under 1.1.5.1/gcc-2.4.5 but FAILs as follows under 2.1.0/gcc-2.6.3: #define XXX() \ { \ __label__ label1; \ { \ label1: \ } \ x += 1; \ } foo() { int x; XXX(); XXX(); } % gcc label.c label.c: In function `foo': label.c:15: duplicate label declaration `label1' label.c:14: this is a previous declaration label.c:15: duplicate label `label1' the inner brackets evidently no longer localize the scope of "label1". Should the X11 source be fixed or is this a bug in gcc-2.6.3? Steve Passe smp@clem.systemsix.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507310135.TAA23274>