Date: Fri, 19 Aug 2005 08:38:30 +0200 (CEST) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/85115: byacc generates uncompileable file Message-ID: <200508190638.j7J6cU01087272@home.dinoex.sub.de> Resent-Message-ID: <200508190640.j7J6eIJb048022@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508190638.j7J6cU01087272>