Hello, lightspark-0.4.5 fails to compile with llvm-2.8-r1 and gcc-4.5-r1 on ~x86: [ 5%] Building CXX object CMakeFiles/spark.dir/frame.cpp.o In file included from /usr/include/llvm/Support/Allocator.h:17:0, from /usr/include/llvm/ADT/StringMap.h:18, from /usr/include/llvm/PassRegistry.h:20, from /usr/include/llvm/PassSupport.h:25, from /usr/include/llvm/Pass.h:366, from /usr/include/llvm/PassManager.h:20, from /var/tmp/portage/www-plugins/lightspark-0.4.5/work/lightspark-0.4.5/scripting/abc.h:27, from /var/tmp/portage/www-plugins/lightspark-0.4.5/work/lightspark-0.4.5/frame.cpp:20: /usr/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before ‘alignof’ I tried with FEATURES="-distcc -ccache" MAKEOPTS="-j1", but result is the same.
Created attachment 257195 [details] build.log
Created attachment 257197 [details] environment
Created attachment 257198 [details] emerge --info
It seems to be a known issue in llvm that is claimed to be fixed upstream: http://markmail.org/message/4d7vcdsamfvu45lz
I can't build llvm-9999 to test this, because of failed llvm-2.7-nodoctargz.patch.
From your emerge --info: Timestamp of tree: Sun, 12 Dec 2010 20:00:01 +0000 From ChangeLog: +# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.21 2010/12/12 21:21:38 chithanh Exp $ + + 12 Dec 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + lightspark-0.4.5.ebuild, +files/lightspark-0.4.5-llvm-2.8-gcc-4.5.patch: + Work around llvm-2.8 issue with gcc-4.5, bug #348552 Please reopen if the issue still exists after running emerge --sync.
Yes, my portage tree was somewhat outdated. Problem is solved.