GEN libavutil/libavutil.version GEN libavcodec/libavcodec.version GEN libavformat/libavformat.version GEN libavfilter/libavfilter.version GEN libavdevice/libavdevice.version GEN libswscale/libswscale.version GEN libswresample/libswresample.version GEN libpostproc/libpostproc.version GEN libavresample/libavresample.version CC libavdevice/alldevices.o CC libavdevice/alsa.o CC libavdevice/alsa_dec.o CC libavdevice/alsa_enc.o CC libavdevice/avdevice.o CC libavdevice/fbdev_common.o CC libavdevice/fbdev_dec.o src/libavdevice/avdevice.c:78:42: warning: adding 'unsigned long' to a string does not append to the string [-Wstring-plus-int] return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/libavdevice/avdevice.c:78:42: note: use array indexing to silence this warning return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; ^ & [ ] src/libavdevice/avdevice.c:88:26: warning: 'av_oformat_next' is deprecated [-Wdeprecated-declarations] if (!(prev = av_oformat_next(prev))) ^ src/libavformat/avformat.h:2094:1: note: 'av_oformat_next' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ src/libavdevice/avdevice.c:92:26: warning: 'av_iformat_next' is deprecated [-Wdeprecated-declarations] if (!(prev = av_iformat_next(prev))) ^ src/libavformat/avformat.h:2086:1: note: 'av_iformat_next' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 3 warnings generated. CC libavdevice/fbdev_enc.o CC libavdevice/lavfi.o CC libavdevice/oss.o CC libavdevice/oss_dec.o CC libavdevice/oss_enc.o CC libavdevice/timefilter.o CC libavdevice/utils.o CC libavdevice/v4l2-common.o CC libavdevice/v4l2.o CC libavdevice/v4l2enc.o CC libavdevice/xcbgrab.o GEN libavdevice/libavdevice.pc GEN libavfilter/libavfilter.pc CC libavformat/3dostr.o CC libavformat/4xm.o CC libavformat/a64.o CC libavformat/aacdec.o CC libavformat/aadec.o CC libavformat/ac3dec.o CC libavformat/acm.o CC libavformat/act.o CC libavformat/adp.o CC libavformat/ads.o CC libavformat/adtsenc.o CC libavformat/adxdec.o CC libavformat/aea.o CC libavformat/afc.o CC libavformat/aiffdec.o CC libavformat/aiffenc.o CC libavformat/aixdec.o CC libavformat/allformats.o CC libavformat/amr.o CC libavformat/anm.o CC libavformat/apc.o CC libavformat/ape.o CC libavformat/apetag.o CC libavformat/apngdec.o CC libavformat/apngenc.o CC libavformat/aptxdec.o CC libavformat/aqtitledec.o CC libavformat/asf.o CC libavformat/asfcrypt.o CC libavformat/asfdec_f.o CC libavformat/asfdec_o.o CC libavformat/asfenc.o CC libavformat/assdec.o CC libavformat/assenc.o CC libavformat/ast.o CC libavformat/astdec.o CC libavformat/astenc.o CC libavformat/async.o CC libavformat/au.o CC libavformat/audiointerleave.o CC libavformat/av1.o CC libavformat/avc.o CC libavformat/avidec.o CC libavformat/avienc.o CC libavformat/avio.o CC libavformat/aviobuf.o CC libavformat/avlanguage.o CC libavformat/avr.o CC libavformat/avs.o CC libavformat/bethsoftvid.o CC libavformat/bfi.o CC libavformat/bink.o CC libavformat/bintext.o CC libavformat/bit.o CC libavformat/bmv.o CC libavformat/boadec.o CC libavformat/brstm.o CC libavformat/c93.o CC libavformat/cache.o CC libavformat/caf.o CC libavformat/cafdec.o CC libavformat/cafenc.o CC libavformat/cavsvideodec.o CC libavformat/cdg.o CC libavformat/cdxl.o CC libavformat/cinedec.o CC libavformat/codec2.o CC libavformat/concat.o CC libavformat/concatdec.o CC libavformat/crcenc.o CC libavformat/crypto.o CC libavformat/cutils.o CC libavformat/dash.o CC libavformat/dashenc.o CC libavformat/data_uri.o CC libavformat/dauddec.o CC libavformat/daudenc.o CC libavformat/davs2.o CC libavformat/dcstr.o CC libavformat/dfa.o CC libavformat/dhav.o CC libavformat/diracdec.o CC libavformat/dnxhddec.o CC libavformat/dsfdec.o CC libavformat/dsicin.o CC libavformat/dss.o CC libavformat/dtsdec.o CC libavformat/dtshddec.o CC libavformat/dump.o CC libavformat/dv.o CC libavformat/dvbsub.o CC libavformat/dvbtxt.o src/libavformat/dump.c:475:29: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->properties = st->codec->properties; ^ src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ src/libavformat/dump.c:476:29: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->codec = st->codec->codec; ^ src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ src/libavformat/dump.c:477:29: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->qmin = st->codec->qmin; ^ src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ src/libavformat/dump.c:478:29: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->qmax = st->codec->qmax; ^ src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ src/libavformat/dump.c:479:31: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->coded_width = st->codec->coded_width; ^ src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ src/libavformat/dump.c:480:31: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->coded_height = st->codec->coded_height; ^ src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ src/libavformat/dump.c:515:23: warning: 'codec' is deprecated [-Wdeprecated-declarations] int tbc = st->codec->time_base.den && st->codec->time_base.num; ^ src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ src/libavformat/dump.c:515:51: warning: 'codec' is deprecated [-Wdeprecated-declarations] int tbc = st->codec->time_base.den && st->codec->time_base.num; ^ src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ src/libavformat/dump.c:527:38: warning: 'codec' is deprecated [-Wdeprecated-declarations] print_fps(1 / av_q2d(st->codec->time_base), "tbc"); ^ src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 9 warnings generated. CC libavformat/dvenc.o CC libavformat/dxa.o CC libavformat/eacdata.o CC libavformat/electronicarts.o CC libavformat/epafdec.o CC libavformat/ffmetadec.o CC libavformat/ffmetaenc.o CC libavformat/fifo.o CC libavformat/fifo_test.o CC libavformat/file.o CC libavformat/filmstripdec.o CC libavformat/filmstripenc.o CC libavformat/fitsdec.o CC libavformat/fitsenc.o CC libavformat/flac_picture.o CC libavformat/flacdec.o CC libavformat/flacenc.o CC libavformat/flacenc_header.o CC libavformat/flic.o CC libavformat/flvdec.o CC libavformat/flvenc.o CC libavformat/format.o CC libavformat/framecrcenc.o CC libavformat/framehash.o CC libavformat/frmdec.o CC libavformat/fsb.o CC libavformat/ftp.o CC libavformat/g722.o CC libavformat/g723_1.o CC libavformat/g726.o CC libavformat/g729dec.o CC libavformat/gdv.o CC libavformat/genh.o CC libavformat/gif.o CC libavformat/gifdec.o CC libavformat/gopher.o CC libavformat/gsmdec.o CC libavformat/gxf.o CC libavformat/gxfenc.o CC libavformat/h261dec.o CC libavformat/h263dec.o CC libavformat/h264dec.o CC libavformat/hashenc.o CC libavformat/hcom.o CC libavformat/hdsenc.o CC libavformat/hevc.o CC libavformat/hevcdec.o CC libavformat/hls.o CC libavformat/hlsenc.o CC libavformat/hlsplaylist.o CC libavformat/hlsproto.o CC libavformat/hnm.o CC libavformat/http.o CC libavformat/httpauth.o CC libavformat/icecast.o CC libavformat/icodec.o CC libavformat/icoenc.o CC libavformat/id3v1.o CC libavformat/id3v2.o CC libavformat/id3v2enc.o CC libavformat/idcin.o CC libavformat/idroqdec.o CC libavformat/idroqenc.o CC libavformat/iff.o CC libavformat/ilbc.o CC libavformat/img2.o CC libavformat/img2_alias_pix.o CC libavformat/img2_brender_pix.o CC libavformat/img2dec.o CC libavformat/img2enc.o CC libavformat/ingenientdec.o CC libavformat/ip.o CC libavformat/ipmovie.o CC libavformat/ircam.o CC libavformat/ircamdec.o CC libavformat/ircamenc.o CC libavformat/isom.o CC libavformat/iss.o CC libavformat/iv8.o CC libavformat/ivfdec.o CC libavformat/ivfenc.o CC libavformat/jacosubdec.o CC libavformat/jacosubenc.o CC libavformat/jvdec.o CC libavformat/latmenc.o CC libavformat/lmlm4.o CC libavformat/loasdec.o CC libavformat/lrc.o CC libavformat/lrcdec.o CC libavformat/lrcenc.o CC libavformat/lvfdec.o CC libavformat/lxfdec.o CC libavformat/m4vdec.o CC libavformat/matroska.o CC libavformat/matroskadec.o CC libavformat/matroskaenc.o CC libavformat/md5proto.o CC libavformat/metadata.o CC libavformat/mgsts.o CC libavformat/microdvddec.o CC libavformat/microdvdenc.o CC libavformat/mj2kdec.o CC libavformat/mkvtimestamp_v2.o CC libavformat/mlpdec.o CC libavformat/mlvdec.o CC libavformat/mm.o CC libavformat/mmf.o CC libavformat/mms.o CC libavformat/mmsh.o CC libavformat/mmst.o CC libavformat/mov.o CC libavformat/mov_chan.o CC libavformat/mov_esds.o CC libavformat/movenc.o CC libavformat/movenccenc.o CC libavformat/movenchint.o CC libavformat/mp3dec.o CC libavformat/mp3enc.o CC libavformat/mpc.o CC libavformat/mpc8.o CC libavformat/mpeg.o CC libavformat/mpegenc.o CC libavformat/mpegts.o Stack dump: 0. Program arguments: /home/mik/misc/clang/bin/clang-9 -cc1 -triple aarch64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name mpegenc.c -mrelocation-model static -mthread-model posix -fno-signed-zeros -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu generic -target-feature +neon -target-abi aapcs -fallow-half-arguments-and-returns -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /home/mik/src/ffmpeg/armv8-linux-clang/build/libavformat/mpegenc.gcno -resource-dir /home/mik/misc/clang/lib/clang/9.0.0 -I . -I src/ -D _ISOC99_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D _POSIX_C_SOURCE=200112 -D _XOPEN_SOURCE=600 -D ZLIB_CONST -D HAVE_AV_CONFIG_H -D BUILDING_avformat -I /usr/include/alsa -internal-isystem /usr/local/include -internal-isystem /home/mik/misc/clang/lib/clang/9.0.0/include -internal-externc-isystem /usr/include/aarch64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O3 -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -std=c11 -fconst-strings -fdebug-compilation-dir /home/mik/src/ffmpeg/armv8-linux-clang/build -ferror-limit 19 -fmessage-length 0 -pthread -mstack-alignment=16 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o libavformat/mpegenc.o -x c src/libavformat/mpegenc.c 1. parser at end of file 2. Per-module optimization passes 3. Running pass 'CallGraph Pass Manager' on module 'src/libavformat/mpegenc.c'. 4. Running pass 'Combine redundant instructions' on function '@put_system_header' /home/mik/misc/clang/bin/clang-9(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x28)[0x16c2018] /home/mik/misc/clang/bin/clang-9(_ZN4llvm3sys17RunSignalHandlersEv+0x44)[0x16c0c44] /home/mik/misc/clang/bin/clang-9[0x16c0d6c] [0x200001c510] /home/mik/misc/clang/bin/clang-9[0x9b3588] /home/mik/misc/clang/bin/clang-9[0x12209c0] /home/mik/misc/clang/bin/clang-9[0x1221128] /home/mik/misc/clang/bin/clang-9[0x12210f4] /home/mik/misc/clang/bin/clang-9(_ZN4llvm18ComputeNumSignBitsEPKNS_5ValueERKNS_10DataLayoutEjPNS_15AssumptionCacheEPKNS_11InstructionEPKNS_13DominatorTreeEb+0x44)[0x1221330] /home/mik/misc/clang/bin/clang-9(_ZN4llvm27computeOverflowForSignedSubEPKNS_5ValueES2_RKNS_10DataLayoutEPNS_15AssumptionCacheEPKNS_11InstructionEPKNS_13DominatorTreeE+0xfc)[0x1221590] /home/mik/misc/clang/bin/clang-9[0x14ba708] /home/mik/misc/clang/bin/clang-9[0x14b3d58] /home/mik/misc/clang/bin/clang-9[0x14b41e0] /home/mik/misc/clang/bin/clang-9(_ZN4llvm24InstructionCombiningPass13runOnFunctionERNS_8FunctionE+0x18c)[0x14b43c8] /home/mik/misc/clang/bin/clang-9(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x1cc)[0x14176e4] /home/mik/misc/clang/bin/clang-9[0x115f0f0] /home/mik/misc/clang/bin/clang-9(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x210)[0x1417d3c] /home/mik/misc/clang/bin/clang-9(_ZN5clang17EmitBackendOutputERNS_17DiagnosticsEngineERKNS_19HeaderSearchOptionsERKNS_14CodeGenOptionsERKNS_13TargetOptionsERKNS_11LangOptionsERKN4llvm10DataLayoutEPNSE_6ModuleENS_13BackendActionESt10unique_ptrINSE_17raw_pwrite_streamESt14default_deleteISM_EE+0x2160)[0x17a3510] /home/mik/misc/clang/bin/clang-9[0x1cb2e3c] /home/mik/misc/clang/bin/clang-9(_ZN5clang8ParseASTERNS_4SemaEbb+0x2a0)[0x1e219dc] /home/mik/misc/clang/bin/clang-9(_ZN5clang13CodeGenAction13ExecuteActionEv+0x270)[0x1cb20f8] /home/mik/misc/clang/bin/clang-9(_ZN5clang14FrontendAction7ExecuteEv+0xac)[0x1a01938] /home/mik/misc/clang/bin/clang-9(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x284)[0x19e4470] /home/mik/misc/clang/bin/clang-9(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x2bc)[0x1a57fc8] /home/mik/misc/clang/bin/clang-9(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0x4d0)[0x9a7300] /home/mik/misc/clang/bin/clang-9(main+0x404)[0x94c2b4] /lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0xec)[0x2000154e08] clang-9: error: unable to execute command: Segmentation fault (core dumped) clang-9: error: clang frontend command failed due to signal (use -v to see invocation) clang version 9.0.0 (trunk 361779) Target: aarch64-unknown-linux-gnu Thread model: posix InstalledDir: /home/mik/misc/clang/bin clang-9: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. clang-9: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-9: note: diagnostic msg: /tmp/mpegenc-e44914.c clang-9: note: diagnostic msg: /tmp/mpegenc-e44914.sh clang-9: note: diagnostic msg: ******************** make: *** [libavformat/mpegenc.o] Error 254 make: *** Waiting for unfinished jobs.... src/libavformat/movenc.c:521:20: warning: 'av_copy_packet_side_data' is deprecated [-Wdeprecated-declarations] if ((ret = av_copy_packet_side_data(&info->pkt, pkt)) < 0) ^ src/libavcodec/avcodec.h:4457:1: note: 'av_copy_packet_side_data' has been explicitly marked deprecated here attribute_deprecated ^ src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 1 warning generated.