Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418377 - 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
Summary: sys-devel/icecream-0.9.7 with sys-devel/gcc-4.6.3 - icecream-create-env: gcc:...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2012-05-31 15:06 UTC by Eric Grüttefien
Modified: 2022-10-14 00:28 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Grüttefien 2012-05-31 15:06:22 UTC
localhost # icecream-create-env 
adding file /usr/bin/gcc=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcc
adding file /lib64/libc.so.6
adding file /lib64/ld-linux-x86-64.so.2
loader cannot load itself
ldd: exited with unknown exit code (127)
adding file /usr/bin/g++=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/g++
adding file /usr/bin/as=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/as
adding file /usr/lib64/binutils/x86_64-pc-linux-gnu/2.21.1/libopcodes-2.21.1.so
adding file /usr/x86_64-pc-linux-gnu/lib/libbfd-2.21.1.so
adding file /lib64/libdl.so.2
adding file /lib64/libz.so.1
adding file /usr/lib64/binutils/x86_64-pc-linux-gnu/2.21.1/libbfd-2.21.1.so
adding file /usr/bin/cc1=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/cc1
adding file /usr/lib64/libmpc.so.2
adding file /usr/lib64/libmpfr.so.4
adding file /usr/lib64/libgmp.so.10
adding file /usr/bin/cc1plus=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/cc1plus
adding file /usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/liblto_plugin.so
adding file /etc/ld.so.conf=/tmp/icecc_ld_so_confobykV4
cp: omitting directory '/lib'
cp: omitting directory '/usr/lib'
creating 82c8b5f5e8139d4fd18654a1fb0ce37e.tar.gz
Testing icecc environment...
gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.

