Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 300227

Summary: media-video/ffmpeg compilation ebuild error on a ARM platform
Product: Gentoo Linux Reporter: SebFox <sebphi>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: sebphi
Priority: High    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ffmpeg error file

Description SebFox 2010-01-08 22:19:52 UTC
installation of ffmpeg-0.5_p20373 on a ARMV7 platform crash:
armv5tel-softfloat-linux-gnueabi-gcc -DHAVE_AV_CONFIG_H -I. -I"/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -pipe -march=armv5t -mtune=arm926ej-s -fomit-frame-pointer -I/usr/include/ -I/include/  -march=armv5t -std=c99 -fomit-frame-pointer -marm -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize         -MMD -MF libavformat/westwood.d -MT libavformat/westwood.o -c -o libavformat/westwood.o libavformat/westwood.c
armv5tel-softfloat-linux-gnueabi-gcc -DHAVE_AV_CONFIG_H -I. -I"/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -pipe -march=armv5t -mtune=arm926ej-s -fomit-frame-pointer -I/usr/include/ -I/include/  -march=armv5t -std=c99 -fomit-frame-pointer -marm -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize         -MMD -MF libavformat/wv.d -MT libavformat/wv.o -c -o libavformat/wv.o libavformat/wv.c
armv5tel-softfloat-linux-gnueabi-gcc -DHAVE_AV_CONFIG_H -I. -I"/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -pipe -march=armv5t -mtune=arm926ej-s -fomit-frame-pointer -I/usr/include/ -I/include/  -march=armv5t -std=c99 -fomit-frame-pointer -marm -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize         -MMD -MF libavformat/xa.d -MT libavformat/xa.o -c -o libavformat/xa.o libavformat/xa.c
armv5tel-softfloat-linux-gnueabi-gcc -DHAVE_AV_CONFIG_H -I. -I"/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -pipe -march=armv5t -mtune=arm926ej-s -fomit-frame-pointer -I/usr/include/ -I/include/  -march=armv5t -std=c99 -fomit-frame-pointer -marm -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize         -MMD -MF libavformat/yuv4mpeg.d -MT libavformat/yuv4mpeg.o -c -o libavformat/yuv4mpeg.o libavformat/yuv4mpeg.c
armv5tel-softfloat-linux-gnueabi-gcc -DHAVE_AV_CONFIG_H -I. -I"/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -pipe -march=armv5t -mtune=arm926ej-s -fomit-frame-pointer -I/usr/include/ -I/include/  -march=armv5t -std=c99 -fomit-frame-pointer -marm -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize         -MMD -MF libavformat/file.d -MT libavformat/file.o -c -o libavformat/file.o libavformat/file.c
armv5tel-softfloat-linux-gnueabi-gcc -DHAVE_AV_CONFIG_H -I. -I"/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -pipe -march=armv5t -mtune=arm926ej-s -fomit-frame-pointer -I/usr/include/ -I/include/  -march=armv5t -std=c99 -fomit-frame-pointer -marm -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize         -MMD -MF libavcodec/allcodecs.d -MT libavcodec/allcodecs.o -c -o libavcodec/allcodecs.o libavcodec/allcodecs.c
armv5tel-softfloat-linux-gnueabi-gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.


Reproducible: Always

Steps to Reproduce:
1.emerge ffmpeg
2.
3.

Actual Results:  
make: *** [libavcodec/allcodecs.o] Error 1

Expected Results:  
Correct installation of ffmpeg
Comment 1 SebFox 2010-01-08 22:21:44 UTC
Created attachment 215721 [details]
ffmpeg error file
Comment 2 Reimar Döffinger 2010-01-09 09:15:53 UTC
Try using a different gcc version, yours is obviously buggy.
This site http://fate.multimedia.cx/ also has ARMv7 configurations and in particular the build string here http://fate.multimedia.cx/index.php?build_record=157568 is an indication that your build will be needlessly slow since e.g. NEON support will be disabled (it is not really possible to detect and enable support for any ARM extensions at runtime, ARM and PowerPC instruction sets are similarly misdesigned in that regard).
Comment 3 Patrick Lauer gentoo-dev 2010-01-09 12:25:05 UTC
please attach emerge --info output