Bug 115296 - multimedia/ffmpeg: does not compile (with certain env variables)
Summary: multimedia/ffmpeg: does not compile (with certain env variables)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-08 09:00 UTC by Robert Gogolok
Modified: 2007-08-25 23:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Gogolok 2007-08-08 09:00:02 UTC
ffmpeg fails to compile with certain environment variables set:

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 `/work/a/ports/multimedia/ffmpeg/work/ffmpeg-2007-07-12/libavcodec'
gmake: *** [lib] Error 2
*** Error code 2

Fix: 

Tinderbox build log:
http://w5/~gogo/screenshots/ports/ffmpeg-2007-07-12_1.log
How-To-Repeat: Set the following environment variables:
http://w5/~gogo/screenshots/ports/ffmpeg-2007-07-12-build.env.log
and compile multimedia/ffmpeg.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-08-08 09:00:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

Over to maintainer
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-08-25 22:57:45 UTC
mezz        2007-08-25 21:57:39 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/ffmpeg    Makefile 
  Log:
  -Fix the build with WITH_DEBUG=yes by force add -O2 in DEBUG_FLAGS.
  
  PR:             ports/115296
  Reported by:    Robert Gogolok <gogo@cs.uni-sb.de>
  
  Revision  Changes    Path
  1.72      +1 -0      ports/multimedia/ffmpeg/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Jeremy Messenger freebsd_committer freebsd_triage 2007-08-25 22:57:49 UTC
State Changed
From-To: open->closed

"export WITH_DEBUG=yes" is the reason that caused the build failure. I have 
fixed it. Thanks for report!