Creating icecc environment failed. Please see error message(s) above! The temporary directory is: /tmp/tmp.RwHtbnduAn/
localhost # cd /tmp/tmp.RwHtbnduAn/
localhost tmp.RwHtbnduAn # cp /usr/bin/strace usr/bin/
localhost tmp.RwHtbnduAn # chroot ./ usr/bin/strace usr/bin/gcc empty.o 
execve("usr/bin/gcc", ["usr/bin/gcc", "empty.o"], [/* 42 vars */]) = 0
brk(0)                                  = 0x656000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc26fab4000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=569, ...}) = 0
mmap(NULL, 569, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc26fab3000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200&\242Q7\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1756096, ...}) = 0
mmap(0x3751a00000, 3857736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3751a00000
mprotect(0x3751ba4000, 2097152, PROT_NONE) = 0
mmap(0x3751da4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a4000) = 0x3751da4000
mmap(0x3751daa000, 15688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3751daa000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc26fab2000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc26fab1000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc26fab0000
arch_prctl(ARCH_SET_FS, 0x7fc26fab1700) = 0
mprotect(0x652000, 4096, PROT_READ)     = 0
mprotect(0x3751da4000, 16384, PROT_READ) = 0
mprotect(0x3750421000, 4096, PROT_READ) = 0
munmap(0x7fc26fab3000, 569)             = 0
brk(0)                                  = 0x656000
brk(0x677000)                           = 0x677000
rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0x3751a35d50}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x4077a0, [INT], SA_RESTORER|SA_RESTART, 0x3751a35d50}, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0x3751a35d50}, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0x3751a35d50}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x4077a0, [HUP], SA_RESTORER|SA_RESTART, 0x3751a35d50}, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0x3751a35d50}, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0x3751a35d50}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x4077a0, [TERM], SA_RESTORER|SA_RESTART, 0x3751a35d50}, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0x3751a35d50}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x3751a35d50}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0x4077a0, [PIPE], SA_RESTORER|SA_RESTART, 0x3751a35d50}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x3751a35d50}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x3751a35d50}, {SIG_DFL, [], 0}, 8) = 0
getcwd("/", 4096)                       = 2
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=160, ...}) = 0
lstat("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=347896, ...}) = 0
getcwd("/", 4096)                       = 2
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=160, ...}) = 0
lstat("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=347896, ...}) = 0
access("/usr/bin/", X_OK)               = 0
access("/usr/bin/", X_OK)               = 0
access("empty.o", F_OK)                 = 0
access("/usr/bin/", X_OK)               = 0
access("/usr/bin/", X_OK)               = 0
access("/usr/bin/../../../lib/gcc/x86_64-pc-linux-gnu/4.6.3/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/../../../lib/gcc/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/../../../lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/4.6.3/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/../../../lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/lib/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/", X_OK)               = 0
stat("/usr/bin/../../../libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper", 0x7fffa3b438c0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/../../../libexec/gcc/lto-wrapper", 0x7fffa3b438c0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/../../../lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/4.6.3/lto-wrapper", 0x7fffa3b438c0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/../../../lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/lto-wrapper", 0x7fffa3b438c0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/../../../libexec/gcc/x86_64-pc-linux-gnu/4.6.3/collect2", 0x7fffa3b438c0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/../../../libexec/gcc/collect2", 0x7fffa3b438c0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/../../../lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/4.6.3/collect2", 0x7fffa3b438c0) = -1 ENOENT (No such file or directory)
stat("/usr/bin/../../../lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/collect2", 0x7fffa3b438c0) = -1 ENOENT (No such file or directory)
access("/usr/bin/../../../libexec/gcc/x86_64-pc-linux-gnu/4.6.3/liblto_plugin.so", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/../../../libexec/gcc/liblto_plugin.so", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/../../../lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/4.6.3/liblto_plugin.so", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/../../../lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/liblto_plugin.so", R_OK) = -1 ENOENT (No such file or directory)
write(2, "gcc: fatal error: -fuse-linker-p"..., 69gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found) = 69
write(2, "\n", 1
)                       = 1
write(2, "compilation terminated.\n", 24compilation terminated.
) = 24
exit_group(1)                           = ?
+++ exited with 1 +++
localhost tmp.RwHtbnduAn # 

localhost tmp.RwHtbnduAn # emerge --info
Portage 2.1.10.63 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.3.0-gentoo x86_64)
=================================================================
System uname: Linux-3.3.0-gentoo-x86_64-Six-Core_AMD_Opteron-tm-_Processor_8439_SE-with-gentoo-2.1
Timestamp of tree: Thu, 31 May 2012 09:00:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            3.3.6-r1, 4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo gamerlay-stable kde x-priv_overlay x-perforce_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-g -O2 -pipe -mtune=amdfam10 -march=amdfam10 -floop-interchange -floop-strip-mine -floop-block -ftree-vectorize -mstackrealign"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-g -O2 -pipe -mtune=amdfam10 -march=amdfam10 -floop-interchange -floop-strip-mine -floop-block -ftree-vectorize -mstackrealign"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=16 --keep-going --load-average=24"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j25"
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/gamerlay /var/lib/layman/kde /usr/local/priv_overlay /usr/local/perforce_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X acl acpi alsa amd64 ao apache2 apng archive aspell autoipd avahi avi bash-completion berkdb bluetooth branding bzip2 cairo calendar cdaudio cdda clamav clamd cleartype cli consolekit corefonts cracklib crypt cups curl cxx dbus declarative device-mapper dirac dri dso eds emerald evo extensions extras fbsplash ffmpeg fluidsynth fontconfig fortran fuse g3dvl gd gdbm gdu git glib glitz gnome gnome-print gnutls gpm graphite graphtft-fe graphviz gstreamer gtk gtk3 gudev h323 highlight hwdb i18n iconv ipv6 ipw3945 jamvm java jpeg jpeg2k kde kdehiddenvisibility kdrive laptop lcms libkms lua mad matroska mdnsresponder-compat midi minizip mmx mmxext mng modules mp3 mpeg mpm-worker mudflap multilib multimedia multiuser ncurses networkmanager nls nptl nsplugin ntfs nvidia odbc offensive ogg okteta okular opengl openmp opensync optimization pam pango pcntl pcre pdflib pdo perl pertty png policykit portaudio postgres pppd pulseaudio python qt-copy qt3support qt4 rar readline realmedia samba schroedinger semantic-desktop sensord server session simplexml sip slang smp smpeg spell sql sqlite sse sse-filters sse2 sse3 sse4a ssl ssse3 subversion svg system-wide tcpd threads tidy tiff tk truetype udev unicode vaapi vdpau video visibility vorbis wav webkit xa xattr xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner zlib zrtp" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy nvidia v4l" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Gregg Casillo 2012-06-20 19:01:48 UTC
Same problem here. Good demonstration of the problem, Eric.
Comment 2 Gregg Casillo 2012-08-20 21:03:27 UTC
Has anyone come up with a fix or workaround for this yet?
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-08-23 11:03:41 UTC
Unfortunately I cannot reproduce that (gcc-4.7.1[graphite])
Comment 4 Gregg Casillo 2012-08-23 17:53:34 UTC
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.
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-08-24 07:40:16 UTC
(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.
Comment 6 Thomas Elste 2013-01-24 08:34:31 UTC
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.
Comment 7 Bjoern Thorwirth 2013-03-02 14:43:54 UTC
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
Comment 8 Jonas Stein gentoo-dev 2021-11-21 23:11:32 UTC
This version is not in the tree anymore.
Could you please test and report with a current version from the official tree?
Comment 9 Adrien Dessemond 2022-10-13 13:43:16 UTC
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"
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-14 00:28:13 UTC
(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!