Date: Mon, 3 Sep 2012 12:40:21 +0800 From: HU Dong <itechbear@gmail.com> To: freebsd-ports@freebsd.org Subject: mplayer-1.1.r20120721 doesn't compile with clang release_30 142614 Message-ID: <CAA96eVt_jBUqr6kY8ZzsEuy_nsQEXeXSF6%2BCPYtxNPvsaQX46A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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 2. PORT CONFIG: % make showconfig ===> The following configuration options are available for mplayer-1.1.r20120721: DEBUG=off: Include debug symbols in mplayer's binaries RTCPU=on: Allow runtime CPU detection OCFLAGS=on: Use optimized compiler flags OTCHAIN=off: Use gcc 4.6+ toolchain on legacy systems IPV6=on: Include inet6 network support X11=on: Enable X11 support for mplayer's video output X11XV=on: X11 video drivers: XV X11DGA=on: X11 video drivers: DGA X11GL=on: X11 video drivers: OpenGL X11XIN=on: X11 video drivers: Xinerama X11VM=on: X11 VidMode support X11XVMC=off: Enable XvMC acceleration VDPAU=off: Enable Nvidia VDPAU acceleration GUI=off: Enable GTK2 graphical user interface with X11 SDL=off: Enable SDL video output SKINS=off: Force dependency on mplayer-skins RTC=off: Add support for kernel real time clock timing ARTS=off: Enable KDE sound system support ESOUND=off: Enable GNOME esound support JACK=off: Enable JackIt audio server support NAS=off: Enable NAS sound server support OPENAL=off: Enable OpenAL sound support PULSE=off: Enable PulseAudio LIBUNGIF=off: Enable gif support OPENJPEG=off: Enable JPEG2000 support MNG=off: Enable MNG input support AALIB=off: Enable aalib support LIBCACA=off: Enable libcaca support SVGALIB=off: Enable svgalib support LIBDV=off: Enable libdv support MAD=off: Enable mad MPEG audio engine support AMR_NB=off: AMR Narrow Band encoder (opencore) AMR_WB=off: AMR Wide Band encoder (opencore) GSM=off: GSM audio codec LADSPA=off: Enable LADSPA plugin support SPEEX=off: Enable speex audio codec support THEORA=off: Enable ogg theora video support VPX=off: Enable VP8 video via libvpx SCHROEDINGER=off: Dirac codec via libschroedinger WIN32=off: Enable win32 codec set on the IA32 arch REALPLAYER=off: Enable real player plugin LIVEMEDIA=off: Enable LIVE555 streaming support SMB=off: Enable Samba input support BLURAY=off: Build with libbluray support FRIBIDI=off: Enable FriBiDi support LIRC=off: Enable lirc support LIBCDIO=off: Enable libcdio support CDPARANOIA=off: Enable cdparanoia support LIBLZO=off: Enable external liblzo library JOYSTICK=off: Enable joystick support V4L=off: Enable Video4Linux TV support LIBRTMP=off: Enable RTMPDump Streaming Media support ENCA=off: Enable enca charset detection ===> Use 'make config' to modify these settings 3. Error Message: ... clang -MD -MP -D_ISOC99_SOURCE -D_BSD_SOURCE -O2 -pipe -O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -Ilibdvdread4 -I. -Iffmpeg -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -fomit-frame-pointer -c -o mp3lib/decode_i586.o mp3lib/decode_i586.c 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 ^ 2 errors generated. gmake: *** [mp3lib/decode_i586.o] Error 1 gmake: *** Waiting for unfinished jobs.... 3 warnings generated. *** Error code 1 -- B.R. HU Dong
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA96eVt_jBUqr6kY8ZzsEuy_nsQEXeXSF6%2BCPYtxNPvsaQX46A>