Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2007 10:13:57 GMT
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/115076: multimedia/ffmpeg has problem of optimization flags
Message-ID:  <200707311013.l6VADvCi065329@www.freebsd.org>
Resent-Message-ID: <200707311020.l6VAK1DF043383@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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