ports/115076: multimedia/ffmpeg has problem of optimization
flags
Tatsuki Makino
tatsuki_makino at hotmail.com
Fri Aug 10 09:10:10 UTC 2007
The following reply was made to PR ports/115076; it has been noted by GNATS.
From: Tatsuki Makino <tatsuki_makino at hotmail.com>
To: bug-followup at FreeBSD.org, tatsuki_makino at hotmail.com
Cc:
Subject: Re: ports/115076: multimedia/ffmpeg has problem of optimization flags
Date: Fri, 10 Aug 2007 17:50:10 +0900
Gaah, I did mistaken orz. I double-checked it.
The problem doesn't occur in a specified -O1 flag.
But, build that specified -O0 flag or build without -O flag causes the
problem.
ex.1: CFLAGS= -O0 -pipe
ex.2: CFLAGS= -pipe
And, Build is stopped as follows.
cc -O0 -pipe -march=pentium3 -O0 -pipe -march=pentium3
-I/usr/local/include -pthread -fomit-frame-pointer
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"/libavutil
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"/libavcodec
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"/libavformat
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"/libswscale
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
-DHAVE_AV_CONFIG_H
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"/libswscale
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"/libavcodec
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_ISOC9X_SOURCE
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"
-I"/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12"/libavutil
-O0 -pipe -march=pentium3 -O0 -pipe -march=pentium3 -I/usr/local/include
-pthread -fomit-frame-pointer -Wdeclaration-after-statement -Wall
-Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function `transpose4x4':
i386/dsputil_mmx.c:644: error: can't find a register in class
`GENERAL_REGS' while reloading `asm'
i386/dsputil_mmx.c: In function `gmc_mmx':
i386/dsputil_mmx.c:2659: warning: suggest parentheses around arithmetic
in operand of |
i386/dsputil_mmx.c:2659: warning: suggest parentheses around arithmetic
in operand of |
i386/dsputil_mmx.c:2660: warning: suggest parentheses around arithmetic
in operand of |
i386/dsputil_mmx.c:2660: warning: suggest parentheses around arithmetic
in operand of |
i386/dsputil_mmx.c:2660: warning: suggest parentheses around arithmetic
in operand of |
gmake[1]: *** [i386/dsputil_mmx.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/.work/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12/libavcodec'
gmake: *** [lib] Error 2
*** Error code 2
Stop in /usr/ports/multimedia/ffmpeg.
More information about the freebsd-multimedia
mailing list