[Bug 215402] multimedia/ffmpeg: only use vendor optimizations, dropping -ffast-math

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 19 03:37:08 UTC 2016


            Bug ID: 215402
           Summary: multimedia/ffmpeg: only use vendor optimizations,
                    dropping -ffast-math
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
             Flags: maintainer-feedback?(multimedia at FreeBSD.org)
          Assignee: multimedia at FreeBSD.org

Created attachment 178083
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178083&action=edit

configure has --enable-optimizations (default) which includes -O3
-fomit-frame-pointer. Together with unconditional stripping it breaks unwinding
as used by pmcstat/dtrace or -fsanitize=address. Rather than add PROFILE option
let's use OPTIMIZED_CFLAGS to control vendor optimizations. But doing so
induces POLA as -ffast-math from ports r69328 would contaminate defaults or
left out.

In my opinion, extra optimization flags should not leave make.conf. Vendor
doesn't test those, so having in port adds to maintenance to check with
clang/gcc or on different release/architecture tuples.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-multimedia mailing list