Kodi Community Forum
Compilation fails with gcc 4.6 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: Compilation fails with gcc 4.6 (/showthread.php?tid=101950)



Compilation fails with gcc 4.6 - decaturguy - 2011-05-21

I can't seem to compile with default installed gcc on Archlinux.
Code:
[xbmc@archer xbmc-pvr-git]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.6-20110513/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libstdcxx-pch --enable-checking=release
Thread model: posix
gcc version 4.6.0 20110513 (prerelease) (GCC)
here is the full log: https://pastee.org/8r54z

I have gcc 4.3 installed too and it successfully compile.


- margro - 2011-05-21

Seems to be already fixed upstream. See
commit ece940ca1c2fa3617949dd50a6133b4db368da5f


- decaturguy - 2011-05-21

margro Wrote:Seems to be already fixed upstream. See
commit ece940ca1c2fa3617949dd50a6133b4db368da5f

Thanks Smile


- opdenkamp - 2011-05-21

it'll be merged after the next ppa release


- decaturguy - 2011-05-21

dushmaniac Wrote:it'll be merged after the next ppa release

Hope you have great weekend! ... many thanks Smile