[FFmpeg-devel] [RFC]Disable inline_asm_direct_symbol_refs for lto
Michael Niedermayer
michaelni at gmx.at
Wed Mar 19 03:55:58 CET 2014
On Wed, Mar 19, 2014 at 02:56:41AM +0100, Carl Eugen Hoyos wrote:
> Hi!
>
> Attached patch allows to use --enable-lto with inline asm
> if --disable-decoder=h264,hevc --disable-parser=h264 is used (needs gcc 4.8 /
> 4.8.2 and two small patches waiting for merge on github).
>
> Fixes a part of ticket #2941 and allows to continuously test Matt Oliver's
> patches on fate.
>
> Please comment, Carl Eugen
> configure | 1 +
> 1 file changed, 1 insertion(+)
> 2ad69ef869c42f346fd2923b4717cadbea0347fe patchlto.diff
> diff --git a/configure b/configure
> index b41e0dc..ae30800 100755
> --- a/configure
> +++ b/configure
> @@ -4838,6 +4838,7 @@ if enabled lto; then
> test "$cc_type" != "$ld_type" && die "LTO requires same compiler and linker"
> check_cflags -flto
> check_ldflags -flto $cpuflags
> + disable inline_asm_direct_symbol_refs
i would be slightly nicer if the inline_asm_direct_symbol_refs test
could be improved to disable it automatically if it fails at link
stage
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- 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-devel/attachments/20140319/54c9e1ab/attachment.asc>
More information about the ffmpeg-devel
mailing list