>>>>> "Sebastian" == Sebastian Andrzej Siewior <bige...@linutronix.de> writes:
> David Kuehling wrote: >>> One thing that's worth mentioning, if the GNU ld patches that >>> Sebastian proposed got fully merged then any patches solely fixing >>> "lwsync" issues are no longer really relevant. Specifically, GNU ld >>> now autoconverts "lwsync" into the appropriate "msync" instruction >>> when assembling code in e500 mode. > I dropped it since it was done by as already. >> I don't find any lwsync code in the eglibc patches. Only a #ifdef to >> replace eieio with mbar on powerpcspe. Are these mnemonics nowadays >> auto-replaced, too? You're sure that the conversion is done by 'ld', >> not by 'as'? > Yes, this is also fixed by as. Ok, so I'll drop *-replace-eieio-with-mbar-on-__SPE__.patch . > The only thing that is left should be an ifdef on SOFT_FLOAT or > something that used around fpr opcodes. This has to stay. Yes that's correct. Only left is some patch to fix register save/restore for trampolines. >> BTW had to throw in another patch that fixes an issue with the >> 's_fma.c'. > This could be new. It is new. Attached it. In case you find something wrong with it, there are some hours left before everything is rebuilt&testet and I start posting this upstream. BTW are there any special test-cases you use for testing your changes? So far I can only imagine to put this in a chroot and see whether it "works". >>>> Ok this goes a little beyond my experience with Debian development. >>>> Will take some time to figure out. I'll start with setting up a >>>> buildd, a little redundancy can't hurt. >> >>> Awesome, good luck! >> >> With the broken state of the archives this will take some time. May >> have to downgrade my system or hand-install packages. Not even >> 'schroot' currently installs due to dependency problems :/ > I could upload my chroot by end of the week. Is this helpful? I'm already tinkering with multistrapping a chroot from snapshot.debian.org (currently trying May 9 2011). If I'm lucky this will soon work. So now I have a double-chroot? One to install sbuild, and a nested one that is used by sbuild? :) cheers, David -- GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
Override s_fma[f] assembly routines with C-code when compiling for powerpcspe. Signed-off-by: David Kuehling <dvdkhlng AT gmx DOT de> Index: eglibc-2.13/ports/sysdeps/powerpc/powerpc32/e500/fpu/s_fma.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ eglibc-2.13/ports/sysdeps/powerpc/powerpc32/e500/fpu/s_fma.c 2011-07-04 15:53:26.000000000 +0200 @@ -0,0 +1 @@ +#include <math/s_fma.c> Index: eglibc-2.13/ports/sysdeps/powerpc/powerpc32/e500/fpu/s_fmaf.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ eglibc-2.13/ports/sysdeps/powerpc/powerpc32/e500/fpu/s_fmaf.c 2011-07-04 15:53:12.000000000 +0200 @@ -0,0 +1 @@ +#include <math/s_fmaf.c>
pgpPikQFUKbEP.pgp
Description: PGP signature