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:   maintainer-feedback requested: [Bug 215402] multimedia/ffmpeg: only use vendor optimizations, dropping -ffast-math
Message-ID:  <bug-215402-12827-KyDHVLnUzJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215402-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215402-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich (mail not working) <jbeich@FreeBSD.org> has reassigned Bugzilla
Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to
multimedia@FreeBSD.org:
Bug 215402: multimedia/ffmpeg: only use vendor optimizations, dropping
-ffast-math
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215402



--- Description ---
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.



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