From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 5 02:26:48 2007 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CED7C16A401 for ; Thu, 5 Apr 2007 02:26:48 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC5E13C448 for ; Thu, 5 Apr 2007 02:26:48 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ozlabs.org (Postfix) with ESMTP id 21061DDE3D; Thu, 5 Apr 2007 12:01:40 +1000 (EST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id E45061A9C96; Thu, 5 Apr 2007 11:31:39 +0930 (CST) Date: Thu, 5 Apr 2007 11:31:39 +0930 From: Greg 'groggy' Lehey To: "S.N.Grigoriev" Message-ID: <20070405020139.GB57073@wantadilla.lemis.com> References: <3101175709529@webmail24.yandex.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: <3101175709529@webmail24.yandex.ru> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: multimedia@freebsd.org Subject: Re: mplayer: build error X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2007 02:26:48 -0000 --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--