[FFmpeg-cvslog] configure: slightly more robust looking check for math functions.

Michael Niedermayer michaelni at gmx.at
Sat Sep 17 01:42:30 CEST 2011


On Sat, Sep 17, 2011 at 12:09:58AM +0200, Clément Bœsch wrote:
> On Tue, Sep 13, 2011 at 05:58:15PM +0200, Michael Niedermayer wrote:
> > ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 13 17:29:49 2011 +0200| [9331a2ee41d13d04e2eed077f1f934a62288ab01] | committer: Michael Niedermayer
> > 
> > configure: slightly more robust looking check for math functions.
> > I dont know on which system the prior check failed but an advanced
> > linker on some platform might have optimized func() out as unreachable.
> > 
> > Patch taken from http://floss.freebox.fr
> > Author: unknown
> > 
> 
> The author is Clément Vasseur (cvasseur, from freebox.fr). The issue came
> out using the gnu toolchain linker with the options -ffunction-sections
> -fdata-sections -Wl,--gc-sections, used in order to have a small build.
> Those options made the linker removing the unused function.
> 
> Thanks to him for those details.
> 
> Maybe we should add a git note or something?

feel free to try
also please document it in our githowto

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20110917/2892554f/attachment.asc>


More information about the ffmpeg-cvslog mailing list