bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for MIPS


From: Giuseppe Scrivano
Subject: Re: Patch for MIPS
Date: Sun, 23 Jan 2011 21:00:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Thanks, I have added a ChangeLog entry and committed the new
configure.in file.

Cheers,
Giuseppe



Christophe Jarry <address@hidden> writes:

> Dear developers,
>
> I am attempting to build a package of GNU IceCat for gNewSense metad (the
> version based upon debian).
>
> When building GNU IceCat from source on MIPS, I encounter an error that have
> been reported on Mozilla [1] and fixed in current (4.0 beta 9) version of
> Firefox. The problem comes from binutils though and seems to occur only on 
> MIPS
> with ABI n32 [2].
>
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=528687
> [2] http://sourceware.org/bugzilla/show_bug.cgi?id=11956
>
> I attach to this email the patch used to fix this problem. Basically, it
> disables TLS support for MIPS in "configure.in".
> The following commands have to be run after the patch has been applied:
>
>     autoconf2.13 configure.in >configure
>     chmod +x configure
>
> Then, the typical `./configure; make' just works as expected.
>
> Please patch "configure.in" on your SVN accordingly.
>
> Christophe
>
> From: Mike Hommey <address@hidden>
> Date: Mon, 23 Nov 2009 19:36:21 +0100
> Subject: Work around FTBFS on mips by disabling TLS support
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=528687
> ---
>  configure.in |    9 ++++++++-
>  1 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/configure.in b/configure.in
> index d63137c..db92704 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -4133,7 +4133,14 @@ AC_CACHE_CHECK(for __thread keyword for TLS variables,
>                              ac_cv_thread_keyword=no)])
>  LDFLAGS=$_SAVE_LDFLAGS
>  if test "$ac_cv_thread_keyword" = yes; then
> -  AC_DEFINE(HAVE_THREAD_TLS_KEYWORD)
> +  case "${target_cpu}" in
> +    mips*)
> +      :
> +      ;;
> +    *)
> +      AC_DEFINE(HAVE_THREAD_TLS_KEYWORD)
> +      ;;
> +  esac
>  fi
>  
>  dnl End of C++ language/feature checks
> --
> http://gnuzilla.gnu.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]