Re: [FFmpeg-devel] [PATCH] swscale: also save ebx register when using PIE

2016-12-20 Thread Andreas Cadhalpun
On 20.12.2016 03:04, Michael Niedermayer wrote: > On Mon, Dec 19, 2016 at 11:28:44PM +0100, Andreas Cadhalpun wrote: >> On 16.12.2016 04:08, Michael Niedermayer wrote: >>> On Fri, Dec 16, 2016 at 02:36:53AM +0100, Andreas Cadhalpun wrote: Otherwise the build fails when configuring with

Re: [FFmpeg-devel] [PATCH] swscale: also save ebx register when using PIE

2016-12-19 Thread Michael Niedermayer
On Mon, Dec 19, 2016 at 11:28:44PM +0100, Andreas Cadhalpun wrote: > On 16.12.2016 04:08, Michael Niedermayer wrote: > > On Fri, Dec 16, 2016 at 02:36:53AM +0100, Andreas Cadhalpun wrote: > >> Otherwise the build fails when configuring with --toolchain=hardened > >> --disable-pic on i386 using gcc

Re: [FFmpeg-devel] [PATCH] swscale: also save ebx register when using PIE

2016-12-19 Thread Andreas Cadhalpun
On 16.12.2016 04:08, Michael Niedermayer wrote: > On Fri, Dec 16, 2016 at 02:36:53AM +0100, Andreas Cadhalpun wrote: >> Otherwise the build fails when configuring with --toolchain=hardened >> --disable-pic on i386 using gcc 4.8: >> error: PIC register clobbered by '%ebx' in 'asm' >> >>

Re: [FFmpeg-devel] [PATCH] swscale: also save ebx register when using PIE

2016-12-15 Thread Michael Niedermayer
On Fri, Dec 16, 2016 at 02:36:53AM +0100, Andreas Cadhalpun wrote: > Otherwise the build fails when configuring with --toolchain=hardened > --disable-pic on i386 using gcc 4.8: > error: PIC register clobbered by '%ebx' in 'asm' > > Signed-off-by: Andreas Cadhalpun

[FFmpeg-devel] [PATCH] swscale: also save ebx register when using PIE

2016-12-15 Thread Andreas Cadhalpun
Otherwise the build fails when configuring with --toolchain=hardened --disable-pic on i386 using gcc 4.8: error: PIC register clobbered by '%ebx' in 'asm' Signed-off-by: Andreas Cadhalpun --- libswscale/x86/hscale_fast_bilinear_simd.c | 20 ++--