mplayer: build error

Greg 'groggy' Lehey grog at FreeBSD.org
Thu Apr 5 02:26:48 UTC 2007


On Wednesday,  4 April 2007 at 21:58:49 +0400, S.N.Grigoriev wrote:
>
> Hi,
>
> The following error meets during multimedia/mplayer
> port building (I use FreeBSD 7.0-Current amd64):
>
> cc -c -I. -I.. -I../osdep  -I../libavutil -Wdeclaration-after-statement -O2 -pipe -mtune=athlon64  -funroll-loops -march=athlon64 -O3 -ffast-math -fomit-frame-pointer -I/usr/local/include  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include   -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include   -DMPG12PLAY -o osd.o osd.c
> {standard input}: Assembler messages:
> {standard input}:2369: Error: can't encode register '%ch' in an instruction requiring REX prefix.
>
> {standard input}:2370: Error: can't encode register '%ah' in an instruction requiring REX prefix.
>
> {standard input}:2371: Error: can't encode register '%dh' in an instruction requiring REX prefix.

Yes, I've seen this too.  It's rather an elusive bug; sometimes it
happens, sometimes it doesn't.  Clearly there's some difference that I
haven't understood yet, but it has stopped me from reporting it.

My best bet is that this is compiler related.  FWIW, it builds for me
under 7-CURRENT right now.

Can anybody else help track down the problem?  In particular, what
does the message mean?

Greg
--
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20070405/565fb108/attachment.pgp


More information about the freebsd-multimedia mailing list