From owner-freebsd-ports@FreeBSD.ORG Mon Sep 3 04:40:22 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 8E5EB106566C for ; Mon, 3 Sep 2012 04:40:22 +0000 (UTC) (envelope-from itechbear@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5962C8FC14 for ; Mon, 3 Sep 2012 04:40:21 +0000 (UTC) Received: by ialo14 with SMTP id o14so9402096ial.13 for ; Sun, 02 Sep 2012 21:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5qLDYA0Eiip7rJh67lfzMtHPuPfV/Jfpx0DPaekq/ZI=; b=OzSeThlsx+bLqXZ4ryk8DKjF7VnyfZWdymYONgPBQghx/Gb4aTzIl4DzeuimIMIDXh siRpgT1nTIAaNRpHENYUewZ1Fbf1pX76H/Pz6pRcgyvxMSvEF3AVoK1cJjI6FziDiNTr YrRhPFAe+3UXzEHJpXAf1KYqNaspSg9wqg4wDgDAIplHVDubG2MdomsqNALJ0bzO4up8 D4lRTy4VQYaATQ3QZ3kXW82EZPnMh0tJzDC1n4eb/tU2gxuBH56NcOD2M3SIvTPhxbj4 kNLtvHKkaFjXLNgrV5EOKdfyggRdsnESzhhe5m1NNMKPbgfEAbyMsZ2HUlIyUDG70fT5 uZqQ== MIME-Version: 1.0 Received: by 10.50.171.6 with SMTP id aq6mr4774308igc.72.1346647221654; Sun, 02 Sep 2012 21:40:21 -0700 (PDT) Received: by 10.231.202.208 with HTTP; Sun, 2 Sep 2012 21:40:21 -0700 (PDT) Date: Mon, 3 Sep 2012 12:40:21 +0800 Message-ID: From: HU Dong To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 04:40:22 -0000 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" ^ :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 ^ 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