media-libs/lcms: disable LTO
with LTO fails with:
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
<artificial>:(.text.startup+0x1c55): undefined reference to
`cmsCloseProfile'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:460: tificc] Error 1
Can't reproduce. Do you have a build.log?
I can reproduce it on my celeron but it works ok on my i7. build.log
Have you tried GCC 11?
I didn't upgrade any system to gcc 11 yet. I'll get back to you when I find some time.
Thanks!
I finaly got around to trying it with gcc 11. I'm still getting the same error even after rebuilding the whole system and world for which I had to build a few ~arch and ** packages to even get them to build against glibc-2.34. It compiled fine with FLAGS-=-flto