[FFmpeg-devel] [PATCH] avcodec/proresdec: align dequantization matrix buffers

James Almer jamrial at gmail.com
Thu Nov 16 05:04:49 EET 2017


On 11/15/2017 11:55 PM, Carl Eugen Hoyos wrote:
> 2017-11-16 3:51 GMT+01:00 James Almer <jamrial at gmail.com>:
> 
>> configure can't even succeed with --toolchain=hardened on mingw-w64, so
>> looks like i wouldn't have been able to reproduce it to begin with.
> 
> Try replacing toolchain with --extra-cflags=-fstack-protector-all:
> $ configure --extra-cflags=-fstack-protector-all --enable-small --disable-avx

BEGIN /tmp/ffconf.pipZnMhH/test.c
    1	int main(void){ return 0; }
END /tmp/ffconf.pipZnMhH/test.c
gcc -fstack-protector-all -c -o /tmp/ffconf.pipZnMhH/test.o
/tmp/ffconf.pipZnMhH/test.c
gcc -o /tmp/ffconf.pipZnMhH/test.exe /tmp/ffconf.pipZnMhH/test.o
F:/msys/tmp/ffconf.pipZnMhH/test.o:test.c:(.text+0x33): undefined
reference to `__stack_chk_fail'
F:/msys/tmp/ffconf.pipZnMhH/test.o:test.c:(.rdata$.refptr.__stack_chk_guard[.refptr.__stack_chk_guard]+0x0):
undefined reference to `__stack_chk_guard'
collect2.exe: error: ld returned 1 exit status

> 
> Thank you for the useful info, I didn't know that hardened doesn't
> work on Windows.
> 
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 



More information about the ffmpeg-devel mailing list