Hi Jan,

On 02.02.2010, at 22:36, Jan Rovins wrote:

> Hi Rene & List,
> 
> Cross building for Mips64,
> During the 2nd pass of glibc (after building gcc)
> I got the following failure:

...

> ===================================================================
> --- package/base/glibc/glibc.conf       (revision 35446)
> +++ package/base/glibc/glibc.conf       (working copy)
> @@ -36,6 +36,14 @@
> var_insert GCC_WRAPPER_INSERT ' ' '-O'
> var_remove SYSGCC_WRAPPER_INSERT ' ' '-O0'
> 
> +# On Mips64 the following fails unless we build with: -fgnu89-inline
> +# "sysdeps/ieee754/dbl-64/s_copysign.c:27: error: redefinition of 
> '__copysign'"
> +# Tweaking libc_cv_gnu89_inline in config.cache did not help,
> +# so we will directly jam the -fgnu89-inline compiler option directly into 
> gcc
> +if [ $arch = mips64 ] ; then
> +       var_insert GCC_WRAPPER_INSERT ' ' '-fgnu89-inline'
> +fi


Nice analysis. For such single option tweaks I prefer the short cut of test && 
action, so slightly compacted, and committed as:

Committed revision 35472.

  René

-- 
  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
  http://exactcode.com | http://t2-project.org | http://rene.rebe.name

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to