ports/115076: multimedia/ffmpeg has problem of optimization flags
Tatsuki Makino
tatsuki_makino at hotmail.com
Tue Jul 31 10:20:02 UTC 2007
>Number: 115076
>Category: ports
>Synopsis: multimedia/ffmpeg has problem of optimization flags
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 31 10:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Tatsuki Makino
>Release: FreeBSD 6.2-RELEASE-p6 i386
>Organization:
>Environment:
FreeBSD FreeBSD.test 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #5: Sat Jul 28 08:35:45 JST 2007 root at FreeBSD.test:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Build is failed when using -O1 flag.
WITH_OPTIMIZED_CFLAGS is not working.
>How-To-Repeat:
# backup your make.conf
mv /etc/make.conf /etc/make.conf.bak
# set -O1 to CFLAGS
# (I wrote for something. I forgot :-) )
echo CFLAGS= -pipe -O1 >> /etc/make.conf
cd /usr/ports/multimedia/ffmpeg
make
>Fix:
Use -O2, -O3 or -Os flag.
cat >> /etc/make.conf
.if (${.CURDIR} == "/usr/ports/multimedia/ffmpeg")
CFLAGS= -O2 -fno-strict-aliasing -pipe
.endif
^D
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list