[FFmpeg-cvslog] configure: slightly more robust looking check for math functions.
Clément Bœsch
ubitux at gmail.com
Sat Sep 17 00:09:58 CEST 2011
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?
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20110917/7588bde2/attachment.asc>
More information about the ffmpeg-cvslog
mailing list