Easy to check. My setups, installed from repo, was not contain lto* here:
# ls -al /opt/csw/libexec/gcc/i386-pc-solaris2.10/5.5.0/ total 162323 drwxr-xr-x 4 root bin 15 Mar 2 10:54 . drwxr-xr-x 3 root bin 3 Mar 1 04:12 .. -rwxr-xr-x 1 root root 17348644 Mar 2 10:54 cc1 -rwxr-xr-x 1 root root 18472868 Mar 2 10:54 cc1plus -rwxr-xr-x 1 root bin 692912 Oct 12 2017 cgo -rwxr-xr-x 1 root root 497436 Mar 2 10:54 collect2 -rwxr-xr-x 1 root bin 110898180 Oct 12 2017 go1 drwxr-xr-x 2 root root 6 Mar 2 10:54 install-tools -rwxr-xr-x 1 root root 996 Mar 2 10:54 liblto_plugin.la lrwxrwxrwx 1 root root 22 Mar 2 10:54 liblto_plugin.so -> liblto_plugin.so.0.0.0 lrwxrwxrwx 1 root root 22 Mar 2 10:54 liblto_plugin.so.0 -> liblto_plugin.so.0.0.0 -rwxr-xr-x 1 root root 293084 Mar 2 10:54 liblto_plugin.so.0.0.0 -rwxr-xr-x 1 root root 673020 Mar 2 10:54 lto-wrapper -rwxr-xr-x 1 root root 16624004 Mar 2 10:54 lto1 drwxr-xr-x 2 root root 3 Mar 2 10:54 plugin and, especially, this one: /opt/csw/libexec/gcc/i386-pc-solaris2.10/5.5.0/plugin/gengtype Now is ok, because of I've built all boxes GCC from source. Sorry, can't give any sources wich dependent from LTO - all of them is either dependent from a lot external dependensies, or commercial (not open source). 10.07.2019 19:01, Dagobert Michelsen пишет: > Hi Yuri, > > Am 10.07.2019 um 13:15 schrieb Yuri via users <[email protected]>: >> many months ago I found bug in GCC 5.5 at OpenCSW. >> >> It does not contains correctly built LTO. >> >> So, -flto does not work. >> >> To fix that, I"ve built GCC 5.5 on my boxes from sources - all ok. >> >> Pls, check and fix, if possible. > Can you please give some failing sample code? My trivial tests seem to work. > > > Best regards > > — Dago > >> WBR, Yuri >> >> -- >> "C++ seems like a language suitable for firing other people's legs." >> >> ***************************** >> * C++20 : Bug to the future * >> ***************************** >> >> > -- > "You don't become great by trying to be great, you become great by wanting to > do something, > and then doing it so hard that you become great in the process." - xkcd #896 > -- "C++ seems like a language suitable for firing other people's legs." ***************************** * C++20 : Bug to the future * *****************************
signature.asc
Description: OpenPGP digital signature
