Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Verilog-Perl CPAN distribution.

Report information
The Basics
Id: 44820
Status: rejected
Priority: 0/
Queue: Verilog-Perl

People
Owner: Nobody in particular
Requestors: rlewandowski.junkmail [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error building Verilog-Perl 3.121
Date: Mon, 6 Apr 2009 09:43:31 -0600
To: bug-Verilog-Perl [...] rt.cpan.org
From: Ryan Lewandowski <rlewandowski.junkmail [...] gmail.com>
Download (untitled) / with headers
text/plain 987b
I was just trying to build Verilog-Perl 3.121 and ran into an error while running make. I saw a similar error reported before, but no solution: make[1]: Entering directory `/tmp_mnt/net/farmall/mnt/homes2/lewandor/temp/Verilog-Perl-3.121/Parser' /opt/ictools/perl/bin/perl callbackgen g++ -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fPIC -DPIC -fno-strict-aliasing -I/opt/ictools/db/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I../Preproc -O3 -DVERSION=\"3.121\" -DXS_VERSION=\"3.121\" -fpic "-I/opt/ictools/perl/lib/5.8.3/i686-linux-thread-multi/CORE" VParseBison.c VParseBison.c: In function `int VParseBisonparse()': VParseBison.c:12090: error: syntax error before `goto' make[1]: *** [VParseBison.o] Error 1 make[1]: Leaving directory `/tmp_mnt/net/farmall/mnt/homes2/lewandor/temp/Verilog-Perl-3.121/Parser' make: *** [subdirs] Error 2 Perl Version: 5.8.3 OS Version: GNU/Linux 2.6.9-78.0.5.ELsmp #1 SMP Wed Sep 24 05:40:24 EDT 2008 Thanks
Download (untitled) / with headers
text/plain 206b
Show quoted text
> VParseBison.c: In function `int VParseBisonparse()': > VParseBison.c:12090: error: syntax error before `goto'
That's a generated file. Which version of bison? What do the lines around 12090 look like?
Subject: Re: [rt.cpan.org #44820] Error building Verilog-Perl 3.121
Date: Mon, 6 Apr 2009 11:18:20 -0600
To: bug-Verilog-Perl [...] rt.cpan.org
From: Ryan Lewandowski <rlewandowski.junkmail [...] gmail.com>
Download (untitled) / with headers
text/plain 831b
Bison version is 1.875 VParseBison.c 12079:12093 /*----------------------------------------------------. | yyerrlab1 -- error raised explicitly by an action. | `----------------------------------------------------*/ yyerrlab1: /* Suppress GCC warning that yyerrlab1 is unused when no action invokes YYERROR. */ #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) __attribute__ ((__unused__)) #endif goto yyerrlab2; On Mon, Apr 6, 2009 at 9:51 AM, Wilson Snyder via RT <bug-Verilog-Perl@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=44820 > >
>> VParseBison.c: In function `int VParseBisonparse()': >> VParseBison.c:12090: error: syntax error before `goto'
> > That's a generated file.  Which version of bison? > > What do the lines around 12090 look like? > >
Download (untitled) / with headers
text/plain 1.1k
I don't see anything obviously wrong with what you attached, it must be something more subtle. Since my bison output looks differently, you'll unfortunately have to debug it at your end. Try the gcc command line that fails, but just run the preprocessor (-E), and see if you can see anything wrong. g++ -E -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fPIC -DPIC -fno-strict-aliasing -I/opt/ictools/db/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I../Preproc -O3 -DVERSION=\"3.121\" -DXS_VERSION=\"3.121\" -fpic "-I/opt/ictools/perl/lib/5.8.3/i686-linux-thread-multi/CORE" VParseBison.c Show quoted text
> VParseBison.i
egrep -v "^#" < VParseBison.i > VParseBison.i.c g++ -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fPIC -DPIC -fno-strict-aliasing -I/opt/ictools/db/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I../Preproc -O3 -DVERSION=\"3.121\" -DXS_VERSION=\"3.121\" -fpic "-I/opt/ictools/perl/lib/5.8.3/i686-linux-thread-multi/CORE" VParseBison.i.c Then look around the line # it complains about. If it's not obvious include the whole VParseBison.i.c file before the egrep.
Closing due to no reply; if still problems please use the issue tracker at veripool.org, thanks.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.