* [Bug bootstrap/41709] Failing bootstrap in stage 2 while building Ada + C
2009-10-14 16:49 [Bug c/41709] New: " anhvofrcaus at gmail dot com
@ 2009-10-30 17:58 ` ktietz at gcc dot gnu dot org
2009-10-31 2:22 ` anhvofrcaus at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2009-10-30 17:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ktietz at gcc dot gnu dot org 2009-10-30 17:57 -------
(In reply to comment #1)
> gcc-4.5-20091008 snapshot was used. By the way, gcc-4.4.2-RC-20091008 works
> fine.
>
Could you please give us your configuration line? We do bootstraps (until Stage
3) with current 4.5 gcc without issues. Therefore I assume that your issue is
related to your configure, or that you missed to pre-install runtime and/or
headers, or binutils isn't present.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41709
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/41709] Failing bootstrap in stage 2 while building Ada + C
2009-10-14 16:49 [Bug c/41709] New: " anhvofrcaus at gmail dot com
2009-10-30 17:58 ` [Bug bootstrap/41709] " ktietz at gcc dot gnu dot org
@ 2009-10-31 2:22 ` anhvofrcaus at gmail dot com
2009-11-02 20:28 ` anhvofrcaus at gmail dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: anhvofrcaus at gmail dot com @ 2009-10-31 2:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from anhvofrcaus at gmail dot com 2009-10-31 02:22 -------
My binutils may be not be recent enough. Thus, I just updated to the latest
binutils. Currently, I am attempting to repeat the build. I will update the
status after it is complete.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41709
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/41709] Failing bootstrap in stage 2 while building Ada + C
2009-10-14 16:49 [Bug c/41709] New: " anhvofrcaus at gmail dot com
2009-10-30 17:58 ` [Bug bootstrap/41709] " ktietz at gcc dot gnu dot org
2009-10-31 2:22 ` anhvofrcaus at gmail dot com
@ 2009-11-02 20:28 ` anhvofrcaus at gmail dot com
2009-11-02 23:56 ` anhvofrcaus at gmail dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: anhvofrcaus at gmail dot com @ 2009-11-02 20:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from anhvofrcaus at gmail dot com 2009-11-02 20:28 -------
OK, I upgraded to binutils-2.20-1-ming32, this time I got different kind of
failure. It complains about missing gengtype-lex.c with the error message shown
below. I used the most recent of MSYS, too. Here is the version: MINGW32_NT-5.1
GLDLCASC024623 1.0.11(0.46/3/2) 2009-07-11 17:46 i686 Msys
[...]
gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic
-W
no-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition
-Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -Wl,--stack,8388608
-o build/gengenrtl.exe \
build/gengenrtl.o build/errors.o
../build-i686-pc-mingw32/libiberty/
libiberty.a
build/gengenrtl.exe -h > tmp-genrtl.h
/bin/sh ../../gcc-4.5-20091015/gcc/../move-if-change tmp-genrtl.h genrtl.h
echo timestamp > s-genrtl-h
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qu
al -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definit
ion -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I../
../gcc-4.5-20091015/gcc -I../../gcc-4.5-20091015/gcc/build
-I../../gcc-4.5-20091
015/gcc/../include -I./../intl -I../../gcc-4.5-20091015/gcc/../libcpp/include
-I
/c/tools/gmp-4.3.0//include -I/c/tools/mpfr-2.4.1//include
-I../../gcc-4.5-20091
015/gcc/../libdecnumber -I../../gcc-4.5-20091015/gcc/../libdecnumber/dpd
-I../li
bdecnumber \
-o build/gengtype.o ../../gcc-4.5-20091015/gcc/gengtype.c
/c/Gcc/gcc-4.5-20091015/missing flex -ogengtype-lex.c
../../gcc-4.5-20091015/gc
c/gengtype-lex.l
WARNING: `flex' is missing on your system. You should only need it if
you modified a `.l' file. You may need the `Flex' package
in order for those modifications to take effect. You can get
`Flex' from any GNU archive site.
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qu
al -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definit
ion -Wc++-compat -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ib
uild -I../../gcc-4.5-20091015/gcc -I../../gcc-4.5-20091015/gcc/build
-I../../gcc
-4.5-20091015/gcc/../include -I./../intl
-I../../gcc-4.5-20091015/gcc/../libcpp/
include -I/c/tools/gmp-4.3.0//include -I/c/tools/mpfr-2.4.1//include
-I../../gcc
-4.5-20091015/gcc/../libdecnumber
-I../../gcc-4.5-20091015/gcc/../libdecnumber/d
pd -I../libdecnumber \
-o build/gengtype-lex.o gengtype-lex.c
gcc.exe: gengtype-lex.c: No such file or directory
gcc.exe: no input files
make[3]: *** [build/gengtype-lex.o] Error 1
make[3]: Leaving directory `/c/Gcc/Build-4.5.0/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/c/Gcc/Build-4.5.0'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/c/Gcc/Build-4.5.0'
make: *** [all] Error 2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41709
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/41709] Failing bootstrap in stage 2 while building Ada + C
2009-10-14 16:49 [Bug c/41709] New: " anhvofrcaus at gmail dot com
` (2 preceding siblings ...)
2009-11-02 20:28 ` anhvofrcaus at gmail dot com
@ 2009-11-02 23:56 ` anhvofrcaus at gmail dot com
2009-11-03 6:33 ` rwild at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: anhvofrcaus at gmail dot com @ 2009-11-02 23:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from anhvofrcaus at gmail dot com 2009-11-02 23:56 -------
The complain is the direct result of not have flex.exe on my system. After
installing flex, this complain goes away. However, the original problem shows
up again. The configuration for the build is
$ ../gcc-4.5-20091015/configure --enable-languages=ada,c,c++,fortran --with-gmp
=/c/tools/gmp-4.3.0/ --with-mpfr=/c/tools/mpfr-2.4.1/
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41709
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/41709] Failing bootstrap in stage 2 while building Ada + C
2009-10-14 16:49 [Bug c/41709] New: " anhvofrcaus at gmail dot com
` (3 preceding siblings ...)
2009-11-02 23:56 ` anhvofrcaus at gmail dot com
@ 2009-11-03 6:33 ` rwild at gcc dot gnu dot org
2009-11-05 1:00 ` anhvofrcaus at gmail dot com
2009-11-06 19:25 ` anhvofrcaus at gmail dot com
6 siblings, 0 replies; 10+ messages in thread
From: rwild at gcc dot gnu dot org @ 2009-11-03 6:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rwild at gcc dot gnu dot org 2009-11-03 06:32 -------
Well, can you look in /c/Gcc/Build-4.5.0/intl/config.log to find out the
error underlying this failure, as the error message indicates?
--
rwild at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rwild at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41709
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/41709] Failing bootstrap in stage 2 while building Ada + C
2009-10-14 16:49 [Bug c/41709] New: " anhvofrcaus at gmail dot com
` (4 preceding siblings ...)
2009-11-03 6:33 ` rwild at gcc dot gnu dot org
@ 2009-11-05 1:00 ` anhvofrcaus at gmail dot com
2009-11-06 19:25 ` anhvofrcaus at gmail dot com
6 siblings, 0 replies; 10+ messages in thread
From: anhvofrcaus at gmail dot com @ 2009-11-05 1:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from anhvofrcaus at gmail dot com 2009-11-05 01:00 -------
I did look at it. However, I do not understand it thinks ./a.exe has bad file
number as shown in the fragment of the /intl/config.log. The question is how
can I fix this problem? Thanks.
[...]
configure:2947: /c/Gcc/Build-Test/./prev-gcc/xgcc
-B/c/Gcc/Build-Test/./prev-gcc/ -B/usr/local/i686-pc-mingw32/bin/
-L/c/Gcc/Build-Test/i686-pc-mingw32/winsup/mingw
-L/c/Gcc/Build-Test/i686-pc-mingw32/winsup/w32api/lib -isystem
/c/Gcc/gcc-4.5-20091015/winsup/mingw/include -isystem
/c/Gcc/gcc-4.5-20091015/winsup/w32api/include -B/usr/local/i686-pc-mingw32/bin/
-B/usr/local/i686-pc-mingw32/lib/ -isystem /usr/local/i686-pc-mingw32/include
-isystem /usr/local/i686-pc-mingw32/sys-include -qversion >&5
xgcc.exe: unrecognized option '-qversion'
xgcc.exe: no input files
configure:2958: $? = 1
configure:2978: checking for C compiler default output file name
configure:3000: /c/Gcc/Build-Test/./prev-gcc/xgcc
-B/c/Gcc/Build-Test/./prev-gcc/ -B/usr/local/i686-pc-mingw32/bin/
-L/c/Gcc/Build-Test/i686-pc-mingw32/winsup/mingw
-L/c/Gcc/Build-Test/i686-pc-mingw32/winsup/w32api/lib -isystem
/c/Gcc/gcc-4.5-20091015/winsup/mingw/include -isystem
/c/Gcc/gcc-4.5-20091015/winsup/w32api/include -B/usr/local/i686-pc-mingw32/bin/
-B/usr/local/i686-pc-mingw32/lib/ -isystem /usr/local/i686-pc-mingw32/include
-isystem /usr/local/i686-pc-mingw32/sys-include -g -O2 -D__USE_MINGW_ACCESS
-Wno-pedantic-ms-format -gtoggle conftest.c >&5
Warning: .drectve `-aligncomm:___CTOR_LIST__,2 ' unrecognized
Warning: .drectve `-aligncomm:___DTOR_LIST__,2' unrecognized
configure:3004: $? = 0
configure:3041: result: a.exe
configure:3057: checking whether the C compiler works
configure:3066: ./a.exe
/c/Gcc/gcc-4.5-20091015/intl/configure: line 3068: ./a.exe: Bad file number
configure:3070: $? = 126
configure:3077: error: in `/c/Gcc/Build-Test/intl':
configure:3081: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41709
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/41709] Failing bootstrap in stage 2 while building Ada + C
2009-10-14 16:49 [Bug c/41709] New: " anhvofrcaus at gmail dot com
` (5 preceding siblings ...)
2009-11-05 1:00 ` anhvofrcaus at gmail dot com
@ 2009-11-06 19:25 ` anhvofrcaus at gmail dot com
6 siblings, 0 replies; 10+ messages in thread
From: anhvofrcaus at gmail dot com @ 2009-11-06 19:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from anhvofrcaus at gmail dot com 2009-11-06 19:24 -------
Just wanted to mention that the same build, same configuration, was successful
on gcc-4.4.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41709
^ permalink raw reply [flat|nested] 10+ messages in thread