[FFmpeg-devel] [PATCH] Improve the detection of architecture x86.

Michael Niedermayer michaelni at gmx.at
Tue May 27 16:43:28 CEST 2014


On Mon, May 26, 2014 at 06:25:22PM +0200, Andreas Cadhalpun wrote:
> Hi,
> 
> currently FFmpeg fails to build on Debian GNU/Hurd with the following error:
> tools/crypto_bench.c: In function 'run_implementation':
> tools/crypto_bench.c:261:9: error: implicit declaration of function
> 'AV_READ_TIME' [-Werror=implicit-function-declaration]
>          t0 = AV_READ_TIME();
>          ^
> cc1: some warnings being treated as errors
> common.mak:49: recipe for target 'tools/crypto_bench.o' failed
> 
> This problem arises, because the architecture is not correctly
> detected as x86, but instead as 'i686-AT386', which is the output of
> 'uname -m'.
> 
> The attached patch fixes this problem and enables building on Hurd.
> 
> Best regards,
> Andreas

>  configure |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> d8ec0514fd301833c526c5a6f570a60e08d993f3  Improve-the-detection-of-architecture-x86.patch
> From 504ee81f8c590b50b21c1cae2f8974f619c5f20f Mon Sep 17 00:00:00 2001
> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> Date: Mon, 26 May 2014 18:07:55 +0200
> Subject: [PATCH] Improve the detection of architecture x86.
> 
> This fixes building on Debian GNU/Hurd.

applied

btw, if you have a gnu hurd box, can you setup a fate client so
any breakage in the future would be quickly detected ?

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140527/c3f42bc6/attachment.asc>


More information about the ffmpeg-devel mailing list