Opened 10 years ago
Closed 10 years ago
#3966 closed defect (invalid)
'make' sometimes fails when the option '-j' is used
Reported by: | burek | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
When building ffmpeg, sometimes the 'make' process fails if the option '-j' is used, with the following log:
CC libavcodec/mpc8.o CC libavcodec/mpeg12.o CC libavcodec/mpeg12data.o CC libavcodec/mpeg12dec.o CC libavcodec/mpeg12enc.o CC libavcodec/mpeg4audio.o libavcodec/mpeg12dec.c: In function ?setup_hwaccel_for_pixfmt?: libavcodec/mpeg12dec.c:1245:9: warning: ?xvmc_acceleration? is deprecated (declared at libavcodec/avcodec.h:1761) [-Wdeprecated-declarations] avctx->xvmc_acceleration = 2; ^ CC libavcodec/mpeg4video.o CC libavcodec/mpeg4video_parser.o CC libavcodec/mpeg4videodec.o CC libavcodec/mpeg4videoenc.o CC libavcodec/mpeg_er.o CC libavcodec/mpegaudio.o CC libavcodec/mpegaudio_parser.o CC libavcodec/mpegaudiodata.o CC libavcodec/mpegaudiodec_fixed.o CC libavcodec/mpegaudiodec_float.o CC libavcodec/mpegaudiodecheader.o CC libavcodec/mpegaudiodsp.o CC libavcodec/mpegaudiodsp_data.o CC libavcodec/mpegaudiodsp_fixed.o CC libavcodec/mpegaudiodsp_float.o CC libavcodec/mpegaudioenc_fixed.o CC libavcodec/mpegaudioenc_float.o CC libavcodec/mpegutils.o CC libavcodec/mpegvideo.o CC libavcodec/mpegvideo_enc.o CC libavcodec/mpegvideo_motion.o gcc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions. make: *** [libavcodec/h264pred.o] Error 4 make: *** Waiting for unfinished jobs....
How to reproduce:
Attached are all the config.* files, so anyone could reproduce this issue. Shortly, just build libx264 (and yasm) prior to building ffmpeg (although I believe this doesn't influence the issue at all, but still I'm describing what did I do before encountering the issue).
Simply, run the make with, for example, an option like '-j16'.
Latest ffmpeg from git used (08e2b0da).
Attachments (2)
Change History (3)
by , 10 years ago
Attachment: | config.all.zip added |
---|
by , 10 years ago
comment:1 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This appeared to be RAM memory issue (out of memory). I was testing on a 1 GB VM which produced this issue, but after raising the RAM limit to 16 GB the issue was gone. So, it seems it was the kernel killing the process rather than the ffmpeg build process failure.