[SCM] libav/experimental: Enable hardcoded tables for ia64 shared builds. At least for cross-compilation with Gentoo gcc 4.4.2 it fixes the build errors due to GPREL 22 being insufficient for the .bss size of > 4 MB without it. Why these errors do not appear with static builds is unclear, it is not due to PIC (shared builds with PIC disabled show the same issue).

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:53:49 UTC 2013


The following commit has been merged in the experimental branch:
commit 0956bc9b8373e7e0a7d1e00cf59811fb08aa2c20
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Wed Oct 28 20:44:21 2009 +0000

    Enable hardcoded tables for ia64 shared builds.
    At least for cross-compilation with Gentoo gcc 4.4.2 it fixes the build errors
    due to GPREL 22 being insufficient for the .bss size of > 4 MB without it.
    Why these errors do not appear with static builds is unclear, it is not due
    to PIC (shared builds with PIC disabled show the same issue).
    
    Originally committed as revision 20409 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index b221bcc..12d91a4 100755
--- a/configure
+++ b/configure
@@ -1800,6 +1800,8 @@ case "$arch" in
         arch="ia64"
         enable fast_64bit
         spic=$shared
+        # HACK: currently fails to build if .bss is > 4MB and shared libs are built
+        enabled shared && enable hardcoded_tables
     ;;
     m68k)
         arch="m68k"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list