Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476334 - sys-devel/dragonegg-3.3 fails to emerge - error: no matching function for call llvm::DIBuilder::createMethod
Summary: sys-devel/dragonegg-3.3 fails to emerge - error: no matching function for cal...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-10 00:35 UTC by Austin English (RETIRED)
Modified: 2014-09-17 23:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build_log.txt,19.27 KB, text/plain)
2013-07-10 00:36 UTC, Austin English (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austin English (RETIRED) gentoo-dev 2013-07-10 00:35:34 UTC
/var/tmp/portage/sys-devel/dragonegg-3.3/work/dragonegg-3.3.src/src/Debug.cpp: In member function 'llvm::DISubprogram DebugInfo::CreateSubprogram(llvm::DIDescriptor, llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::DIFile, unsigned int, llvm::DIType, bool, bool, unsigned int, unsigned int, llvm::DIType, unsigned int, bool, llvm::Function*)':
/var/tmp/portage/sys-devel/dragonegg-3.3/work/dragonegg-3.3.src/src/Debug.cpp:1121:61: error: no matching function for call to 'llvm::DIBuilder::createMethod(llvm::DIDescriptor&, llvm::StringRef&, llvm::StringRef&, llvm::DIFile&, unsigned int&, llvm::DIType&, bool&, bool&, unsigned int&, unsigned int&, NULL, unsigned int&, bool&, llvm::Function*&, NULL)'
/var/tmp/portage/sys-devel/dragonegg-3.3/work/dragonegg-3.3.src/src/Debug.cpp:1121:61: note: candidate is:
In file included from /var/tmp/portage/sys-devel/dragonegg-3.3/work/dragonegg-3.3.src/include/dragonegg/Debug.h:31:0,
                 from /var/tmp/portage/sys-devel/dragonegg-3.3/work/dragonegg-3.3.src/src/Debug.cpp:24:
/usr/local/include/llvm/DIBuilder.h:536:18: note: llvm::DISubprogram llvm::DIBuilder::createMethod(llvm::DIDescriptor, llvm::StringRef, llvm::StringRef, llvm::DIFile, unsigned int, llvm::DICompositeType, bool, bool, unsigned int, unsigned int, llvm::MDNode*, unsigned int, bool, llvm::Function*, llvm::MDNode*)


Reproducible: Always

Steps to Reproduce:
unmask llvm-3.3 and dragonegg-3.3
emerge -v dragonegg
Actual Results:  
emerge fails

Expected Results:  
emerge should succeed

Portage 2.1.12.2 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.16.0, 3.9.7-gentoo-dev-1 x86_64)
=================================================================
System uname: Linux-3.9.7-gentoo-dev-1-x86_64-Intel-R-_Core-TM-_i7_CPU_960_@_3.20GHz-with-gentoo-2.2
KiB Mem:     6107112 total,   1738396 free
KiB Swap:     976892 total,     81524 free
Timestamp of tree: Thu, 27 Jun 2013 21:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.2.3-r2, 3.3.2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.3, 4.8.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/mtab /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=corei7 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4.00"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="X X509 aac acl acpi alsa amd64 ao apng bash-completion berkdb bluetooth bluray branding btrfs bzip2 cairo caps cddb cdio cdparanoia cdr cli consolekit corefonts cracklib crypt cups curl cxx dbus dconf device-mapper dri dvd dvdr dvi exif fam ffmpeg fftw flac fortran fuse g3dvl gdbm gif git gmp gnome gnome-keyring gpm gsm gstreamer gtk gtk3 gudev hwdb iconv ios ipv6 java jbig jbit jpeg jpeg2k json lcms libffi libnotify lzma lzo mad mmap mmx mmxext mng modules mp3 mudflap multilib nautilus ncurses networking networkmanager nls nptl ogg openal opengl openmp openssl opus pam pcre png pnm policykit pulseaudio python qt3support readline samba sdl session sndfile snmp speex spell sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg theora threads tiff truetype udev udisks unicode usb vaapi vala vdpau vim vim-syntax vorbis vpx x264 xattr xcb xinerama xmp xorg xv xvmc zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps mdraid lvm nfs ssh-client btrfs" 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" GRUB_PLATFORMS="coreboot efi-32 efi-64 multiboot pc" INPUT_DEVICES="evdev vmmouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 jython2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386 ppc ppc64 sparc sparc64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="cirrus nvidia virtualbox vmware qxl intel radeon vesa nouveau i965" 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"
USE_PYTHON="2.7 3.3 2.7-jython"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Austin English (RETIRED) gentoo-dev 2013-07-10 00:36:48 UTC
Created attachment 352968 [details]
build log
Comment 2 Austin English (RETIRED) gentoo-dev 2013-07-10 01:02:45 UTC
After further testing, it's similar to bug 463672. Temporarily moving /usr/local allows dragonegg to emerge.
Comment 3 Austin English (RETIRED) gentoo-dev 2013-07-10 01:06:51 UTC
Though it fails to run:

austin@aw25 ~ $ gcc-4.6.3 -fplugin=/usr/lib64/llvm/dragonegg.so ~/src/foo.c 
cc1: error: cannot load plugin /usr/lib64/llvm/dragonegg.so
/usr/lib64/llvm/dragonegg.so: undefined symbol: _Z22tree_map_base_marked_pPKv
austin@aw25 ~ $ cat ~/src/foo.c
#include <stdio.h>
int main(void)
{
    return 0;
}

austin@aw25 ~ $ qlist -Iv llvm dragonegg
sys-devel/dragonegg-3.3
sys-devel/llvm-3.3
Comment 4 Bernard Cafarelli gentoo-dev 2014-09-17 23:17:29 UTC
llvm ebuilds have seen a lot of change since 3.3, and I have only kept last dragonegg-3.5.0 now, so things should work better (plugin works on my test source files here :) )