[Bug 198758] multimedia/mpv don't start/crash 100% times

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 13 21:18:43 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198758

Frans Suber <keep.in.mind19 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keep.in.mind19 at gmail.com

--- Comment #5 from Frans Suber <keep.in.mind19 at gmail.com> ---
It is the -O2 flag that makes mpv segfaults with every file. So my blind guess
is clang is the problem. Set the CFLAGS environment variable to something like
"-Wall -g" or just "" will solve it. ( I know there is --disable-optimize in
Makefile but it didn't work the first time for me).

I'm not sure about this as I cannot replicate it anymore :
If I have not yet tried setting CFLAGS, the system will enable -O2 on every mpv
compilation, even with --disable-optimize in mpv Makefile. If I have tried at
least once, then that symptom goes away.

I suspect the mpv binaries that I get using pkg install suffers from the above
symptom too, which means it is built with -O2 enabled regardless of
--disable-optimize.

I only have DEVELOPER="yes" in /etc/make.conf. I have not changed anything
related to pkg settings. I upgraded my ports yesterday using portsnap fetch and
portsnap update. I only use 'pkg delete mpv' to remove mpv binaries and build
ports and 'make install'. 

FreeBSD ksix.freebsd 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11
22:51:51 UTC 2014     root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 i386

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-multimedia mailing list