bin/85115: byacc generates uncompileable file
dirk.meyer at dinoex.sub.org
dirk.meyer at dinoex.sub.org
Fri Aug 19 06:40:19 GMT 2005
>Number: 85115
>Category: bin
>Synopsis: byacc generates uncompileable file
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 19 06:40:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Dirk Meyer
>Release: FreeBSD 5.4-STABLE 6.0-BETA1
>Organization:
privat
>Environment:
byacc
>Description:
when ports/lang/objc compiled
This reults into a compiler error:
byacc -d yacc.ym
byacc: 6 shift/reduce conflicts
byacc: 48 reduce/reduce conflicts
cp -p y.tab.h yacc.h
cp -p y.tab.c yacc.m
/data/image/usr/ports/current/objc/work/bin/objc -c -DNDEBUG -O2 -I. -noI -I../../include/objcrt -I../../include/objpak
-I../oclib yacc.m
yacc.m:6: fatal: syntax error "static"
Portable Object Compiler 3.1.33 (c) 1997, 98, 99, 2000, 01, 02.
Distributed under the terms of the GNU LGPL.
*** Error code 1
byacc generates some incorectd lines:
#include <stdlib.h>
#ifndef lint
#ifdef __unused
__unused
#endif
static char const
yyrcsid[] = "$FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.37 2003/02/12 18:03:55 davidc Exp $";
#endif
>How-To-Repeat:
build ports/lang/objc
>Fix:
Please check and see why byacc generates "__unused"
Workaround:
CFLAGS += -Dlint to avoid the lines generated.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list