From owner-freebsd-ports@FreeBSD.ORG Mon Sep 3 12:48:46 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFA43106566C for ; Mon, 3 Sep 2012 12:48:46 +0000 (UTC) (envelope-from frank_s@bellsouth.net) Received: from fmailhost02.isp.att.net (fmailhost02.isp.att.net [204.127.217.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9256C8FC0A for ; Mon, 3 Sep 2012 12:48:46 +0000 (UTC) Received: from ace.nina.org (adsl-74-179-100-146.gnv.bellsouth.net[74.179.100.146]) by isp.att.net (frfwmhc02) with SMTP id <20120903124203H0200op9ate>; Mon, 3 Sep 2012 12:42:03 +0000 X-Originating-IP: [74.179.100.146] Date: Mon, 3 Sep 2012 08:42:02 -0400 (EDT) From: Frank Seltzer X-X-Sender: frank_s@Ace.nina.org To: HU Dong In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-ports Subject: Re: mplayer-1.1.r20120721 doesn't compile with clang release_30 142614 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 12:48:47 -0000 I am experiencing similar problems with mplayer and vlc. On Mon, 3 Sep 2012, HU Dong wrote: > Hi! > The latest multimedia/mplayer port seems to be broken on freebsd > 9.0 i386 release. It fails to compile with clang release_30 142614. > Hope someone could fix it. > > 1. ENV: > % uname -a > FreeBSD hostname 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 > 07:15:25 UTC 2012 > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > % clang --version > FreeBSD clang version 3.0 (branches/release_30 142614) 20111021 > Target: i386-unknown-freebsd9.0 > Thread model: posix Ace /home/frank_s % uname -a FreeBSD Ace.nina.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Sun Sep 2 15:28:46 EDT 2012 root@Ace.nina.org:/usr/obj/usr/src/sys/GENERIC i386 Ace /home/frank_s % clang --version FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: i386-unknown-freebsd9.0 Thread model: posix Mplayer's compile begins with: ===> Configuring for mplayer-1.1.r20120721 Unknown parameter: --win32codecsdir=/usr/local/lib/win32 Unknown parameter: --x-libraries=/usr/local/lib Unknown parameter: --x-includes=/usr/local/include Unknown parameter: --build=i386-portbld-freebsd9.1 and ends with: 2 errors generated. gmake: *** [mp3lib/decode_i586.o] Error 1 gmake: *** Waiting for unfinished jobs.... 3 warnings generated. *** [do-build] Error code 1 Stop in /usr/ports/multimedia/mplayer. *** [build] Error code 1 Stop in /usr/ports/multimedia/mplayer. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120903-14811-1ifs4ot env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mplayer-1.0.r20120322_2 UPGRADE_PORT_VER=1.0.r20120322_2 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! multimedia/mplayer (mplayer-1.0.r20120322_2) (new compiler error) with hundreds and hundreds of this type of error in between: mp3lib/decode_i586.c:65:23: error: unknown token in expression " pushl %%eax\n\t" ^ :22:18: note: instantiated into assembly here movl 4+(%esp),%edx ^ mp3lib/decode_i586.c:68:23: error: unknown token in expression " pushl %%eax\n\t" ^ :25:18: note: instantiated into assembly here movl 8+(%esp),%eax Have I fat-fingered something? -- Frank > -- > B.R. > HU Dong