Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2016 03:37:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 215402] multimedia/ffmpeg: only use vendor optimizations, dropping -ffast-math
Message-ID:  <bug-215402-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215402

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

Created attachment 178083
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178083&action=
=3Dedit
v0

configure has --enable-optimizations (default) which includes -O3
-fomit-frame-pointer. Together with unconditional stripping it breaks unwin=
ding
as used by pmcstat/dtrace or -fsanitize=3Daddress. 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215402-12827>