pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51122 (ffmpeg[23] compiled with gcc 5.x on x86 32-bit can lead to crashes)



The following reply was made to PR pkg/51122; it has been noted by GNATS.

From: Onno van der Linden <o.vd.linden%quicknet.nl@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/51122 (ffmpeg[23] compiled with gcc 5.x on x86 32-bit can
 lead to crashes)
Date: Sun, 26 Jun 2016 17:57:10 +0200

 > Maybe -mstackrealign isn't needed for NetBSD/i386
 > but what about gcc 4.x for x >= 2 ?
 
 Compiled and installed lang/gcc44
 Compiled and installed ffmpeg3 with /usr/pkg/gcc44/bin/gcc
 and CFLAGS+=-mpreferred-stack-boundary=4
 in /usr/pkgsrc/multimedia/ffmpeg3/Makefile
 
 Visited
 https://www.facebook.com/spotlightuse.jp/videos/938866406181882/?theater
 with firefox 47.0 on NetBSD/i386 7.99.31
 and no crash ......
 
 I think it's safe to assume gcc 4.x with x >= 4 (maybe even x>=2)
 only needs -mpreferred-stack-boundary=4 to compile ffmpeg3
 (and likely ffmpeg2 too) on 32-bit x86 to prevent crashes
 caused by sse2 alignment requirements.
 
 And now for some more test cases .......
 


Home | Main Index | Thread Index | Old Index