ports/65314: multimedia/libxine may not build on some cpu/gcc combos
Joel Ray Holveck
joelh at piquan.org
Thu Apr 8 08:10:18 UTC 2004
>Synopsis: multimedia/libxine may not build on some cpu/gcc combos
>Arrival-Date: Thu Apr 08 01:10:18 PDT 2004
>Originator: Joel Ray Holveck
>Release: FreeBSD 5.2.1-RELEASE-p3 i386
This wasn't on my own computer, so I didn't have time to build a
patch, but I think my notes here should be enough to make one easily.
The errant code is in the file
work/xine-lib-1-rc3a/src/post/goom/zoom_filter_xmmx.c on line 123:
gcc picked %xmm0, which (according to an as error) is invalid for the
addl instruction. I don't have the details like gcc version, etc; all
I know is that it was on an x86 architecture.
In the .c file, operand %0 is specified as "X"(precalCoef). On a
hunch, I changed it to "g"(precalCoef) and it compiled fine. I'm not
sure if that's the best solution or not; I don't know much about
recent (MMX and beyond) x86 architecture stuff. It may be best to
bounce this off of the libxine guys.
Sorry this PR is so sparse, but I hope there's enough here to get a
More information about the freebsd-ports-bugs