Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 08:42:02 -0400 (EDT)
From:      Frank Seltzer <frank_s@bellsouth.net>
To:        HU Dong <itechbear@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: mplayer-1.1.r20120721 doesn't compile with clang release_30 142614
Message-ID:  <alpine.BSF.2.00.1209030816060.62593@Ace.nina.org>
In-Reply-To: <CAA96eVt_jBUqr6kY8ZzsEuy_nsQEXeXSF6%2BCPYtxNPvsaQX46A@mail.gmail.com>
References:  <CAA96eVt_jBUqr6kY8ZzsEuy_nsQEXeXSF6%2BCPYtxNPvsaQX46A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
                       ^
<inline asm>: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"
                       ^
<inline asm>:25:18: note: instantiated into assembly here
                 movl 8+(%esp),%eax

Have I fat-fingered something?

--
Frank

> --
> B.R.
> HU Dong



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