Summary: | dev-util/cmake-3.4.0 emerge fails because CMAKE_C_STANDARD_COMPUTED_DEFAULT missing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Klaus Kusche <klaus.kusche> |
Component: | [OLD] Development | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | polynomial-c, tdalman |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch to compile and use cmake with LTO |
Description
Klaus Kusche
2015-11-14 08:13:51 UTC
I ran into the same problem. Emerging without LTO worked successfully. Sadly, all(?) packages building with CMake-3.4.0 without LTO have the same problem configuring if LTO is enabled for those. I can confirm that cmake emerges fine here with lto disabled. Disabling lto just for cmake would be no problem, but disabling lto for all packages using cmake clearly is... Created attachment 416970 [details, diff]
patch to compile and use cmake with LTO
Created a patch that allows me to compile CMake-3.4.0 with LTO enabled, and subsequently compile other packages depending on CMake as well. I'm by no means an expert, so be aware this could unintentionally make the world burn down.
Have you tried to get in contact with upstream regarding this problem? I just sent an email to the CMake developer mailing list, they seem to prefer that for their primary communication. Queued for merge with 'release' for CMake-3.4.1 cmake-3.4.1 is in the tree, can you confirm the issue is resolved there? Works for me. Thanks for testing. |