On Sat, Dec 02, 2017 at 05:41:20PM -0500, David Edelsohn wrote:
> On Sat, Dec 2, 2017 at 1:56 PM, Andreas Schwab <sch...@linux-m68k.org> wrote:
> > configured by ../configure, generated by GNU Autoconf 2.64,
> >   with options " '--prefix=/usr' '--build=powerpc64-suse-linux' 
> > '--enable-checking=release' '--enable-shared' 'CFLAGS=-O2 -g' 'CXXFLAGS=-O2 
> > -g' '--with-cpu-64=power4' '--enable-secureplt' '--with-long-double-128' 
> > '--with-system-zlib' '--disable-bootstrap' 
> > 'build_alias=powerpc64-suse-linux' '--enable-languages=c,lto'"
> >
> > configure:3475: /daten/gcc/test/Build/./gcc/xgcc 
> > -B/daten/gcc/test/Build/./gcc/ -B/usr/powerpc64-suse-linux/bin/ 
> > -B/usr/powerpc64-suse-linux/lib/ -isystem /usr/powerpc64-suse-linux/include 
> > -isystem /usr/powerpc64-suse-linux/sys-include  -m32 -o conftest -O2 -g   
> > conftest.c  >&5
> > cc1: internal compiler error: in rs6000_option_override_internal, at 
> > config/rs6000/rs6000.c:4187
> > 0x10a8fdab rs6000_option_override_internal
> >         ../../gcc/config/rs6000/rs6000.c:4187
> > 0x1017460b process_options
> >         ../../gcc/toplev.c:1234
> > 0x1017460b do_compile
> >         ../../gcc/toplev.c:2015
> 
> 
> This broke bootstrap on AIX similarly.

It was too good to be true, a simple two-liner would solve this, heh.

I think I know what to do (needs testing, will be tomorrow at earliest);
but deeper investigation shows we use rs6000_cpu in quite a few places
where we mean rs6000_tune (which doesn't exist).  I don't know how deep
this pit is.  Feel free to revert my patch (if it takes too long to fix
this, I'll revert it myself).

Sorry :-/


Segher

Reply via email to