[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2021-05-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

Eric Botcazou  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
 Status|WAITING |RESOLVED

--- Comment #12 from Eric Botcazou  ---
.

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-10-05 Thread michael at mijobe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

--- Comment #11 from michael at mijobe dot org ---
I used contrib/download_prerequisites to install the required versions of GMP,
MPFR, MPC and ISL:

gmp-4.3.2
isl-0.15
mpc-0.8.1
mpfr-2.4.2

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-10-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

Eric Botcazou  changed:

   What|Removed |Added

 Status|REOPENED|WAITING

--- Comment #10 from Eric Botcazou  ---
I cannot reproduce, but there were known issues with old GCC 4.x compilers and
some versions of GMP/MPFR/MPC.  Please try with the exact versions from:
  https://gcc.gnu.org/install/prerequisites.html

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-20 Thread michael at mijobe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

--- Comment #9 from michael at mijobe dot org ---
same result

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-19 Thread michael at mijobe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

--- Comment #8 from michael at mijobe dot org ---
will do
think this will take roughly 8 hours ...

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

--- Comment #7 from Eric Botcazou  ---
> ../gcc-6.2.0/configure --prefix=/export/home2/mi/gcc-6.2.0-bin --with-gnu-as
> --with-gnu-ld --disable-libgcj --enable-languages=c,c++

Please add --build=sparc-sun-solaris2.10 and use an absolute path.

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-19 Thread michael at mijobe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

--- Comment #6 from michael at mijobe dot org ---
../gcc-6.2.0/configure --prefix=/export/home2/mi/gcc-6.2.0-bin --with-gnu-as
--with-gnu-ld --disable-libgcj --enable-languages=c,c++

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-19 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

--- Comment #5 from Eric Botcazou  ---
What's the configure line this time?

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-19 Thread michael at mijobe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

michael at mijobe dot org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |---

--- Comment #4 from michael at mijobe dot org ---
Have now had the time to recompile. Running now into an internal compiler
error:

$HOME/gcc-6.2.0-build/./prev-gcc/xg++ -B$HOME/gcc-6.2.0-build/./prev-gcc/
-B$HOME/gcc-6.2.0-bin/sparc-sun-solaris2.10/bin/ -nostdinc++
-B$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-B$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/libsupc++/.libs

-I$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/include/sparc-sun-solaris2.10
 -I$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/include 
-I$HOME/gcc-6.2.0/libstdc++-v3/libsupc++
-L$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-L$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
-fno-PIE -c   -g -O2 -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H
-I. -I. -I../../gcc-6.2.0/gcc -I../../gcc-6.2.0/gcc/.
-I../../gcc-6.2.0/gcc/../include -I./../intl
-I../../gcc-6.2.0/gcc/../libcpp/include -I$HOME/gcc-6.2.0-build/./gmp
-I$HOME/gcc-6.2.0/gmp -I$HOME/gcc-6.2.0-build/./mpfr -I$HOME/gcc-6.2.0/mpfr
-I$HOME/gcc-6.2.0/mpc/src  -I../../gcc-6.2.0/gcc/../libdecnumber
-I../../gcc-6.2.0/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-6.2.0/gcc/../libbacktrace -I$HOME/gcc-6.2.0-build/./isl/include
-I$HOME/gcc-6.2.0/isl/include  -o gtype-desc.o -MT gtype-desc.o -MMD -MP -MF
./.deps/gtype-desc.TPo gtype-desc.c
$HOME/gcc-6.2.0-build/./prev-gcc/xg++ -B$HOME/gcc-6.2.0-build/./prev-gcc/
-B$HOME/gcc-6.2.0-bin/sparc-sun-solaris2.10/bin/ -nostdinc++
-B$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-B$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/libsupc++/.libs

-I$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/include/sparc-sun-solaris2.10
 -I$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/include 
-I$HOME/gcc-6.2.0/libstdc++-v3/libsupc++
-L$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-L$HOME/gcc-6.2.0-build/prev-sparc-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
-fno-PIE -c   -g -O2 -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H
-I. -I. -I../../gcc-6.2.0/gcc -I../../gcc-6.2.0/gcc/.
-I../../gcc-6.2.0/gcc/../include -I./../intl
-I../../gcc-6.2.0/gcc/../libcpp/include -I$HOME/gcc-6.2.0-build/./gmp
-I$HOME/gcc-6.2.0/gmp -I$HOME/gcc-6.2.0-build/./mpfr -I$HOME/gcc-6.2.0/mpfr
-I$HOME/gcc-6.2.0/mpc/src  -I../../gcc-6.2.0/gcc/../libdecnumber
-I../../gcc-6.2.0/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-6.2.0/gcc/../libbacktrace -I$HOME/gcc-6.2.0-build/./isl/include
-I$HOME/gcc-6.2.0/isl/include  -o haifa-sched.o -MT haifa-sched.o -MMD -MP -MF
./.deps/haifa-sched.TPo ../../gcc-6.2.0/gcc/haifa-sched.c
In file included from ../../gcc-6.2.0/gcc/haifa-sched.c:141:0:
../../gcc-6.2.0/gcc/haifa-sched.c: In function 'int dep_cost_1(dep_t, dw_t)':
../../gcc-6.2.0/gcc/sched-int.h:252:31: internal compiler error: Arithmetische
Ausnahme
 #define DEP_COST(D) ((D)->cost)
   ^
../../gcc-6.2.0/gcc/haifa-sched.c:1438:12: note: in expansion of macro
'DEP_COST'
 return DEP_COST (link);
^~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make[3]: *** [Makefile:1085: haifa-sched.o] Error 1
make[3]: Leaving directory '$HOME/gcc-6.2.0-build/gcc'
make[2]: *** [Makefile:4433: all-stage2-gcc] Error 2
make[2]: Leaving directory '$HOME/gcc-6.2.0-build'
make[1]: *** [Makefile:22325: stage2-bubble] Error 2
make[1]: Leaving directory '$HOME/gcc-6.2.0-build'
make: *** [Makefile:917: all] Error 2

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-09 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

Eric Botcazou  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #3 from Eric Botcazou  ---
> First stage was compiled using gcc 4.0.3
> Prerequisits are dowload using contrib/download_prerequisites
> GNU binutils-2.27 are used
> configuration was done with:
> ../gcc-6.2.0/configure --prefix=$HOME/gcc-6.2.0-bin
> --target=sparc-sun-solaris2.10 --with-gnu-as --with-gnu-ld --disable-libgcj
> --enable-languages=c,c++

Sorry, I missed this: the configuration is incorrect, you need to configure
with --build=sparc-sun-solaris2.10 instead of --target=sparc-sun-solaris2.10
since it's a native platform.

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-09 Thread michael at mijobe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

--- Comment #2 from michael at mijobe dot org ---
> Any options passed to this compiler during the first stage?
no

> Could you post the output of 'uname -a' on the machine?

SunOS kerberos 5.10 Generic_120011-14 sun4v sparc SUNW,Sun-Fire-T1000

[Bug bootstrap/77512] gcc compilation stops with Arithmetic Exception

2016-09-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77512

Eric Botcazou  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2016-09-08
 CC||ebotcazou at gcc dot gnu.org
 Ever confirmed|0   |1
  Build||sparc-sun-solaris2.10

--- Comment #1 from Eric Botcazou  ---
> First stage was compiled using gcc 4.0.3

Any options passed to this compiler during the first stage?  Could you post the
output of 'uname -a' on the machine?

> Prerequisits are dowload using contrib/download_prerequisites
> GNU binutils-2.27 are used
> configuration was done with:
> ../gcc-6.2.0/configure --prefix=$HOME/gcc-6.2.0-bin
> --target=sparc-sun-solaris2.10 --with-gnu-as --with-gnu-ld --disable-libgcj
> --enable-languages=c,c++

I'll try to reproduce locally.