gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

media-libs/lcms: disable LTO

Open obi1 opened this issue 4 years ago • 6 comments

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

obi1 avatar Mar 22 '21 20:03 obi1

Can't reproduce. Do you have a build.log?

InBetweenNames avatar Jun 28 '21 15:06 InBetweenNames

I can reproduce it on my celeron but it works ok on my i7. build.log

obi1 avatar Jun 28 '21 18:06 obi1

Have you tried GCC 11?

InBetweenNames avatar Jun 29 '21 16:06 InBetweenNames

I didn't upgrade any system to gcc 11 yet. I'll get back to you when I find some time.

obi1 avatar Jun 30 '21 09:06 obi1

Thanks!

InBetweenNames avatar Jul 08 '21 14:07 InBetweenNames

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

obi1 avatar Sep 11 '21 13:09 obi1