ports/52037: port multimedia/avifile fails to build (Invalid `asm' statement)

Heiner h.eichmann at gmx.de
Sat May 10 22:00:11 UTC 2003


>Number:         52037
>Category:       ports
>Synopsis:       port multimedia/avifile fails to build (Invalid `asm' statement)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 10 15:00:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Heiner Eichmann <h.eichmann at gmx.de>
>Release:        FreeBSD 4.8-RC2
>Organization:
Sirius Cybernetics Corp.
>Environment:
System: FreeBSD 4.8-RC #2: Thu Apr  3 11:05:05 CEST 2003 root at 7of9.unimatrix-zero.borg:/usr/obj/usr/src/sys/MYKERNEL i386
>Description:
make in multimedia/avifile:

7of9# make
You can enable compilation optimizations by defining
        WITH_OPTIMIZED_CFLAGS.
You can enable soundblaster ac3 passthrough support by
        defining WITH_AC3_PASSTHROUGH.
You can disable ac3 (liba52) support by defining WITHOUT_A52.
You can disable mad support by defining WITHOUT_MAD.
You can disable QT supported tools by defining WITHOUT_QT.
You can disable SDL supported tools by defining WITHOUT_SDL.
You can enable VIDIX support by defining WITH_VIDIX.
You can disable vorbis support by defining WITHOUT_VORBIS.
You can disable xvid support by defining WITHOUT_XVID.

.....

===>  Configuring for avifile-0.7.34.20030319,2
avifile configure options: --with-gnu-ld --enable-iconv --disable-v4l --disable-divx4 --with-qt-includes=/usr/X11R6/include --with-qt-libraries=/usr/X11R6/lib --with-extra-libs=/usr/local/lib --disable-release --disable-ac3passthrough --enable-a52 --enable-ffmpeg-a52bin --with-a52-prefix=/usr/local --enable-mad --enable-libmad --with-sdl-prefix=/usr/local --with-sdl-exec-prefix=/usr/local --disable-vidix --with-vorbis-prefix=/usr/local --with-ogg-prefix=/usr/local --with-xvid-prefix=/usr/local --enable-x86opt --enable-win32 --with-win32-path=/usr/local/lib/win32 --enable-lame-bin --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --prefix=/usr/local


....


Note: If you have installed/removed some package in your system
      do not forget to remove config.cache file before using configure
Configuration for avifile
Compiler C:       cc -pipe  -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -pipe
Compiler C++:     c++  -pipe  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -pipe
Install path:     /usr/local
Qt:               yes
Sdl:              yes
Xft:              yes
Oss audio:        yes
Sun audio:        no
Mga_vid:          no
Plugins:
  ac3passthrough  no  (with SBLive only)
  divx4           no  (DivX ;-), OpenDivX, DivX4)
  xvid            yes  (DivX4, XviD)
  ffmpeg            (DivX ;-), OpenDivX, MJPEG, AC3)
  os motion jpeg  yes  (MJPEG)
  win32           yes  (DivX, WMF1/2, DV, MJPEG, Ati, Asus,...)
  MAD             yes  (MPEG Layer I/II/III)
  vorbis          yes
  lame runtime    yes

===>  Building for avifile-0.7.34.20030319,2

......

cc -DHAVE_CONFIG_H -I. -I. -I../../../include -DHAVE_AV_CONFIG_H -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./.. -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -Wall -Wno-unused -I../../../include -fomit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -c postprocess.c  -fPIC -DPIC -o .libs/postprocess.lo
postprocess.c: In function `isVertDC_MMX':
postprocess_template.c:131: Invalid `asm' statement:
postprocess_template.c:131: fixed or forbidden register 0 (ax) was spilled for class GENERAL_REGS.
gmake[3]: *** [postprocess.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/multimedia/avifile/work/avifile0.7-0.7.34/ffmpeg/libavcodec/libpostproc'

....
>How-To-Repeat:
make in multimedia/avifile
>Fix:
--- Makefile.orig       Sat May 10 17:39:48 2003
+++ Makefile    Sat May 10 17:45:37 2003
@@ -32,7 +32,7 @@
 LIBTOOLFILES=  acinclude.m4
 CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
                CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" \
-               CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
+               CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -O" \
                LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 CONFIGURE_ARGS= --with-gnu-ld --enable-iconv \
                --disable-v4l \

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list