* [gentoo-ppc-dev] gcc-3.2.3-r2 and altivec
@ 2003-07-27 10:41 Magnus Damm
2003-07-27 17:00 ` Bartosch Pixa
0 siblings, 1 reply; 4+ messages in thread
From: Magnus Damm @ 2003-07-27 10:41 UTC (permalink / raw
To: gentoo-ppc-dev
Hi there,
I recently added a gcc workaround to ffmpeg/libavcodec to cope
with the altivec problems found in gcc-3 prior gcc-3.3.
However, yesterday I upgraded my gcc to gcc-3.2.3-r2 and now I'm
unable to compile mplayer/libavcodec because my workaround fails.
Here's a pointer to my workaround:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ffmpeg/ffmpeg/libavcodec/ppc/gcc_fixes.h
I had a look at the altivec.h-file that comes with gcc and I saw
the same workaround there now. This fix is gentoo-specific, right?
Maybe a more fine-grained test should be better.
Or maybe renaming the functions in gcc_fixes.h will work...
Any suggestions how I should cope with this issue?
/ magnus
--
gentoo-ppc-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-ppc-dev] gcc-3.2.3-r2 and altivec
2003-07-27 10:41 [gentoo-ppc-dev] gcc-3.2.3-r2 and altivec Magnus Damm
@ 2003-07-27 17:00 ` Bartosch Pixa
2003-07-27 17:28 ` Magnus Damm
0 siblings, 1 reply; 4+ messages in thread
From: Bartosch Pixa @ 2003-07-27 17:00 UTC (permalink / raw
To: gentoo-ppc-dev
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
well basicaly with our fixed gcc you shouldn't need your ffmpeg fix
anymore.
regards
--
Bartosch Pixa
Gentoo Linux Developer http://www.gentoo.org
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-ppc-dev] gcc-3.2.3-r2 and altivec
2003-07-27 17:00 ` Bartosch Pixa
@ 2003-07-27 17:28 ` Magnus Damm
2003-07-27 19:25 ` Luca Barbato
0 siblings, 1 reply; 4+ messages in thread
From: Magnus Damm @ 2003-07-27 17:28 UTC (permalink / raw
To: gentoo-ppc-dev
On 27 Jul 2003 19:00:03 +0200
Bartosch Pixa <darkspecter@gentoo.org> wrote:
> well basicaly with our fixed gcc you shouldn't need your ffmpeg fix
> anymore.
I understand that, but how do I know that the version of gcc I run
is the pristine "buggy" gcc or if it's patched with the gentoo-patches?
Is some gentoo-specific constant set that I could check?
Well, never mind - I could change the symbols used by my workaround.
That solves it, but I wonder if that is the right thing(tm).
The right way would probably be to check for buggy altivec in configure.
Thanks.
/ magnus
--
gentoo-ppc-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-ppc-dev] gcc-3.2.3-r2 and altivec
2003-07-27 17:28 ` Magnus Damm
@ 2003-07-27 19:25 ` Luca Barbato
0 siblings, 0 replies; 4+ messages in thread
From: Luca Barbato @ 2003-07-27 19:25 UTC (permalink / raw
To: gentoo-ppc-dev
Well, basically ffmpeg people use my fix in their code.
Sadly they didn't change the name of the static functions...
(Credits to the original idea are due to Michel Lespinasse, I just
extended the vpem->mergel to the other datatype.)
If you want to remove or change the fix I put just edit your altivec.h
include changing the function names.
Regards
Magnus Damm wrote:
> On 27 Jul 2003 19:00:03 +0200
> Bartosch Pixa <darkspecter@gentoo.org> wrote:
>
>
>>well basicaly with our fixed gcc you shouldn't need your ffmpeg fix
>>anymore.
>
>
> I understand that, but how do I know that the version of gcc I run
> is the pristine "buggy" gcc or if it's patched with the gentoo-patches?
> Is some gentoo-specific constant set that I could check?
>
> Well, never mind - I could change the symbols used by my workaround.
> That solves it, but I wonder if that is the right thing(tm).
> The right way would probably be to check for buggy altivec in configure.
>
> Thanks.
>
> / magnus
>
> --
> gentoo-ppc-dev@gentoo.org mailing list
>
>
--
Luca Barbato
Developer
Gentoo Linux http://www.gentoo.org/~lu_zero
--
gentoo-ppc-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-07-27 19:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-27 10:41 [gentoo-ppc-dev] gcc-3.2.3-r2 and altivec Magnus Damm
2003-07-27 17:00 ` Bartosch Pixa
2003-07-27 17:28 ` Magnus Damm
2003-07-27 19:25 ` Luca Barbato
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox