Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300227 - media-video/ffmpeg compilation ebuild error on a ARM platform
Summary: media-video/ffmpeg compilation ebuild error on a ARM platform
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-08 22:19 UTC by SebFox
Modified: 2010-01-11 14:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ffmpeg error file (media-video%3Affmpeg-0.5_p20373%3A20100108-182829.log,108.18 KB, text/plain)
2010-01-08 22:21 UTC, SebFox
Details

Note You need to log in before you can comment on or make changes to this bug.
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