Summary: | sys-devel/icecream-0.9.7 with sys-devel/gcc-4.6.3 - icecream-create-env: gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eric Grüttefien <gentoo> |
Component: | Current packages | Assignee: | Gentoo Cluster Team <cluster> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | esigra, gbugs, info, jstein, ojaksch |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 |
Description
Eric Grüttefien
2012-05-31 15:06:22 UTC
Same problem here. Good demonstration of the problem, Eric. Has anyone come up with a fix or workaround for this yet? Unfortunately I cannot reproduce that (gcc-4.7.1[graphite]) Latest available gcc in portage for ~amd64 is 4.6.3. Kacper, are you saying that icecream is working with gcc-4.7.1 for you? While I'd rather not go off the beaten path (past ~amd64 keyword), I'd consider upgrading to gcc-4.7.1 if it resolves this problem. (In reply to comment #4) > Latest available gcc in portage for ~amd64 is 4.6.3. Kacper, are you saying > that icecream is working with gcc-4.7.1 for you? While I'd rather not go off > the beaten path (past ~amd64 keyword), I'd consider upgrading to gcc-4.7.1 > if it resolves this problem. OK, I've reproduced the issue with 4.6.3, now I can give a shot a diagnosing and fixing. Is somebody still working on this? Since gcc-4.6.3 went stable some weeks ago for x86_64 I've encountered this bug, too. To get a working icecream environment, I'm currently experimenting with this workaround to make gcc find the lto plugin again: Replacing the line add_file "$plugin" "$plugin" in /usr/libexec/icecc/icecc-create-env with: plugin_new_name=`echo "$plugin" | sed 's/^\/usr//'` add_file "$plugin" "$plugin_new_name" But this probably breaks the environment for other compiler versions. Nice catch .. seems to work vor me wit gcc-4.6.3 Portage 2.2.0_alpha163_p17 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.7.9-gentoo x86_64) ================================================================= System uname: Linux-3.7.9-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 8176356 total, 5524864 free KiB Swap: 8191996 total, 8191996 free Timestamp of tree: Sat, 02 Mar 2013 14:15:01 +0000 ld GNU ld (GNU Binutils) 2.22 ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.6.8, 2.7.3-r2, 3.2.3 dev-util/ccache: 3.1.9 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo science jyujin noiselabs qt gnome sunrise seden sage-on-gentoo enlightenment-niifaq emacs proaudio benf mythtv x-local Installed sets: @enlightenment, @enlightenment-misc, @enlightenment-modules, @enlightenment-themes, @system ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/conf.d /etc/entropy /etc/init.d /usr/share/config /usr/share/config/kdm /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/torque" CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=corei7 -O2 -pipe " DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1,--as-needed,--sort-common" MAKEOPTS="-j16" PKGDIR="/usr/portage/packages" 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" PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/jyujin /var/lib/layman/noiselabs /var/lib/layman/qt /var/lib/layman/gnome /var/lib/layman/sunrise /var/lib/layman/seden /var/lib/layman/sage-on-gentoo /var/lib/layman/enlightenment-niifaq /var/lib/layman/emacs /var/lib/layman/pro-audio /var/lib/layman/benf /var/lib/layman/mythtv/Gentoo /var/lib/layman/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cdr cjk cli connman consolekit cpudetection cracklib crypt cups cxx dbus dga doc dri dssi dts dv dvb dvd dvdr dvdread dvi egl emacs emboss encode examples exif fam fame fat ffmpeg firefox flac foomatic-db fortran freetype gcj gdbm gif gimpprint gmp gnome-keyring gnutls gphoto2 gpm gsl gsm gstreamer gtk gtk3 hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda jabber jack javascript jfs joystick jpeg kdeenablefinal kdehiddenvisibility kerberos ladspa lame lash latex lcd lcms ldap libnotify live lm_sensors lv2latex lzo mad mail matplotlib matroska mjpeg mmx mng modules mozdevelop mp3 mp3rtp mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses network nls nptl nsplugin ntfs odbc ogg openal openexr opengl openmp pam pango pcmcia pcre pda pdf perl png policykit postgresql ppds pulseaudio python qt3support qt4 rar rdesktop readline realtime reiserfs rss samba scanner sdl session slp speex spell sse sse2 ssl startup-notification stream svg sysfs systemd tcpd theora threads tiff tk truetype twolame udev udisks unicode upower usb v4l v4l2 vdpau visualization vorbis wayland wifi wmf wxwidgets x264 xattr xcb xfs xine xinerama xml xpm xprint xulrunner xv xvid xvmc yahoo zeitgeist zeroconf zlib" ABI_X86="64" ALSA_CARDS="emu10k1x emu10k1 usbusx2y" 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="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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" 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 void joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" LIRC_DEVICES="audio audio_alsa serial pctv" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev vesa nvidia nouveau" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON This version is not in the tree anymore. Could you please test and report with a current version from the official tree? sys-devel/icecream-1.4: no issue with GCC 12 + LTO CFLAGS="-O3 -pipe -march=native -fomit-frame-pointer -fopt-info-vec -mindirect-branch=thunk -mindirect-branch-register -flto=auto -ffat-lto-objects" (In reply to Adrien Dessemond from comment #9) > sys-devel/icecream-1.4: no issue with GCC 12 + LTO > > CFLAGS="-O3 -pipe -march=native -fomit-frame-pointer -fopt-info-vec > -mindirect-branch=thunk -mindirect-branch-register -flto=auto > -ffat-lto-objects" Thanks! |