On Sun, 2015-03-08 at 17:14 +0900, Yoshinori Sato wrote: > Bootstrap failed in following configuration. > > configure --target=sh-unknown-linux --enable-languages=c > --disable-libatomic --disable-threads --disable-shared --disable-libssp > --disable-libquadmath --disable-libgomp > > xgcc: error: SH2a does not support little-endian > > So add build exception for SH2A. > > diff --git a/gcc/ChangeLog b/gcc/ChangeLog > index ce183a0..1fb2344 100644 > --- a/gcc/ChangeLog > +++ b/gcc/ChangeLog > @@ -1,3 +1,7 @@ > +2015-03-08 Yoshinori Sato <ys...@users.sourceforge.jp> > + > + * config/sh/t-linux: Add exception for SH2A. > + > 2015-03-05 Jan Hubicka <hubi...@ucw.cz> > > PR ipa/65316 > diff --git a/gcc/config/sh/t-linux b/gcc/config/sh/t-linux > index d33c638..22b8e3e 100644 > --- a/gcc/config/sh/t-linux > +++ b/gcc/config/sh/t-linux > @@ -1,2 +1,3 @@ > MULTILIB_DIRNAMES= > -MULTILIB_MATCHES = > +MULTILIB_MATCHES = > +MULTILIB_EXCEPTIONS = m2a m2a/ml
This disables SH2A completely? AFAIK SH2A big-endian Linux is a valid configuration. It should be 'm2a/ml' only, as in t-sh. Although all of that will probably not work if --with-endian=little,big or --with-endian=little is specified as configure option. Cheers, Oleg