gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

After run "lto-rebuild -r" nothing happens

Open Cerberios opened this issue 5 years ago • 5 comments

Hello there! Please can You help identify issue - when I run

lto-rebuild -r

nothing happens al all - output the same for any params (a,h,l,r)

`Searching in /usr/lib /usr/lib64 /usr/lib32 for static archives that were built using a different GCC...

No problems found!`

Thanks!

Cerberios avatar Feb 27 '21 10:02 Cerberios

@Cerberios what is your gcc? and what did you upgrade from?

hedmo avatar Feb 27 '21 13:02 hedmo

gcc -v

Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/gcc-10.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 10.2.0-r5 p6' --enable-esp --enable-libstdcxx-time --with-build-config=bootstrap-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --with-isl --disable-isl-version-check --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Gentoo Hardened 10.2.0-r5 p6)


I upgraded from gcc-9.3.0

Cerberios avatar Feb 27 '21 15:02 Cerberios

It's possible, but unlikely, that there are simply no static archives built with gcc 9.3.0 on your system. Can you find an archive, for example libz.a, that was built with gcc 9.3.0 with LTO?

InBetweenNames avatar Feb 28 '21 04:02 InBetweenNames

Good day, Shane!

No, there are nothing was built with gcc 9.3.0 with LTO.

I made fresh installation, added LTO repo and then upgraded GCC 9.3.0 --> 10.2.0 with LTO-features enabled.

For now I'd like to rebuild whole system.

On 2/28/2021 06:52, Shane Peelar wrote:

It's possible, but unlikely, that there are simply no static archives built with gcc 9.3.0 on your system. Can you find an archive, for example |libz.a|, that was built with gcc 9.3.0 with LTO?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/InBetweenNames/gentooLTO/issues/704#issuecomment-787394417, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASXVO33FIZU3LX7NJNUREUDTBHDYXANCNFSM4YJ2BDEA.



Ihr Recht auf Privatsph�re. Sch�tzen Sie Ihre Daten und wechseln jetzt zu eclipso Mail & Cloud - https://www.eclipso.de

Cerberios avatar Feb 28 '21 08:02 Cerberios

For now I'd like to rebuild whole system.

emerge -e @world would do just that.

Althorion avatar Feb 28 '21 09:02 Althorion