[Buildroot] [autobuild.buildroot.net] Build results for 2017-01-24

Samuel Martin s.martin49 at gmail.com
Mon Feb 6 16:52:33 UTC 2017


Hi Jorg, all,

On Mon, Feb 6, 2017 at 12:06 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Sun, 05 Feb 2017 23:17:17 +0100, Jörg Krause wrote:
>
>> > I meant to ask about Debian and the lib32z1 package specifically
>> > (not
>> > zlib1g:i386). This package installs 32bit libz.so.1 in /usr/lib32.
>>
>> I reported the issue on the CMake mailing list [1]. The issue is that
>> the host rpath is used when cross-compiling a simple test program
>> generated by the check_symbol_exists() macro. I had no success in
>> disabling the rpath for any of the check_*_macros().
>>
>> As I am not a CMake expert, it's quite possible that I missed
>> something. Has anyone an idea how to fix this issue?
>>
>> [1] https://cmake.org/pipermail/cmake/2017-February/064970.html
>
> I've added Samuel in Cc. He is our CMake guy :)

I had a look at mbedtls cmake code.
It's definitely not really the usual way to use cmake.

They do not use cmake primitives to generate the config.h file [1] or
check for pthread [2]... :(
So, this forces us to either workaround this in buildroot's *.mk files
(like you did), or rework the mbedtls cmake code.
I submitted few patches to improve the situation (see PR [3]), and
hopefully get rid the hooks sooner or later.


[1] https://cmake.org/cmake/help/v3.7/command/configure_file.html
[2] https://cmake.org/cmake/help/v3.7/module/FindThreads.html
[3] https://github.com/ARMmbed/mbedtls/pull/791

Regards,

-- 
Samuel



More information about the buildroot mailing list