On Sat, Sep 02, 2017 at 08:17:40PM +0200, Clément Bœsch wrote: > From: Clément Bœsch <cboe...@gopro.com> > > Refer to "checkasm: use perf API on Linux ARM*" commit for the > rationale. > > The implementation is somehow duplicated with checkasm, but so is the > current usage of AV_READ_TIME(). Until these implementations and > heuristics are made consistent, I don't see a way of sharing that code. > > Note: when using libavutil/timer.h, it is now important to include > before any other include due to the _GNU_SOURCE requirement. > --- > libavutil/timer.h | 46 +++++++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 43 insertions(+), 3 deletions(-)
this breaks building testprogs on qemu arm: src/libavutil/tests/base64.c: In function ‘main’: src/libavutil/tests/base64.c:105:159: error: implicit declaration of function ‘syscall’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make: *** [libavutil/tests/base64.o] Error 1 make: *** Waiting for unfinished jobs.... src/libavutil/tests/adler32.c: In function ‘main’: src/libavutil/tests/adler32.c:42:159: error: implicit declaration of function ‘syscall’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make: *** [libavutil/tests/adler32.o] Error 1 src/libavutil/tests/aes.c: In function ‘main’: src/libavutil/tests/aes.c:94:163: error: implicit declaration of function ‘syscall’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make: *** [libavutil/tests/aes.o] Error 1 src/libavformat/utils.c: In function ‘avformat_transfer_internal_stream_timing_info’: src/libavformat/utils.c:5537:5: warning: ‘codec’ is deprecated (declared at src/libavformat/avformat.h:893) [-Wdeprecated-declarations] src/libavformat/utils.c:5538:5: warning: ‘codec’ is deprecated (declared at src/libavformat/avformat.h:893) [-Wdeprecated-declarations] [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel