This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems building 4.8 snapshot with CygWin


2012/4/14 Nicolai Josuttis:
> Hi,
>
> I am currently trying to build
> ?gcc-4.8-20120401.tar.bz2
> on my Windows 7 Pro system using CygWin.
> I am using the following configuration settings:
> ?configure \
> ?--enable-languages=c++ \
> ?--disable-bootstrap \
> ?--prefix=/cygdrive/p/gcc$VERSION \
> ?--program-suffix=$VERSION \
> ?--with-gxx-include-dir=/cygdrive/p/gcc$VERSION-include \
> ?--disable-lto
> and build with
> ?gmp-4.3.2
> ?mpc-0.8.2
> ?mpfr-2.4.2
>
> The first problem was that
> ?build/gcc/gengtype-lex.c
> was created with DOS-Newlines (CR-LF),
> which makes the following compiling fail:
> make[2]: Entering directory `/cygdrive/p/gcc480snap-install/build/gcc'
> gcc -c ? ?-g -O2 -DIN_GCC ? -W -Wall -Wwrite-strings -Wcast-qual
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
> -Wold-style-definition -fno-common -Wno-error -DHAVE_CONFIG_H
> -DGENERATOR_FILE -I. -Ibuild -I../../src/gcc-4.8-20120401/gcc
> -I../../src/gcc-4.8-20120401/gcc/build
> -I../../src/gcc-4.8-20120401/gcc/../include
> -I../../src/gcc-4.8-20120401/gcc/../libcpp/include
> -I/cygdrive/p/gcc480snap-install/build/./gmp
> -I/cygdrive/p/gcc480snap-install/src/gcc-4.8-20120401/gmp
> -I/cygdrive/p/gcc480snap-install/build/./mpfr
> -I/cygdrive/p/gcc480snap-install/src/gcc-4.8-20120401/mpfr
> -I/cygdrive/p/gcc480snap-install/src/gcc-4.8-20120401/mpc/src
> -I../../src/gcc-4.8-20120401/gcc/../libdecnumber
> -I../../src/gcc-4.8-20120401/gcc/../libdecnumber/bid -I../libdecnumber ? ? \
> ? ? ? ?-o build/gengtype-lex.o gengtype-lex.c
> After SED-ing CR-LF to LF in that file the compilation continues.
>
> But now another problem occurs:
> Making all in libsupc++
> make[4]: Entering directory
> `/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/libsupc++'
> /bin/sh ../libtool --tag CXX --tag disable-shared ? ? --mode=compile
> /cygdrive/p/gcc480snap-install/build/./gcc/xgcc -shared-libgcc
> -B/cygdrive/p/gcc480snap-install/build/./gcc -nostdinc++
> -L/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/src
> -L/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/src/.libs
> -B/cygdrive/p/gcc48/i686-pc-cygwin/bin/
> -B/cygdrive/p/gcc48/i686-pc-cygwin/lib/ -isystem
> /cygdrive/p/gcc48/i686-pc-cygwin/include -isystem
> /cygdrive/p/gcc48/i686-pc-cygwin/sys-include
> -I/cygdrive/p/gcc480snap-install/src/gcc-4.8-20120401/libstdc++-v3/../libgcc
> -I/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
> -I/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/include
> -I/cygdrive/p/gcc480snap-install/
> src/gcc-4.8-20120401/libstdc++-v3/libsupc++ ?-prefer-pic ? ?-Wall -Wextra
> -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once
> ?-ffunction-sections -fdata-sections ?-frandom-seed=eh_personality.lo -g -O2
> -c -o eh_personality.lo
> ../../../../src/gcc-4.8-20120401/libstdc++-v3/libsupc++/eh_personality.cc
> libtool: compile: ?/cygdrive/p/gcc480snap-install/build/./gcc/xgcc
> -shared-libgcc -B/cygdrive/p/gcc480snap-install/build/./gcc -nostdinc++
> -L/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/src
> -L/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/src/.libs
> -B/cygdrive/p/gcc48/i686-pc-cygwin/bin/
> -B/cygdrive/p/gcc48/i686-pc-cygwin/lib/ -isystem
> /cygdrive/p/gcc48/i686-pc-cygwin/include -isystem
> /cygdrive/p/gcc48/i686-pc-cygwin/sys-include
> -I/cygdrive/p/gcc480snap-install/src/gcc-4.8-20120401/libstdc++-v3/../libgcc
> -I/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
> -I/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/include
> -I/cygdrive/p/gcc480snap-install/src/gcc-4.8-20120401/libstdc++-v3/libsupc++
> -Wall -Wex
> tra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once
> -ffunction-sections -fdata-sections -frandom-seed=eh_personality.lo -g -O2
> -c ../../../../src/gcc-4.8-20120401/libstdc++-v3/libsupc++/eh_personality.cc
> -o eh_personality.o
> ../../../../src/gcc-4.8-20120401/libstdc++-v3/libsupc++/eh_personality.cc:
> In function '_Unwind_Reason_Code __cxxabiv1::__gxx_personality_sj0(int,
> _Unwind_Action, _Unwind_Exception_Class, _Unwind_Exception*,
> _Unwind_Context*)':
> ../../../../src/gcc-4.8-20120401/libstdc++-v3/libsupc++/eh_personality.cc:711:1:
> error: verify_flow_info: Block 93 lacks loop_father
> ../../../../src/gcc-4.8-20120401/libstdc++-v3/libsupc++/eh_personality.cc:711:1:
> error: verify_flow_info: Block 94 lacks loop_father
> ../../../../src/gcc-4.8-20120401/libstdc++-v3/libsupc++/eh_personality.cc:711:1:
> internal compiler error: verify_flow_info failed
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> Makefile:587: recipe for target `eh_personality.lo' failed
> make[4]: *** [eh_personality.lo] Error 1
> make[4]: Leaving directory
> `/cygdrive/p/gcc480snap-install/build/i686-pc-cygwin/libstdc++-v3/libsupc++'
> Makefile:471: recipe for target `all-recursive' failed
>
> Any idea what to do here?
>
> Should I submit a bug report for the first gengtype-lex.c problem?
>
> Is the request to submit a full bug report for the second problem current
> (sorry if this sounds like a silly question, but I want to double check
> before I create unnecessary work)?
>
> Thanks and best
> ?Nico

Nico,

the SjLj bug was already fixed on gcc's trunk.  So for this issue you
don't need to provide an new bug-report.  About this SED issue I am
not sure if this is for real a gcc bug.

Regards,
Kai


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]