[Bug bootstrap/21878] Mingw32 target doesn't compile because of an internal compiler error

2005-06-05 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-05 
06:30 ---
(In reply to comment #4)
 the problematic dirs are target-libiberty target-libstdc++-v3
 since adding this to target:
 skipdirs=target-libiberty target-libstdc++-v3
 compiles fine (cross compiling with linux), anyway I suppose this cannot work 
 on
 native mingw32 build, but I'll test it anyway

but skipping those will cause you not have the standard C++ library (STL).

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21878


[Bug bootstrap/21878] Mingw32 target doesn't compile because of an internal compiler error

2005-06-05 Thread sherpya at netfarm dot it

--- Additional Comments From sherpya at netfarm dot it  2005-06-05 06:48 
---
yes it's true, but it's not a solution I'm trying to isolate to problem :)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21878


[Bug bootstrap/21878] Mingw32 target doesn't compile because of an internal compiler error

2005-06-05 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-05 
06:50 ---
(In reply to comment #6)
 yes it's true, but it's not a solution I'm trying to isolate to problem :)

I already did in PR 21766.  See comment #4.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21878


[Bug bootstrap/21878] Mingw32 target doesn't compile because of an internal compiler error

2005-06-04 Thread sherpya at netfarm dot it

--- Additional Comments From sherpya at netfarm dot it  2005-06-05 03:59 
---
the problematic dirs are target-libiberty target-libstdc++-v3
since adding this to target:
skipdirs=target-libiberty target-libstdc++-v3
compiles fine (cross compiling with linux), anyway I suppose this cannot work on
native mingw32 build, but I'll test it anyway

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21878


[Bug bootstrap/21878] Mingw32 target doesn't compile because of an internal compiler error

2005-06-02 Thread sherpya at netfarm dot it

--- Additional Comments From sherpya at netfarm dot it  2005-06-02 13:17 
---
Created an attachment (id=9013)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9013action=view)
Debug output


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21878


[Bug bootstrap/21878] Mingw32 target doesn't compile because of an internal compiler error

2005-06-02 Thread sherpya at netfarm dot it

--- Additional Comments From sherpya at netfarm dot it  2005-06-02 13:17 
---
Linux cross:
Linux 2.6.x i686 GNU/Linux
Debian/Sid
System wide binutils 2.15
mingw32-binutils version 2.16

../gcc/configure -v \
--prefix=/usr   \
--target=i586-mingw32msvc   \
--enable-languages=c,c++\
--enable-threads\
--enable-sjlj-exceptions\
--disable-multilib  \
--enable-version-specific-runtime-libs


make[1]: Entering directory `/root/mplayer/gcc/build/i586-mingw32msvc/libiberty'
if [ x != x ]; then \
  /root/mplayer/gcc/build/./gcc/xgcc -B/root/mplayer/gcc/build/./gcc/
-B/usr/i586-mingw32msvc/bin/ -B/usr/i586-mingw32msvc/lib/ -isystem
/usr/i586-mingw32msvc/include -isystem /usr/i586-mingw32msvc/sys-include -c
-DHAVE_CONFIG_H -O2 -g -O2 -I. -I../../../gcc/libiberty/../include  -W -Wall
-pedantic -Wwrite-strings -Wstrict-prototypes 
../../../gcc/libiberty/fopen_unlocked.c -o pic/fopen_unlocked.o; \
else true; fi
/root/mplayer/gcc/build/./gcc/xgcc -B/root/mplayer/gcc/build/./gcc/
-B/usr/i586-mingw32msvc/bin/ -B/usr/i586-mingw32msvc/lib/ -isystem
/usr/i586-mingw32msvc/include -isystem /usr/i586-mingw32msvc/sys-include -c
-DHAVE_CONFIG_H -O2 -g -O2 -I. -I../../../gcc/libiberty/../include  -W -Wall
-pedantic -Wwrite-strings -Wstrict-prototypes
../../../gcc/libiberty/fopen_unlocked.c -o fopen_unlocked.o
../../../gcc/libiberty/fopen_unlocked.c: In function 'unlock_std_streams':
../../../gcc/libiberty/fopen_unlocked.c:98: error: invariant not recomputed when
ADDR_EXPR changed
_iobD.1250[1];

../../../gcc/libiberty/fopen_unlocked.c:98: error: invariant not recomputed when
ADDR_EXPR changed
_iobD.1250[2];

../../../gcc/libiberty/fopen_unlocked.c:98: internal compiler error:
verify_stmts failed.

Attached dump files fopen_unlocked.{i,s}


Native compile:
../gcc/configure -v \
--prefix=/opt/gcc   \
--enable-languages=c,c++\
--enable-threads\
--enable-sjlj-exceptions\
--disable-multilib  \
--enable-version-specific-runtime-libs

works fine

: Stage1 (base) compiler is:
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.6/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.6 (Debian 1:3.3.6-5)


Win32 (mingw)
binutils 2.16
gcc (for stage1):
Reading specs from j:/MinGW/bin/../lib/gcc/mingw32/3.4.4/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls
--enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry
--disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt
--without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter
--enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.4 (mingw special)

../gcc/configure \
--with-gcc \
--with-gnu-ld \
--with-gnu-as \
--host=mingw32 \
--target=mingw32  \
--prefix=/mingw \
--enable-threads \
--disable-nls \
--enable-languages=c,c++ \
--disable-win32-registry \
--disable-shared \
--enable-sjlj-exceptions \
--enable-interpreter \
--enable-hash-synchronization \
--enable-libstdcxx-debug

make[1]: Entering directory `/home/Sherpya/gcc/build/gcc'
./xgcc -B./ -B/mingw/mingw32/bin/ -isystem /mingw/mingw32/include -isystem
/mingw/mingw32/sys-include -L/home/Sherpya/gcc/build/gcc/../ld -O2
-I../../gcc/gcc/../winsup/w32api/include -DIN_GCC-W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I.
-I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include  -DL_eprintf  -c ../../gcc/gcc/libgcc2.c -o
libgcc/./_eprintf.o
../../gcc/gcc/libgcc2.c: In function '__eprintf':
../../gcc/gcc/libgcc2.c:1803: error: invariant not recomputed when ADDR_EXPR 
changed
_iobD.1252[2];

../../gcc/gcc/libgcc2.c:1803: error: invariant not recomputed when ADDR_EXPR 
changed
_iobD.1252[2];

../../gcc/gcc/libgcc2.c:1803: internal compiler error: verify_stmts failed.

Attached dump files libgcc2.{i,s}

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21878


[Bug bootstrap/21878] Mingw32 target doesn't compile because of an internal compiler error

2005-06-02 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-02 
14:30 ---


*** This bug has been marked as a duplicate of 21766 ***

-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21878