patch: eglibc compilation error

View: New views
2 Messages — Rating Filter:   Alert me  

patch: eglibc compilation error

by Nicole King-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I had a compilation error (x86_64 -> x86 crossbuild) and found the patch
below which I placed in architecture/x86/package/eglibc/

* sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw.

- --- eglibc.orig/sysdeps/i386/fpu/ftestexcept.c.foo      2004-03-05
02:14:48.000000000 -0800
+++ eglibc/sysdeps/i386/fpu/ftestexcept.c       2008-01-12
07:36:22.000000000 -0800
@@ -26,7 +26,7 @@
 int
 fetestexcept (int excepts)
 {
- -  int temp;
+  short temp;
   int xtemp = 0;

   /* Get current exceptions.  */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkn+z2kACgkQBYAfuarOGOuKTQCdH/rsPoEPmXNmIW4wZIGf60Ry
oz8An2IjaeHr0kFdXzpciVi8YIaR52Cx
=qufA
-----END PGP SIGNATURE-----



-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@... with a subject of: unsubscribe t2

Re: patch: eglibc compilation error

by René Rebe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Nicole,

thanks for the patch. We had the same already for glibc, I just copied
the existing one (to preserve history), and did a test-build:

Committed revision 33103.

Thanks,
   René

On 04.05.2009, at 13:20, Nicole King wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I had a compilation error (x86_64 -> x86 crossbuild) and found the  
> patch
> below which I placed in architecture/x86/package/eglibc/
>
> * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw.
>
> - --- eglibc.orig/sysdeps/i386/fpu/ftestexcept.c.foo      2004-03-05
> 02:14:48.000000000 -0800
> +++ eglibc/sysdeps/i386/fpu/ftestexcept.c       2008-01-12
> 07:36:22.000000000 -0800
> @@ -26,7 +26,7 @@
> int
> fetestexcept (int excepts)
> {
> - -  int temp;
> +  short temp;
>   int xtemp = 0;
>
>   /* Get current exceptions.  */
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkn+z2kACgkQBYAfuarOGOuKTQCdH/rsPoEPmXNmIW4wZIGf60Ry
> oz8An2IjaeHr0kFdXzpciVi8YIaR52Cx
> =qufA
> -----END PGP SIGNATURE-----
>
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> lists@... with a subject of: unsubscribe t2
--
   René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
   http://exactcode.de | http://t2-project.org | http://rene.rebe.name


-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@... with a subject of: unsubscribe t2