Summary: | sys-devel/llvm-2.8 causes build failures with sys-devel/gcc-4.5: expected unqualified-id before 'alignof' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Emmanuel Andry <eandry> |
Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chithanh, eandry |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://groups.google.com/group/llvm-dev/browse_thread/thread/ca747ca9c750ca26/dc50cd293ee3efc7?show_docid=dc50cd293ee3efc7 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 296658 | ||
Attachments: | lightspark 0.4.5 build log |
Description
Emmanuel Andry
2010-12-12 19:05:33 UTC
# emerge --info Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-r5-x86_64-AMD_Phenom-tm-_II_N930_Quad-Core_Processor-with-gentoo-2.0.1 Timestamp of tree: Sun, 12 Dec 2010 18:15:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r2 dev-lang/python: 2.7.1, 3.1.3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA googleearth Broadcom PUEL dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -mtune=native -msse4a -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -mtune=native -msse4a -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="rsync://ftp6.linux.cz/pub/linux/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.opteamax.de/gentoo/ rsync://mirror.opteamax.de/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo" LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="fr" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/x11" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi agg alsa amd64 audit autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdr chm cleartype cli colordiff consolekit cracklib crypt cups curl cxx dbus desktopglobe dga dhcp dirac dri dts dvd dvdr ebook embedded-fuseiso emboss encode exif expat extras faac faad fam ffmpeg fftw firefox flac fluidsynth fontconfig fortran freetype fts3 fuse gallium gdbm gif glitz gmp gnutls gphoto2 gpm graphite gs gsm gstreamer gtk hal hdmi hdri iconv icoutils icu id3tag idn imagemagick inotify ipv6 java jbig jpeg jpeg2k kde kipi laptop lcms ldap libedit libnl libnotify libsamplerate libv4l2 live lm_sensors lto lua lzma lzo mad matroska midi mikmod mktemp mmx mmxext mng modules mp3 mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses network network-cron nls nptl nptlonly nsplugin nss ogg openal opencl openexr opengl openmp openssl optimized-qmake pae pam pango pcre pdf perl phonon plasma png policykit polkit portaudio ppds pppd pulseaudio python qt3support qt4 quicktime radeon rdp readline resolvconf rss rtmp rtsp samba schroedinger sdl secure-delete semantic-desktop session skey sndfile spell sqlite sse sse2 sse4a ssl startup-notification stream strong-optimization suid svg symlink synaptics sysfs system-sqlite taglib tcpd theora threads thumbnail tiff truetype udev unicode upnp usb utempter v4l2 vaapi vnc vorbis vp8 vpx wav webkit webm wicd wifi windeco winetricks wps x264 xattr xcb xcomposite xinerama xml xmp xorg xosd xpm xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Which version of llvm do you have installed? Please attach the full build.log Created attachment 256979 [details]
lightspark 0.4.5 build log
I use llvm 2.8
It seems that #340437 hasn't been fixed. It build fine with llvm 2.7. I can build it successfully with llvm-2.8 here. Can you try with gcc-4.4? Building with llvm 2.8 and gcc-4.4.5 is ok. Just some issues at linking time, but just because I didn't rebuild the whole toolchain. Further investigation reveals that this is a bug in llvm-2.8. It is fixed upstream already. I will add a workaround to the lightspark ebuild. A helpful user pointed me to the llvm bug: http://www.llvm.org/bugs/show_bug.cgi?id=8423 I've backported the relevant patch in llvm-2.8-r2, can you test and confirm this works fine with this new revision? I confirm lightspark build fine with lvm-2.8-r2, and cherry on the cake, lightspark works !! Thanks for checking! Marking fixed with llvm-2.8-r2 then :) |