------- 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

Reply via email to