* Failure bootstrapping GCC trunk on Cygwin
@ 2013-06-03 22:07 Angelo Graziosi
2013-06-05 9:54 ` Angelo Graziosi
0 siblings, 1 reply; 2+ messages in thread
From: Angelo Graziosi @ 2013-06-03 22:07 UTC (permalink / raw)
To: gcc; +Cc: Dave Korn, crowl, ktietz70
For the sake of completeness...
Bootstrapping trunk r199624 fails on Cygwin as follows:
$ /work/gcc-trunk-r199624/configure --prefix=/usr/local/gfortran
--program-suffix=-4.9 --enable-languages=c,c++,fortran
--enable-checking=release --enable-threads=posix --enable-libgomp
--enable-bootstrap --with-arch=native --with-tune=native
--with-fpmath=sse --disable-libmudflap --disable-shared
$ make -j3
[...]
/work/gcc-trunk-r199624/Work/./prev-gcc/xg++
-B/work/gcc-trunk-r199624/Work/./prev-gcc/
-B/usr/local/gfortran/i686-pc-cygwin/bin/ -nostdinc++
-B/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/src/.libs
-B/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
-I/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/include
-I/work/gcc-trunk-r199624/libstdc++-v3/libsupc++
-L/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/src/.libs
-L/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
-c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H
-I. -I. -I/work/gcc-trunk-r199624/gcc -I/work/gcc-trunk-r199624/gcc/.
-I/work/gcc-trunk-r199624/gcc/../include
-I/work/gcc-trunk-r199624/gcc/../libcpp/include
-I/work/gcc-trunk-r199624/gcc/../libdecnumber
-I/work/gcc-trunk-r199624/gcc/../libdecnumber/bid -I../libdecnumber
-I/work/gcc-trunk-r199624/gcc/../libbacktrace -I. -I.
-I/work/gcc-trunk-r199624/gcc -I/work/gcc-trunk-r199624/gcc/.
-I/work/gcc-trunk-r199624/gcc/../include
-I/work/gcc-trunk-r199624/gcc/../libcpp/include
-I/work/gcc-trunk-r199624/gcc/../libdecnumber
-I/work/gcc-trunk-r199624/gcc/../libdecnumber/bid -I../libdecnumber
-I/work/gcc-trunk-r199624/gcc/../libbacktrace \
/work/gcc-trunk-r199624/gcc/config/i386/winnt.c
/work/gcc-trunk-r199624/Work/./prev-gcc/xg++
-B/work/gcc-trunk-r199624/Work/./prev-gcc/
-B/usr/local/gfortran/i686-pc-cygwin/bin/ -nostdinc++
-B/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/src/.libs
-B/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
-I/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/include
-I/work/gcc-trunk-r199624/libstdc++-v3/libsupc++
-L/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/src/.libs
-L/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
-c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H
-I. -I. -I/work/gcc-trunk-r199624/gcc -I/work/gcc-trunk-r199624/gcc/.
-I/work/gcc-trunk-r199624/gcc/../include
-I/work/gcc-trunk-r199624/gcc/../libcpp/include
-I/work/gcc-trunk-r199624/gcc/../libdecnumber
-I/work/gcc-trunk-r199624/gcc/../libdecnumber/bid -I../libdecnumber
-I/work/gcc-trunk-r199624/gcc/../libbacktrace -I. -I.
-I/work/gcc-trunk-r199624/gcc -I/work/gcc-trunk-r199624/gcc/.
-I/work/gcc-trunk-r199624/gcc/../include
-I/work/gcc-trunk-r199624/gcc/../libcpp/include
-I/work/gcc-trunk-r199624/gcc/../libdecnumber
-I/work/gcc-trunk-r199624/gcc/../libdecnumber/bid -I../libdecnumber
-I/work/gcc-trunk-r199624/gcc/../libbacktrace \
/work/gcc-trunk-r199624/gcc/config/i386/winnt-stubs.c
/work/gcc-trunk-r199624/gcc/config/i386/winnt.c: In function âunsigned
int i386_pe_section_type_flags(tree, const char*, int)â:
/work/gcc-trunk-r199624/gcc/config/i386/winnt.c:483:42: error: cast from
type âconst char*â to type âunsigned int*â casts away qualifiers
[-Werror=cast-qual]
slot = htab.find_slot ((unsigned int *)name, INSERT);
^
cc1plus: all warnings being treated as errors
/work/gcc-trunk-r199624/gcc/config/i386/t-cygming:26: recipe for target
`winnt.o' failed
make[3]: *** [winnt.o] Error 1
make[3]: *** Attesa per i processi non terminati....
rm gcov.pod gfdl.pod cpp.pod gfortran.pod gcc.pod fsf-funding.pod
make[3]: uscita dalla directory "/work/gcc-trunk-r199624/Work/gcc"
Makefile:4195: recipe for target `all-stage2-gcc' failed
make[2]: *** [all-stage2-gcc] Error 2
make[2]: uscita dalla directory "/work/gcc-trunk-r199624/Work"
Makefile:18070: recipe for target `stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: uscita dalla directory "/work/gcc-trunk-r199624/Work"
Makefile:884: recipe for target `all' failed
make: *** [all] Error 2
Maybe these recent changes,
http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/i386/winnt.c?view=log
have broken it (about a week ago GCC trunk bootstrapped fine on Cygwin)...
Ciao,
Angelo.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Failure bootstrapping GCC trunk on Cygwin
2013-06-03 22:07 Failure bootstrapping GCC trunk on Cygwin Angelo Graziosi
@ 2013-06-05 9:54 ` Angelo Graziosi
0 siblings, 0 replies; 2+ messages in thread
From: Angelo Graziosi @ 2013-06-05 9:54 UTC (permalink / raw)
To: gcc; +Cc: Dave Korn, crowl, ktietz70
The following simple patch allow for the bootstrap to be completed:
--- gcc-trunk-r199624/gcc/config/i386/winnt.c~ 2013-05-30
03:26:05.000000000 +0200
+++ gcc-trunk-r199624/gcc/config/i386/winnt.c 2013-06-04
19:24:49.140625000 +0200
@@ -480,7 +480,7 @@
flags |= SECTION_LINKONCE;
/* See if we already have an entry for this section. */
- slot = htab.find_slot ((unsigned int *)name, INSERT);
+ slot = htab.find_slot ((const unsigned int *)name, INSERT);
if (!*slot)
{
*slot = (unsigned int *) xmalloc (sizeof (unsigned int));
I don't if this is the best and right fix...
I would be grateful if someone could take care of this.
TIA,
Angelo.
Il 04/06/2013 0.07, Angelo Graziosi ha scritto:
> For the sake of completeness...
>
>
> Bootstrapping trunk r199624 fails on Cygwin as follows:
>
> $ /work/gcc-trunk-r199624/configure --prefix=/usr/local/gfortran
> --program-suffix=-4.9 --enable-languages=c,c++,fortran
> --enable-checking=release --enable-threads=posix --enable-libgomp
> --enable-bootstrap --with-arch=native --with-tune=native
> --with-fpmath=sse --disable-libmudflap --disable-shared
>
> $ make -j3
> [...]
> /work/gcc-trunk-r199624/Work/./prev-gcc/xg++
> -B/work/gcc-trunk-r199624/Work/./prev-gcc/
> -B/usr/local/gfortran/i686-pc-cygwin/bin/ -nostdinc++
> -B/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/src/.libs -B/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
>
> -I/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
>
> -I/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/include
> -I/work/gcc-trunk-r199624/libstdc++-v3/libsupc++
> -L/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/src/.libs -L/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
> -c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti
> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
> -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
> -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H
> -I. -I. -I/work/gcc-trunk-r199624/gcc -I/work/gcc-trunk-r199624/gcc/.
> -I/work/gcc-trunk-r199624/gcc/../include
> -I/work/gcc-trunk-r199624/gcc/../libcpp/include
> -I/work/gcc-trunk-r199624/gcc/../libdecnumber
> -I/work/gcc-trunk-r199624/gcc/../libdecnumber/bid -I../libdecnumber
> -I/work/gcc-trunk-r199624/gcc/../libbacktrace -I. -I.
> -I/work/gcc-trunk-r199624/gcc -I/work/gcc-trunk-r199624/gcc/.
> -I/work/gcc-trunk-r199624/gcc/../include
> -I/work/gcc-trunk-r199624/gcc/../libcpp/include
> -I/work/gcc-trunk-r199624/gcc/../libdecnumber
> -I/work/gcc-trunk-r199624/gcc/../libdecnumber/bid -I../libdecnumber
> -I/work/gcc-trunk-r199624/gcc/../libbacktrace \
> /work/gcc-trunk-r199624/gcc/config/i386/winnt.c
> /work/gcc-trunk-r199624/Work/./prev-gcc/xg++
> -B/work/gcc-trunk-r199624/Work/./prev-gcc/
> -B/usr/local/gfortran/i686-pc-cygwin/bin/ -nostdinc++
> -B/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/src/.libs -B/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
>
> -I/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
>
> -I/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/include
> -I/work/gcc-trunk-r199624/libstdc++-v3/libsupc++
> -L/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/src/.libs -L/work/gcc-trunk-r199624/Work/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
> -c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti
> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
> -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
> -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H
> -I. -I. -I/work/gcc-trunk-r199624/gcc -I/work/gcc-trunk-r199624/gcc/.
> -I/work/gcc-trunk-r199624/gcc/../include
> -I/work/gcc-trunk-r199624/gcc/../libcpp/include
> -I/work/gcc-trunk-r199624/gcc/../libdecnumber
> -I/work/gcc-trunk-r199624/gcc/../libdecnumber/bid -I../libdecnumber
> -I/work/gcc-trunk-r199624/gcc/../libbacktrace -I. -I.
> -I/work/gcc-trunk-r199624/gcc -I/work/gcc-trunk-r199624/gcc/.
> -I/work/gcc-trunk-r199624/gcc/../include
> -I/work/gcc-trunk-r199624/gcc/../libcpp/include
> -I/work/gcc-trunk-r199624/gcc/../libdecnumber
> -I/work/gcc-trunk-r199624/gcc/../libdecnumber/bid -I../libdecnumber
> -I/work/gcc-trunk-r199624/gcc/../libbacktrace \
> /work/gcc-trunk-r199624/gcc/config/i386/winnt-stubs.c
> /work/gcc-trunk-r199624/gcc/config/i386/winnt.c: In function âunsigned
> int i386_pe_section_type_flags(tree, const char*, int)â:
> /work/gcc-trunk-r199624/gcc/config/i386/winnt.c:483:42: error: cast from
> type âconst char*â to type âunsigned int*â casts away qualifiers
> [-Werror=cast-qual]
> slot = htab.find_slot ((unsigned int *)name, INSERT);
> ^
> cc1plus: all warnings being treated as errors
> /work/gcc-trunk-r199624/gcc/config/i386/t-cygming:26: recipe for target
> `winnt.o' failed
> make[3]: *** [winnt.o] Error 1
> make[3]: *** Attesa per i processi non terminati....
> rm gcov.pod gfdl.pod cpp.pod gfortran.pod gcc.pod fsf-funding.pod
> make[3]: uscita dalla directory "/work/gcc-trunk-r199624/Work/gcc"
> Makefile:4195: recipe for target `all-stage2-gcc' failed
> make[2]: *** [all-stage2-gcc] Error 2
> make[2]: uscita dalla directory "/work/gcc-trunk-r199624/Work"
> Makefile:18070: recipe for target `stage2-bubble' failed
> make[1]: *** [stage2-bubble] Error 2
> make[1]: uscita dalla directory "/work/gcc-trunk-r199624/Work"
> Makefile:884: recipe for target `all' failed
> make: *** [all] Error 2
>
>
> Maybe these recent changes,
>
> http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/i386/winnt.c?view=log
>
> have broken it (about a week ago GCC trunk bootstrapped fine on Cygwin)...
>
>
> Ciao,
> Angelo.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-05 9:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-03 22:07 Failure bootstrapping GCC trunk on Cygwin Angelo Graziosi
2013-06-05 9:54 ` Angelo Graziosi
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).