[vlc-devel] [PATCH] x86: Export x264_stack_align

Sebastian Ramacher sramacher at debian.org
Wed Aug 29 09:51:02 CEST 2018


Sorry, sent to the wrong list.

On 2018-08-29 09:49:28, Sebastian Ramacher wrote:
> The function is used by the CLI since
> 7737e6ad4acf1058aeb0f9802e2a3ca1e0a30d29, but not exported by the shared
> library.
> ---
> Builds of the CLI using the shared library fail since
> 7737e6ad4acf1058aeb0f9802e2a3ca1e0a30d29 with
> 
>   /usr/bin/ld: x264.o: in function `main':
>   ./x264.c:408: undefined reference to `x264_stack_align'
> 
>  common/x86/cpu-a.asm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/x86/cpu-a.asm b/common/x86/cpu-a.asm
> index d94f7d54..e6966733 100644
> --- a/common/x86/cpu-a.asm
> +++ b/common/x86/cpu-a.asm
> @@ -83,7 +83,7 @@ cglobal cpu_sfence
>  ;-----------------------------------------------------------------------------
>  ; intptr_t stack_align( void (*func)(void*), ... ); (up to 5 args)
>  ;-----------------------------------------------------------------------------
> -cglobal stack_align
> +cvisible stack_align
>      mov      rax, r0mp
>      mov       r0, r1mp
>      mov       r1, r2mp
> -- 
> 2.19.0.rc1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180829/bb9fcc5d/attachment.sig>


More information about the vlc-devel mailing list