Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2007 11:31:39 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        "S.N.Grigoriev" <serguey-grigoriev@yandex.ru>
Cc:        multimedia@freebsd.org
Subject:   Re: mplayer: build error
Message-ID:  <20070405020139.GB57073@wantadilla.lemis.com>
In-Reply-To: <3101175709529@webmail24.yandex.ru>
References:  <3101175709529@webmail24.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--FkmkrVfFsRoUs1wW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

--FkmkrVfFsRoUs1wW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFGFFiDIubykFB6QiMRAp56AKCnbygV2Dq0eL6fMYWrojoESrIRpwCdF6Nl
VRdKO/6ShqoGMKoWV8ngEjk=
=a2i8
-----END PGP SIGNATURE-----

--FkmkrVfFsRoUs1wW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070405020139.GB57073>