Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2011 11:19:38 -0600
From:      Zhihao Yuan <lichray@gmail.com>
To:        Jan Beich <jbeich@tormail.net>
Cc:        FreeBSD - Ports <freebsd-ports@freebsd.org>, multimedia@freebsd.org
Subject:   Re: CFT: mplayer and mencoder updates
Message-ID:  <CAGsORuDDRNK-iEQAAEhC2EcGXa0LGOOt4C_71qA=8YWmzYeYwg@mail.gmail.com>
In-Reply-To: <1RgYky-000K9a-37@internal.tormail.net>
References:  <CAFU734xS3cbk3SGWpZFfccwcsThTf35KprmbHMiPGzd6qGbTYg@mail.gmail.com> <CAFU734w2qFQcNGtpy8hVwKiJKiCRgRE5Q3pzaXfSYQcVdcsuZA@mail.gmail.com> <CAGsORuDHO9iXi_W-jLeqd4qjXdXCnxssC3kL9H=eFe--wrT7Fw@mail.gmail.com> <1RgRmj-000BMS-6c@internal.tormail.net> <CAGsORuCN4D2w49DLsXwFZWqnX2t3xhiQZ7USxuRXYfyc9x9UGg@mail.gmail.com> <1RgYky-000K9a-37@internal.tormail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 30, 2011 at 3:27 AM, Jan Beich <jbeich@tormail.net> wrote:
> Zhihao Yuan <lichray@gmail.com> writes:
>
>>> Zhihao Yuan <lichray@gmail.com> writes:
>>>
>>>> On Thu, Dec 29, 2011 at 6:07 PM, Thomas Zander
>>>> <thomas.e.zander@googlemail.com> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGsORuDDRNK-iEQAAEhC2EcGXa0LGOOt4C_71qA=8YWmzYeYwg>