Add support for chromium on mips64el with third_party/ffmpeg.
Reported by
wangqing...@loongson.cn,
Jul 21 2017
|
|||
Issue descriptionWhen I compiled chromium latest version from https://chromium.googlesource.com/chromium/src.git on loongson3a platform(mips64el architecture), occurs following errors: [4794/22598] CXX obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264.o FAILED: obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264.o g++ -MMD -MF obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264.o.d -DWEBRTC_USE_H264 -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_RESTRICT_LOGGING -DEXPAT_RELATIVE_PATH -DHAVE_SCTP -DENABLE_EXTERNAL_AUTH -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE -DLOGGING_INSIDE_WEBRTC -DUSE_WEBRTC_DEV_BRANCH -DFEATURE_ENABLE_VOICEMAIL -DEXPAT_RELATIVE_PATH -DGTEST_RELATIVE_PATH -DNO_SOUND_SYSTEM -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I../../third_party/webrtc_overrides -I../../third_party -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../third_party/libyuv/include -I../../third_party/webrtc/common_video/include -I../../third_party/webrtc/common_video/libyuv/include -I../../third_party/ffmpeg/chromium/config/Chrome/linux/mips64el -I../../third_party/ffmpeg -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -mips64r2 -Wa,-mips64r2 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Os -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0 -fvisibility=hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -c ../../third_party/webrtc/modules/video_coding/codecs/h264/h264.cc -o obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264.o In file included from ../../third_party/ffmpeg/libavutil/avutil.h:296:0, from ../../third_party/ffmpeg/libavutil/samplefmt.h:24, from ../../third_party/ffmpeg/libavcodec/avcodec.h:31, from ../../third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h:20, from ../../third_party/webrtc/modules/video_coding/codecs/h264/h264.cc:15: ../../third_party/ffmpeg/libavutil/common.h:45:32: fatal error:libavutil/avconfig.h:There is no file or directory. #include "libavutil/avconfig.h"
,
Jul 24 2017
Adding TE-NeedsTriageHelp on this, to move this unconfirmed issue out of TE triaging bucket and cc'ing Dale@ to update the current status of the bug appropriately.
,
Aug 8 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/third_party/ffmpeg/+/76ea8a21dfb145468466b355a296c8d7a5a83ef2 commit 76ea8a21dfb145468466b355a296c8d7a5a83ef2 Author: Wang Qing <wangqing-hf@loongson.cn> Date: Tue Aug 08 16:08:17 2017 Fix up FFmpeg scripts for mips64el. Currently, Compiled chromium on loongson3a platform(mips64el architecture) occurs a lot of errors about ffmpeg, and some ffmpeg config files not found. Bug: 747274 R= dalecurtis@chromium.org Change-Id: I758edd5566c1e0c82aeb52579e4c9de9faf7ca64 Reviewed-on: https://chromium-review.googlesource.com/580967 Reviewed-by: Dale Curtis <dalecurtis@chromium.org> [modify] https://crrev.com/76ea8a21dfb145468466b355a296c8d7a5a83ef2/chromium/scripts/build_ffmpeg.py
,
Feb 11 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by wangqing...@loongson.cn
, Jul 21 2017