Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 23:09:55 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Thomas Zander <riggs@rrr.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mplayer fails to build on today's -current
Message-ID:  <4AC05333.5090404@FreeBSD.org>
In-Reply-To: <786602c60909270009t1e483f0fo7dfdcc5ee9ef1e06@mail.gmail.com>
References:  <4ABED28F.2000806@FreeBSD.org> <786602c60909270009t1e483f0fo7dfdcc5ee9ef1e06@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Zander wrote:
> On Sun, Sep 27, 2009 at 04:48, Doug Barton <dougb@freebsd.org> wrote:
>> cc -O2 -pipe -g -fno-strict-aliasing -I./libavcodec -I./libavformat
>> ...
>> cabac.h: In function 'get_cabac_noinline':
>> cabac.h:525: error: can't find a register in class 'GENERAL_REGS'
>> while reloading 'asm'
>> cabac.h:525: error: 'asm' operand has impossible constraints
> 
> This error should go away if you build mplayer with -O3.
> Can you turn on the optimized-cflags-knob and try again?

I had that knob set already, but I have WITH_DEBUG in /etc/make.conf
and the mplayer Makefile suite has an override in that case. I
commented out WITH_DEBUG and it worked.

It would of course be nice if the optimization weren't necessary ...


Doug

-- 

    This .signature sanitized for your protection




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AC05333.5090404>