public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21934] New: Bison files are missing or misnamed under MINGW
@ 2005-06-06 20:03 dcorbit at connx dot com
2005-06-06 20:08 ` [Bug bootstrap/21934] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dcorbit at connx dot com @ 2005-06-06 20:03 UTC (permalink / raw)
To: gcc-bugs
The product area is a wild guess. Probably, you should pay no attention to it.
Here is the output of make, after the failure has occurred (to shorten the
output size):
==============================================================================
$ make
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -
O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/bin/install -
c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -
c" "INSTALL_SCRIPT=/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -
O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-
size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"
"RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/i
nfo" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/i686-pc-
mingw32" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -
O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/zlib'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libiberty'
make[2]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libiberty/testsuite'
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libiberty'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fastjar'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -
O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/bin/install -
c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -
c" "INSTALL_SCRIPT=/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -
O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-
size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "exec_prefix=/us
r/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "
AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -
O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" all-am
make[2]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fastjar'
perl ../.././fastjar/../contrib/texi2pod.pl -D
fastjar ../.././fastjar/fastjar.texi > fastjar.pod
(pod2man --center="GNU" --release="gcc-4.1.0" --section=1 fastjar.pod >
fastjar.1.T$$ && \
mv -f fastjar.1.T$$ fastjar.1) || \
(rm -f fastjar.1.T$$ && exit 1)
/bin/sh: pod2man: command not found
make[2]: [fastjar.1] Error 1 (ignored)
perl ../.././fastjar/../contrib/texi2pod.pl -D
grepjar ../.././fastjar/fastjar.texi > grepjar.pod
(pod2man --center="GNU" --release="gcc-4.1.0" --section=1 grepjar.pod >
grepjar.1.T$$ && \
mv -f grepjar.1.T$$ grepjar.1) || \
(rm -f grepjar.1.T$$ && exit 1)
/bin/sh: pod2man: command not found
make[2]: [grepjar.1] Error 1 (ignored)
rm fastjar.pod grepjar.pod
make[2]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fastjar'
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fastjar'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fixincludes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fixincludes'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/intl'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/libiberty'
make[2]: Entering directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/libiberty/testsuite'
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/libiberty'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/fixincludes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/fixincludes'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libcpp'
test -d po || mkdir po
: --statistics -o po/be.gmo ../.././libcpp/po/be.po
test -d po || mkdir po
: --statistics -o po/ca.gmo ../.././libcpp/po/ca.po
test -d po || mkdir po
: --statistics -o po/da.gmo ../.././libcpp/po/da.po
test -d po || mkdir po
: --statistics -o po/de.gmo ../.././libcpp/po/de.po
test -d po || mkdir po
: --statistics -o po/el.gmo ../.././libcpp/po/el.po
test -d po || mkdir po
: --statistics -o po/es.gmo ../.././libcpp/po/es.po
test -d po || mkdir po
: --statistics -o po/fr.gmo ../.././libcpp/po/fr.po
test -d po || mkdir po
: --statistics -o po/ja.gmo ../.././libcpp/po/ja.po
test -d po || mkdir po
: --statistics -o po/nl.gmo ../.././libcpp/po/nl.po
test -d po || mkdir po
: --statistics -o po/rw.gmo ../.././libcpp/po/rw.po
test -d po || mkdir po
: --statistics -o po/sv.gmo ../.././libcpp/po/sv.po
test -d po || mkdir po
: --statistics -o po/tr.gmo ../.././libcpp/po/tr.po
test -d po || mkdir po
: --statistics -o po/vi.gmo ../.././libcpp/po/vi.po
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/libcpp'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/gcc'
test -d po || mkdir po
: --statistics -o po/be.gmo ../.././gcc/po/be.po
test -d po || mkdir po
: --statistics -o po/ca.gmo ../.././gcc/po/ca.po
test -d po || mkdir po
: --statistics -o po/da.gmo ../.././gcc/po/da.po
test -d po || mkdir po
: --statistics -o po/de.gmo ../.././gcc/po/de.po
test -d po || mkdir po
: --statistics -o po/el.gmo ../.././gcc/po/el.po
test -d po || mkdir po
: --statistics -o po/es.gmo ../.././gcc/po/es.po
test -d po || mkdir po
: --statistics -o po/fr.gmo ../.././gcc/po/fr.po
test -d po || mkdir po
: --statistics -o po/ja.gmo ../.././gcc/po/ja.po
test -d po || mkdir po
: --statistics -o po/nl.gmo ../.././gcc/po/nl.po
test -d po || mkdir po
: --statistics -o po/rw.gmo ../.././gcc/po/rw.po
test -d po || mkdir po
: --statistics -o po/sv.gmo ../.././gcc/po/sv.po
test -d po || mkdir po
: --statistics -o po/tr.gmo ../.././gcc/po/tr.po
test -d po || mkdir po
: --statistics -o po/zh_CN.gmo ../.././gcc/po/zh_CN.po
bison -d -o gengtype-yacc.c ../.././gcc/gengtype-yacc.y
bison.cc: No such file or directory
c:\utils\bison.exe: make[1]: [gengtype-yacc.h] Error 2 (ignored)
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-
definition -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -
Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include -I./../intl -
I../.././gcc/../libcpp/include \
-o build/gengtype-lex.o gengtype-lex.c
../.././gcc/gengtype-lex.l:31:27: error: gengtype-yacc.h: No such file or
directory
../.././gcc/gengtype-lex.l: In function 'yylex':
../.././gcc/gengtype-lex.l:222: error: 'yylval' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:222: error: (Each undeclared identifier is reported
only once
../.././gcc/gengtype-lex.l:222: error: for each function it appears in.)
../.././gcc/gengtype-lex.l:227: error: 'ENT_TYPEDEF_STRUCT' undeclared (first
use in this function)
../.././gcc/gengtype-lex.l:227: error: 'ENT_STRUCT' undeclared (first use in
this function)
../.././gcc/gengtype-lex.l:233: error: 'ENT_EXTERNSTATIC' undeclared (first use
in this function)
../.././gcc/gengtype-lex.l:239: error: 'ENT_YACCUNION' undeclared (first use in
this function)
../.././gcc/gengtype-lex.l:287: error: 'GTY_TOKEN' undeclared (first use in
this function)
../.././gcc/gengtype-lex.l:288: error: 'UNION' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:289: error: 'STRUCT' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:290: error: 'ENUM' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:291: error: 'ALIAS' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:292: error: 'NESTED_PTR' undeclared (first use in
this function)
../.././gcc/gengtype-lex.l:293: error: 'NUM' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:296: error: 'PARAM_IS' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:308: error: 'SCALAR' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:329: error: 'ID' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:339: error: 'STRING' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:343: error: 'ARRAY' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:347: error: 'PERCENT_ID' undeclared (first use in
this function)
../.././gcc/gengtype-lex.l:351: error: 'CHAR' undeclared (first use in this
function)
../.././gcc/gengtype-lex.l:367: error: 'PERCENTPERCENT' undeclared (first use
in this function)
gengtype-lex.c: In function 'yy_get_next_buffer':
gengtype-lex.c:2658: warning: old-style function definition
gengtype-lex.c: In function 'yy_get_previous_state':
gengtype-lex.c:2790: warning: old-style function definition
gengtype-lex.c: In function 'input':
gengtype-lex.c:2903: warning: old-style function definition
make[1]: *** [build/gengtype-lex.o] Error 1
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/gcc'
make: *** [all-gcc] Error 2
dcorbit@DCORBIT64 /mingw/gcc-4.1-20050604
==============================================================================
There is a similarly named file:
==============================================================================
C:\mingw\gcc-4.1-20050604>dir /s geng*.h
Volume in drive C has no label.
Volume Serial Number is 0890-87CA
Directory of C:\mingw\gcc-4.1-20050604\gcc
08/02/2004 05:48 AM 5,252 gengtype.h
1 File(s) 5,252 bytes
Total Files Listed:
1 File(s) 5,252 bytes
0 Dir(s) 36,015,398,912 bytes free
==============================================================================
The Bison file bison.cc is missing:
==============================================================================
C:\mingw\gcc-4.1-20050604>dir /s bison.*
Volume in drive C has no label.
Volume Serial Number is 0890-87CA
File Not Found
==============================================================================
Probably, it is a problem with the MINGW distribution, but possibly in the
compiler. Or perhaps a certain version of Bison is intended to be included in
the GCC distribution but was forgotten.
I ran a test against today's snapshot, because I received an email that bug
21777 was fixed. Currently, I cannot build the compiler to test it for myself.
==============================================================================
--
Summary: Bison files are missing or misnamed under MINGW
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcorbit at connx dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21934
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/21934] Bison files are missing or misnamed under MINGW
2005-06-06 20:03 [Bug c++/21934] New: Bison files are missing or misnamed under MINGW dcorbit at connx dot com
@ 2005-06-06 20:08 ` pinskia at gcc dot gnu dot org
2005-06-06 20:09 ` dcorbit at connx dot com
2005-06-06 20:13 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-06 20:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-06 20:08 -------
Do you have bison installed, if not you need it to compile a snapshot?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Component|c++ |bootstrap
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21934
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/21934] Bison files are missing or misnamed under MINGW
2005-06-06 20:03 [Bug c++/21934] New: Bison files are missing or misnamed under MINGW dcorbit at connx dot com
2005-06-06 20:08 ` [Bug bootstrap/21934] " pinskia at gcc dot gnu dot org
@ 2005-06-06 20:09 ` dcorbit at connx dot com
2005-06-06 20:13 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: dcorbit at connx dot com @ 2005-06-06 20:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dcorbit at connx dot com 2005-06-06 20:09 -------
Subject: RE: Bison files are missing or misnamed under MINGW
Perhaps this version is not new enough:
dcorbit@DCORBIT64 /mingw/gcc-4.1-20050604
$ bison --version
bison++ Version 1.21-7, adapted from GNU bison by coetmeur@icdc.fr
dcorbit@DCORBIT64 /mingw/gcc-4.1-20050604
> -----Original Message-----
> From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
> Sent: Monday, June 06, 2005 1:08 PM
> To: Dann Corbit
> Subject: [Bug bootstrap/21934] Bison files are missing or misnamed
under
> MINGW
>
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org
2005-06-
> 06 20:08 -------
> Do you have bison installed, if not you need it to compile a snapshot?
>
> --
> What |Removed |Added
>
------------------------------------------------------------------------
--
> --
> Status|UNCONFIRMED |WAITING
> Component|c++ |bootstrap
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21934
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21934
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/21934] Bison files are missing or misnamed under MINGW
2005-06-06 20:03 [Bug c++/21934] New: Bison files are missing or misnamed under MINGW dcorbit at connx dot com
2005-06-06 20:08 ` [Bug bootstrap/21934] " pinskia at gcc dot gnu dot org
2005-06-06 20:09 ` dcorbit at connx dot com
@ 2005-06-06 20:13 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-06 20:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-06 20:13 -------
Yep that is it:
<http://gcc.gnu.org/install/prerequisites.html>:
GNU Bison version 1.28 (or later)
Berkeley yacc (byacc) is also reported to work other than for java.
Necessary when modifying *.y files.
Necessary to build GCC during development because the generated output files are not included in the
CVS repository. They are included in releases.
Not a bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21934
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-06-06 20:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 20:03 [Bug c++/21934] New: Bison files are missing or misnamed under MINGW dcorbit at connx dot com
2005-06-06 20:08 ` [Bug bootstrap/21934] " pinskia at gcc dot gnu dot org
2005-06-06 20:09 ` dcorbit at connx dot com
2005-06-06 20:13 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).