This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [crosstool-ng] patches for glibc-ports-2.6.1


Yann E. MORIN a écrit:
> Hello Julien!
> Hello All!
>
> On Monday 20 October 2008 16:50:55 Julien Dusser wrote:
>   
>> Current svn 1104 
>> <http://ymorin.is-a-geek.org/websvn/listing.php?repname=crosstool-NG&path=%2F&rev=1104&sc=1>, 
>> glibc-port-2.6.1 patches are broken.
>> Here is a working version of 120-lll_lock_t.patch (problem of path)
>>     
>
> Thanks! I will look into that when I have a minute...
>
>   
>> I added also a patch for glibc and powerpc nofpu: 
>> 300-powerpc-softfloat.patch
>> This patch (ref: 
>> http://sources.redhat.com/ml/libc-ports/2007-06/msg00000.html) is  
>> working on glibc 2.5 and 2.6.1, but is useless for 2.7.
>>     
>
> What about http://sources.redhat.com/ml/libc-ports/2007-06/msg00005.html ?
> It seemed to me that that would be the correct fix.
>   
This patch works too, i didn't know which one to choose. But by looking
in glibc-port-2.7.tar.bz2, you're right.
> Regards,
> Yann E. MORIN.
>   


diff -urN glibc-2.6.orig/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile glibc-2.6/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile
--- glibc-2.6.orig/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile	2006-11-22 09:13:11.000000000 -0600
+++ glibc-2.6/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile	2007-06-07 09:53:05.708240976 -0500
@@ -6,7 +6,7 @@
 endif
 
 ifeq ($(subdir),math)
-libm-support += fenv_const fe_nomask
+libm-support += fenv_const
 CPPFLAGS += -I../soft-fp/
 # The follow CFLAGS are a work around for GCC Bugzilla Bug 29253
 # "expand_abs wrong default code for floating point"


--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]