Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 649852

Summary: lxde-base/lxterminal-0.3.1 with lto or fat-lto - ?
Product: Gentoo Linux Reporter: CaptainBlood <luc_pierard_de_maujouy>
Component: Current packagesAssignee: LXDE team (DEFUNCT) <lxde+disabled>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: strace for no-lto working lxterminal
strace for non working lto lxterminal
emerge --info for working no-lto lxterminal
emerge --info for non working lto lxterminal

Description CaptainBlood 2018-03-07 16:28:11 UTC
I guess title says it all,
PLease note lto has been working for many years now, at least here.

Reproducible: Always




 emerge --info lxterminal
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0, gcc-7.2.0, glibc-2.26-r5, 4.9.76-gentoo-r1-krnlschd x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.76-gentoo-r1-krnlschd-x86_64-Intel-R-_Core-TM-_i3-3217U_CPU_@_1.80GHz-with-gentoo-2.4.1
KiB Mem:     8050860 total,   1398716 free
KiB Swap:    8048528 total,   8045892 free
Timestamp of repository gentoo: Wed, 07 Mar 2018 14:45:01 +0000
Head commit of repository gentoo: fc6918c1958c013b0ae8c6b880d6bcd40b7273f7
Timestamp of repository jorgicio: Mon, 05 Mar 2018 14:25:51 +0000
Head commit of repository jorgicio: 143c32e06de0d624b99f8d4afe738f2e62726499

Timestamp of repository mv: Wed, 07 Mar 2018 07:05:54 +0000
Head commit of repository mv: c73bec2fb84bb194836b154cd90a003d7384a3d7

Timestamp of repository rasdark: Mon, 05 Mar 2018 13:06:18 +0000
Head commit of repository rasdark: f4f2cedc3dc4eb6fc64b1ee286d9f229393c3192

Timestamp of repository sabayon: Fri, 02 Mar 2018 18:30:42 +0000
Head commit of repository sabayon: 51ea5ac5339feb5b2697fd75e440736f772e5f8f

Timestamp of repository ssnb: Fri, 02 Mar 2018 09:12:41 +0000
Head commit of repository ssnb: 5324def9aa5a359a49a37ce5beb8867080eff232

Timestamp of repository sublime-text: Fri, 02 Mar 2018 09:11:08 +0000
Head commit of repository sublime-text: 98710f2b727a2558062f0e1137c81a616ed3397a

Timestamp of repository zyrenth: Fri, 02 Mar 2018 23:53:07 +0000
Head commit of repository zyrenth: 1cedcda0f3dde94bdd70e94ec8e85f7d22bcf133

sh bash 4.4_p12
ld GNU gold (Gentoo 2.29.1 p3 2.29.1) 1.14
distcc[11148] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Jan 11 2018 15:38:22 [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.30::gentoo
sys-devel/gcc:            7.2.0-r1::gentoo, 7.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --timeout=600

jorgicio
    location: /var/db/repos/jorgicio
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/jorgicio.git
    masters: gentoo

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mv.git
    masters: gentoo

rasdark
    location: /var/db/repos/rasdark
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/rasdark.git
    masters: gentoo

sabayon
    location: /var/db/repos/sabayon
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sabayon.git
    masters: gentoo

ssnb
    location: /var/db/repos/ssnb
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ssnb.git
    masters: gentoo

sublime-text
    location: /var/db/repos/sublime-text
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sublime-text.git
    masters: gentoo

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

zyrenth
    location: /var/db/repos/zyrenth
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/zyrenth.git
    masters: gentoo

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

Installed sets: @gcc-toolchain
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=ivybridge -O2 -fopenmp -flto=4 -fuse-linker-plugin  -fno-fat-lto-objects    -flto-compression-level=9 -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear -pipe -I/usr/include/tirpc/"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=ivybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=ivybridge -O2 -fopenmp -flto=4 -fuse-linker-plugin  -fno-fat-lto-objects    -flto-compression-level=9 -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear -pipe -I/usr/include/tirpc/    "
DISTDIR="/usr/distfiles"
EMERGE_DEFAULT_OPTS="	--alert y 			--alphabetical 		--ask-enter-invalid 			--autounmask y  			--autounmask-only n  			--autounmask-unrestricted-atoms y  	--autounmask-write y 			--misspell-suggestions n 		--noconfmem 			--nospinner   			--tree 		--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirrors.evowise.com/gentoo/ http://tux.rainside.sk/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.neolabs.kz/gentoo/pub http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://gentoo.mirror.web4u.cz/"
LANG="fr_FR.utf8"
LDFLAGS=" -Wl,-O1 -Wl,-flto     -Wl,-s  -Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common "
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X amd64 bluetooth bzip2 cli consolekit crypt cxx dbus dri egl fftw flac fortran gdbm gif gles gles1 gles2 gmp iconv icu id3tag jack jpeg2k ladspa linguas_fr mad modules multilib multislot ncurses nls nptl ogg openal opengl openmp opus orc pam pch pcre png policykit portaudio pulseaudio qt5 readline seccomp smp sndfile sox sse sse2 sse4_1 ssl ssse3 svg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite tcpd threads tiff truetype twolame udev udisks unicode upower v4l vaapi vorbis x264 xcb xinerama 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="artec_eplus48u" USERLAND="GNU" VIDEO_CARDS="intel 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND

=================================================================
                        Package Settings
=================================================================

lxde-base/lxterminal-0.3.1::gentoo was built with the following:
USE="-gtk3" ABI_X86="(64)"
CFLAGS="-march=ivybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=ivybridge -O2 -fopenmp -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear -pipe -I/usr/include/tirpc/"
CXXFLAGS="-march=ivybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=ivybridge -O2 -fopenmp -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear -pipe -I/usr/include/tirpc/"
LDFLAGS="-Wl,-O1 -Wl,-s -Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-08 13:46:32 UTC
The title doesn't actually say it all. What happens when you try to run it? It should show some kind of output that might help establish the cause of the problem.
Comment 2 CaptainBlood 2018-05-14 16:05:19 UTC
Created attachment 531324 [details]
strace for no-lto working lxterminal

Oops, my bad!
I onlytoke notice of my mistake @emerge -e world@gcc:7.3.0 upgrade.
My apologizes...
Comment 3 CaptainBlood 2018-05-14 16:10:07 UTC
Created attachment 531326 [details]
strace for non working lto lxterminal

Didn't investigate yet...
Sorry for straight forward push.
Wouldn't be surprised culprit to be my too bleeding edge portage default conf.
Comment 4 CaptainBlood 2018-05-14 16:16:24 UTC
Without strace, lxterminal command line launch just returns to terminal prompt.
Comment 5 CaptainBlood 2018-05-14 16:25:07 UTC
Created attachment 531328 [details]
emerge --info for working no-lto lxterminal
Comment 6 CaptainBlood 2018-05-14 16:25:53 UTC
Created attachment 531330 [details]
emerge --info for non working lto lxterminal
Comment 7 Hanno Böck gentoo-dev 2019-05-24 17:53:16 UTC
Your emerge --info looks like you haven't only enabled lto, but a whole bunch of obscure compiler flags. None of that is part of any official Gentoo documentation.

As far as I'm aware we're also not officially supporting lto-compiled systems. Still: If I compile lxterminal with lto it doesn't crash.