This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sh-*-linux build failure
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- Cc: gcc-patches at gcc dot gnu dot org, Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Date: Sun, 08 Mar 2015 14:14:41 +0100
- Subject: Re: sh-*-linux build failure
- Authentication-results: sourceware.org; auth=none
- References: <87ioebucru dot wl-ysato at users dot sourceforge dot jp>
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 <ysato@users.sourceforge.jp>
> +
> + * config/sh/t-linux: Add exception for SH2A.
> +
> 2015-03-05 Jan Hubicka <hubicka@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