Created attachment 148378 [details] disable -O2 from vendor There's an audio issue due to a compiler bug on 11.0-CURRENT i386. It took me a while to figure out because the port ignores CFLAGS+=-O0 by passing -O2 later. Let's drop vendor optimization in favor of system-specific (environ, make.conf, Makefile.local). Affects since v0.5.0 (r364818) or b0ff052. $ mpv --no-config /path/to/foo.aac ... AO: [oss] 44100Hz stereo 2ch s32 Unable to convert audio input format to output format. Audio filter chain: [in] 44100Hz stereo 2ch floatp [out] 44100Hz stereo 2ch s32 <- [ao] 44100Hz stereo 2ch s32 Could not create audio filter chain. Couldn't find matching filter/ao format! Audio: no audio To reproduce check the log for any -O after: $ make clean all WITH_DEBUG= _MAKE_JOBS=-v
Auto-assigned to maintainer gblach@FreeBSD.org
Ports infrastructure by default inherits -O2 -pipe -fno-strict-aliasing from /usr/share/mk/sys.mk. The patch allows user to build mpv with -O0, -O3, etc.
Committed, thanks.
A commit references this bug: Author: gblach Date: Mon Oct 27 00:51:39 UTC 2014 New revision: 371530 URL: https://svnweb.freebsd.org/changeset/ports/371530 Log: Disable -O2 from vendor PR: 194408 Submitted by: Jan Beich (jbeich <at> vfemail <dot> net) Changes: head/multimedia/mpv/Makefile