Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media-libs/lcms: disable LTO #720

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

obi1
Copy link
Contributor

@obi1 obi1 commented Mar 22, 2021

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

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
@InBetweenNames
Copy link
Owner

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

@obi1
Copy link
Contributor Author

obi1 commented Jun 28, 2021

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

@InBetweenNames
Copy link
Owner

Have you tried GCC 11?

@obi1
Copy link
Contributor Author

obi1 commented Jun 30, 2021

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

@InBetweenNames
Copy link
Owner

Thanks!

@obi1
Copy link
Contributor Author

obi1 commented Sep 11, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants