bebbo / gcc

Bebbo's gcc-6-branch for m68k-amigaos
GNU General Public License v2.0
33 stars 11 forks source link

Latest updates break clib2 build #141

Closed alexalkis closed 3 years ago

alexalkis commented 3 years ago

Latest update breaks clib

Compiling math_powf.c [large_data_020:m881]
Compiling math_remainder.c [large_data_020:m881]
Compiling math_remainderf.c [large_data_020:m881]
Compiling math_remquo.c [large_data_020:m881]
Compiling math_remquof.c [large_data_020:m881]
Compiling math_rem_pio2f.c [large_data_020:m881]
math_rem_pio2f.c: In function '__kernel_rem_pio2f':
math_rem_pio2f.c:102:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
      ^~~
math_rem_pio2f.c:102:54: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
      for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
                                                      ^
math_rem_pio2f.c:82:1: internal compiler error: in try_improve_iv_set, at tree-ssa-loop-ivopts.c:6988
 __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const LONG *ipio2)
 ^~~~~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [GNUmakefile.68k:75: large_data_020/libm881_objs/math_rem_pio2f.o] Error 1
make clib2...failed
mheyer32 commented 3 years ago

Attempting to build devel1 (yes, I know... I shouldn't...)

/home/matze/amigatoolchain/amiga-gcc/projects/newlib-cygwin/newlib/libc/argz/argz_append.c: In function 'argz_append':
/home/matze/amigatoolchain/amiga-gcc/projects/newlib-cygwin/newlib/libc/argz/argz_append.c:31:1: internal compiler error: Segmentation fault
 }

/home/matze/amigatoolchain/amiga-gcc/projects/newlib-cygwin/newlib/libc/locale/nl_langinfo.c: In function 'nl_langinfo_l':
/home/matze/amigatoolchain/amiga-gcc/projects/newlib-cygwin/newlib/libc/locale/nl_langinfo.c:391:1: internal compiler error: Segmentation fault
 }
 ^
/home/matze/amigatoolchain/amiga-gcc/projects/newlib-cygwin/newlib/libc/locale/locale.c: In function '_setlocale_r':
/home/matze/amigatoolchain/amiga-gcc/projects/newlib-cygwin/newlib/libc/locale/locale.c:438:1: internal compiler error: Segmentation fault
 }
 ^
bebbo commented 3 years ago

... I commited accidentally to the gcc-6-branch... ... but one day, it will be fixed again^^

alpine9000 commented 3 years ago

I still get internal compiler errors compiling my game with 454c3d13560f23303f4e284c1e3e38a01c35d722

bebbo commented 3 years ago

I still get internal compiler errors compiling my game with 454c3d1

your observation is correct^^

bebbo commented 3 years ago

fixed - please test

alexalkis commented 3 years ago

Yeap, clib2 builds fine now. Thanks!