sh-*-linux build failure

2015-03-08 Thread Yoshinori Sato
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

Re: sh-*-linux build failure

2015-03-08 Thread Oleg Endo
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:

Re: sh-*-linux build failure

2015-03-08 Thread Kaz Kojima
Oleg Endo wrote: >> 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/

Re: sh-*-linux build failure

2015-03-09 Thread Yoshinori Sato
At Sun, 08 Mar 2015 23:14:10 +0900 (JST), Kaz Kojima wrote: > > Oleg Endo wrote: > >> 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= > >>

Re: sh-*-linux build failure

2015-03-09 Thread Kaz Kojima
Yoshinori Sato wrote: >> * config/sh/t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases. [snip] > It works fine. Thanks for checking. I've committed it on trunk as revision 221287. Regards, kaz

Re: sh-*-linux build failure

2015-03-10 Thread Oleg Endo
On Tue, 2015-03-10 at 08:19 +0900, Kaz Kojima wrote: > Yoshinori Sato wrote: > >>* config/sh/t-linux (MULTILIB_EXCEPTIONS): Define for m2a cases. > [snip] > > It works fine. > > Thanks for checking. I've committed it on trunk as revision 221287. > > Regards, > kaz > I think the same

Re: sh-*-linux build failure

2015-03-10 Thread Kaz Kojima
Oleg Endo wrote: > I think the same should be done in t-sh and in t-linux we could add the > SH1 little endian exception, too ... just in case (see attached patch). > I'm not sure whether TM_MULTILIB_EXCEPTIONS_CONFIG is needed in t-linux > or not. Moreover, I don't understand why t-linux doesn't