From: Dennis S. <sy...@yo...> - 2005-09-08 20:37:38
|
Heya, ty for the patch, tho I am not merging it. The defined() problems are fixed in CVS HEAD, however I don't agree with your assembly fixes, it's not the solution for the problem, can you possibly come up with something that solves the problem at the core (aka fix altivec detection, and not disabling it) ? Cheers, Dennis On Thu, 2005-09-08 at 19:57 +0200, Thorsten Johannvorderbrueggen wrote: > Hello Dennis, >=20 > sorry for my late reply, but i wasn=C2=B4t at home. >=20 > I attached the patch file. It=C2=B4s the "first" version --> with this=20 > libvisual will build (compiler: gcc-3.3.4) . Do you need anything else? >=20 > Bye > Thorsten >=20 > Dennis Smit wrote: >=20 > >Hello, > > > >Could you make the patch in unified format (diff -u) and tell > >me which gcc version you're using, thank you! > > > >Cheers, > >Dennis > > > > > > > >On Fri, 2005-09-02 at 20:07 +0200, Thorsten Johannvorderbrueggen wrote= : > > =20 > > > >>Hello Dennis, > >> > >>i=C2=B4m using Slackintosh. Slackintosh is a (unofficial) port of Sla= ckware=20 > >>for Mac. At the moment i build Gnome-Packages on my mac. The basic fo= r=20 > >>this is freerock gnome. One of the many packages ist libvisual. This=20 > >>won=C2=B4t build. I made a little patch, which let me build libvisual= . At the=20 > >>end of this patch (for lv_cpu.c): > >>*************** > >>*** 424,428 **** > >> #endif /* VISUAL_ARCH_X86 */ > >>=20 > >>! #if VISUAL_ARCH_POWERPC > >> check_os_altivec_support (); > >> #endif /* VISUAL_ARCH_POWERPC */ > >>--- 424,428 ---- > >> #endif /* VISUAL_ARCH_X86 */ > >>=20 > >>! #if defined(VISUAL_ARCH_POWERPC) > >> check_os_altivec_support (); > >> #endif /* VISUAL_ARCH_POWERPC */ > >> > >>I think that=C2=B4s a bug. The rest of the patch is: > >> > >>*************** > >>*** 161,174 **** > >> _lv_powerpc_canjump =3D 1; > >>=20 > >>! asm volatile > >> ("mtspr 256, %0\n\t" > >> "vand %%v0, %%v0, %%v0" > >> : > >>! : "r" (-1)); > >>=20 > >> signal (SIGILL, SIG_DFL); > >>! _lv_cpu_caps.hasAltiVec =3D 1; > >> } > >>! #endif > >> } > >> #endif > >>--- 161,174 ---- > >> _lv_powerpc_canjump =3D 1; > >>=20 > >>! /*asm volatile > >> ("mtspr 256, %0\n\t" > >> "vand %%v0, %%v0, %%v0" > >> : > >>! : "r" (-1));*/ > >>=20 > >> signal (SIGILL, SIG_DFL); > >>! _lv_cpu_caps.hasAltiVec =3D 0; > >> } > >>! #endif > >> } > >> #endif > >> > >>I have to disable it, because i get an error which say, that "vand" i= s=20 > >>unknown. Maybe you have a idee, where the problem is. > >> > >>Bye > >> Thorsten > >> > >> > >>Dennis Smit wrote: > >> > >> =20 > >> > >>>Of course we want to know, please try to describe the bug as > >>>detailed as possible. > >>> > >>>Which client program are you running, which plugin are you using > >>>and so on. > >>> > >>> > >>>On Fri, 2005-09-02 at 17:06 +0200, Thorsten Johannvorderbrueggen wro= te: > >>>=20 > >>> > >>> =20 > >>> > >>>>i found a bug on ppc-arch. Who want=C2=B4s to know? > >>>> > >>>>Bye > >>>> Thorsten > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>SF.Net email is Sponsored by the Better Software Conference & EXPO > >>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle P= ractices > >>>>Agile & Plan-Driven Development * Managing Projects & Teams * Testi= ng & QA > >>>>Security * Process Improvement & Measurement * http://www.sqe.com/b= sce5sf > >>>>_______________________________________________ > >>>>Libvisual-users mailing list > >>>>Lib...@li... > >>>>https://lists.sourceforge.net/lists/listinfo/libvisual-users > >>>> =20 > >>>> > >>>> =20 > >>>> > >>> > >>>------------------------------------------------------- > >>>SF.Net email is Sponsored by the Better Software Conference & EXPO > >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pr= actices > >>>Agile & Plan-Driven Development * Managing Projects & Teams * Testin= g & QA > >>>Security * Process Improvement & Measurement * http://www.sqe.com/bs= ce5sf > >>>_______________________________________________ > >>>Libvisual-users mailing list > >>>Lib...@li... > >>>https://lists.sourceforge.net/lists/listinfo/libvisual-users > >>> > >>>=20 > >>> > >>> =20 > >>> > > > > > > > >------------------------------------------------------- > >SF.Net email is Sponsored by the Better Software Conference & EXPO > >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Prac= tices > >Agile & Plan-Driven Development * Managing Projects & Teams * Testing = & QA > >Security * Process Improvement & Measurement * http://www.sqe.com/bsce= 5sf > >_______________________________________________ > >Libvisual-users mailing list > >Lib...@li... > >https://lists.sourceforge.net/lists/listinfo/libvisual-users > > > > =20 > > >=20 |