Closed henkwiedig closed 12 years ago
No problem for PROJECT=Ultra ARCH=x86_64 on 32 bit host Ubuntu 10.04.4 LTS.
The same is reported here: http://www.vdr-portal.de/board17-developer/board25-patches/p1074007-patches-xine-lib-1-2-xine-plugin-verbesserter-vdr-support/?highlight=GENERAL_REGS#post1074007
I use PROJECT=Generic ARCH=i386 Debian Squeeze 2.6.32-5-amd64
Can't reproduce on another 64 bit Ubuntu. Seems some CFLAGS parameters must be add or removed.
Seems like https://github.com/OpenELEC/OpenELEC.tv/commit/45707080600ab004a98849285396060365f833ee is responsible for that.
In build script try adding:
strip_lto
This solves it.
diff --git a/packages/3rdparty/lib/xine-lib/build b/packages/3rdparty/lib/xine-lib/build
index a1c8794..cde604a 100755
--- a/packages/3rdparty/lib/xine-lib/build
+++ b/packages/3rdparty/lib/xine-lib/build
@@ -26,6 +26,8 @@ VDR_GUI_ADDON_DIR="/storage/.xbmc/addons/script.video.vdr-gui"
cd $PKG_BUILD
+strip_lto
+
./autogen.sh --host=$TARGET_NAME \
--build=$HOST_NAME \
--with-external-ffmpeg \
Shall i open a pull request ?
thanks @henkwiedig - 9c9bb9b
noise.c: In function 'lineNoiseAvg_MMX': noise.c:232:5: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' noise.c:232:5: error: 'asm' operand has impossible constraints
see: http://pastebin.com/Uka4xKrX