From owner-freebsd-multimedia@FreeBSD.ORG Fri Dec 30 17:19:41 2011 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 068661065672; Fri, 30 Dec 2011 17:19:41 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 642508FC1B; Fri, 30 Dec 2011 17:19:39 +0000 (UTC) Received: by eekc50 with SMTP id c50so16586272eek.13 for ; Fri, 30 Dec 2011 09:19:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=OYkPD/SbxydK9xI4vNSm4mn1UWmK1DR78hK8dJQ8jkw=; b=gJqhzYXWBRZPUYkjyERgwxpdWp9ZgjIbvnX0pAd7Zz7tDdBSmis6SELEVKd0ZWOwmk tWMXyKOHeYMO+apdqAICCd/FAXlCURtIgTixgqrV2O7WY35RsY9OclVtnQNHpInyyckJ uC5v/MQLBIM0Ghw0qD0AGi0F0lqCLAKOI7PTo= MIME-Version: 1.0 Received: by 10.14.3.232 with SMTP id 80mr15866148eeh.2.1325265578968; Fri, 30 Dec 2011 09:19:38 -0800 (PST) Received: by 10.14.99.70 with HTTP; Fri, 30 Dec 2011 09:19:38 -0800 (PST) In-Reply-To: <1RgYky-000K9a-37@internal.tormail.net> References: <1RgRmj-000BMS-6c@internal.tormail.net> <1RgYky-000K9a-37@internal.tormail.net> Date: Fri, 30 Dec 2011 11:19:38 -0600 Message-ID: From: Zhihao Yuan To: Jan Beich Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD - Ports , multimedia@freebsd.org Subject: Re: CFT: mplayer and mencoder updates 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: Fri, 30 Dec 2011 17:19:41 -0000 On Fri, Dec 30, 2011 at 3:27 AM, Jan Beich wrote: > Zhihao Yuan writes: > >>> Zhihao Yuan writes: >>> >>>> On Thu, Dec 29, 2011 at 6:07 PM, Thomas Zander >>>> wrote: >>>>> Hi, >>>>> >>>>> thank you all for your comments on the first iteration of the ports. >>>>> A heavily revised version can be found on >>>>> http://www.rrr.de/~riggs/mplayer/m20111230.tar.bz2 >>>>> >>>>> Changes: >>> [...] >>>>> - use newer gcc and binutils thus enabling significant speed-ups (and >>>>> also, since most mplayer and ffmpeg development is done on newer gcc >>>>> and binutils than we have in the base system, it's slowly getting >>>>> tedious to ensure compatibility with older toolchain) >>> >>> So, with the new toolchain --disable-ssse3 is dropped but why >>> BROKEN_RELOCATIONS is still there? >>> >>>> >>>> GJ. Tested with clang, no problem either. >>> >>> Even though the port now explicitly uses gcc, ignoring CC from make.con= f >>> or Makefile.local ? And on clang with -integrated-as being default gnu = as >>> is not used, e.g. try to remove /usr/bin/as, it'd still build fine. >> >> It's not ignoring CC. It sets USE_GCC=3D, which can be overwrite by make= CC=3Dclang. > > Have you actually tried ? It's a known blind spot for clang -exp runs. > > =C2=A0$ echo CC=3Dclang >Makefile.local > =C2=A0$ make -V CC > =C2=A0gcc46 To specify a var in command has different effect. You can try it, make CC=3Dclang in mplayer dir. --=20 Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/