Skip to content

package/cmake: revert the bump to 3.7

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. 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.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/4] package/cmake: revert the bump to 3.7

Ben, All,

On 2017-02-26 16:32 +0000, Ben Boeckel spake thusly:

Quoted 15 lines · Yann E. MORIN
Quoted 14 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/fd0ba54c7abf973691b39a0ca1bb4e07d749593a/
- freerdp : http://autobuild.buildroot.org/results/5d4/5d429d0e288754a541ee5d8be515454c5fccd28b/
- libcec : http://autobuild.buildroot.org/results/3f3/3f3593bab7734dd274faf5b5690895e9424cbb89/

(and many others)

All causes the link to be attemped against host libraries, which is definitely not appropriate...

Quoted 7 lines
Quoted 2 lines

Properly fixing this so close to the release is problematic; we'd risk having to hunt down packages one by one.

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/issues

Yes, that would be awesome.

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? ;-)

Thanks!

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'