package/cmake: revert the bump to 3.7
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/4] package/cmake: revert the bump to 3.7
Hi Ben, hi Yann,
Quoted 36 lines · Yann E. MORIN
Ben, All,
On 2017-02-26 16:32 +0000, Ben Boeckel spake thusly:
Quoted 24 lines · Yann E. MORIN
Quoted 15 lines
cmake 3.7 causes serious regressions in some cmake-based packages,
related to how RPATH is handled.See for example:
? - domoticz : http://autobuild.buildroot.org/results/fd0/fd0ba54
c7abf973691b39a0ca1bb4e07d749593a/
? - freerdp??: http://autobuild.buildroot.org/results/5d4/5d429d0
e288754a541ee5d8be515454c5fccd28b/
? - libcec???: http://autobuild.buildroot.org/results/3f3/3f3593b
ab7734dd274faf5b5690895e9424cbb89/(and many others)
Quoted 7 lines
All causes the link to be attemped against host libraries, which is
definitely not appropriate...Properly fixing this so close to the release is problematic; we'd risk
having to hunt down packages one by one.Quoted 6 lines
Could you please submit a report to CMake's issue tracker? Regressions
are taken seriously and it'd be nice to have this fixed for 3.8.0 (which
is currently in its RC cycle). ????https://gitlab.kitware.com/cmake/cmake/issuesYes, that would be awesome.
Quoted 7 lines
However, I don't know how to caracterise the bug with a minimal reproducer.
Nor am I able to explain exactly what happens in details...Maybe J?rg (which has already made an extensive analyis of the problem)
or you (if you are knowledgeable about cmake) could do it? ;-)
In fact, I already submitted a report [1] to the CMake mailing list some weeks ago. I was not sure, if this is a bug or a lack of understanding at that moment.
Ray Donnelly replied in that thread he has a PR [2] in the loop "[..] that asks the linker (via the compiler) what its implicit search directories are instead.?It is the right way to do it IMHO, but I need to find time to finish it unfortunately."
I did not checked the PR, yet.
[1] http://public.kitware.com/pipermail/cmake/2017-February/064970.html
[2] https://gitlab.kitware.com/mingwandroid/cmake/commit/b937ff949d8fdaab7d8b812d503f67f8cef69532
J?rg