From: "Jörg Krause" <joerg.krause@embedded.rocks>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/4] package/cmake: revert the bump to 3.7
Date: Sun, 26 Feb 2017 10:12:18 +0100 [thread overview]
Message-ID: <1488100338.10882.3.camel@embedded.rocks> (raw)
In-Reply-To: <20170226085938.GA4043@free.fr>
Hi Yann,
On Sun, 2017-02-26 at 09:59 +0100, Yann E. MORIN wrote:
> J?rg, All,
>
> On 2017-02-26 09:44 +0100, J?rg Krause spake thusly:
> > On Sat, 2017-02-25 at 19:51 +0100, Yann E. MORIN wrote:
> > > Hello All!
> > >
> > > cmake 3.7 causes serious regressions in some cmake-based
> > > packages,
> > > related to how RPATH is handled.
> >
> > For an explanation what's going wrong please have a look at [1].
> > [1] http://lists.busybox.net/pipermail/buildroot/2017-February/1835
> > 79.html
>
> Are you sure this is related? The code you point to in this mail
> should
> not be executed in cross-compilation:
>
> ????if(NOT CMAKE_CROSSCOMPILING AND EXISTS "/etc/debian_version")
> ??????set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS
> FALSE)
> ??????set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS
> FALSE)
> ????endif()
>
> So, if this code is indeed the culprit, then it eans that
> CMAKE_CROSSCOMPILING is not set, and that in turn is probably the
> real
> issue.
By default `FIND_LIBRARY_USE_LIB32_PATHS` is set to TRUE [1], but is
set to FALSE if NOT cross-compiling AND building on a Debian host.
> (But I only had one coffee since I woke up, so I may have missed
> something...)
Me, too :-)
[1] https://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/Platform/Unix
Paths.cmake;h=d6c3d41f3112207ee11b42be18db438103e771f7;hb=896ad251#l97
next prev parent reply other threads:[~2017-02-26 9:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-25 18:51 [Buildroot] [PATCH 0/4] package/cmake: revert the bump to 3.7 Yann E. MORIN
2017-02-25 18:51 ` [Buildroot] [PATCH 1/4] Revert "cmake: bump version to 3.7.2" Yann E. MORIN
2017-02-25 18:51 ` [Buildroot] [PATCH 2/4] Revert "cmake: adjust dependencies added for libuv" Yann E. MORIN
2017-02-25 18:51 ` [Buildroot] [PATCH 3/4] Revert "cmake: bump version to 3.7.1" Yann E. MORIN
2017-02-25 18:51 ` [Buildroot] [PATCH 4/4] Revert "cmake: bump version to 3.7.0" Yann E. MORIN
2017-02-25 20:44 ` [Buildroot] [PATCH 0/4] package/cmake: revert the bump to 3.7 Baruch Siach
2017-02-25 22:10 ` Yann E. MORIN
2017-02-26 4:23 ` Baruch Siach
2017-02-26 8:44 ` Jörg Krause
2017-02-26 8:59 ` Yann E. MORIN
2017-02-26 9:12 ` Jörg Krause [this message]
2017-02-26 16:32 ` Ben Boeckel
2017-02-26 16:45 ` Yann E. MORIN
2017-02-26 20:29 ` Ben Boeckel
2017-02-26 21:34 ` Jörg Krause
2017-02-26 21:41 ` Peter Korsgaard
2017-02-26 22:40 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1488100338.10882.3.camel@embedded.rocks \
--to=joerg.krause@embedded.rocks \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.