[Buildroot] [PATCH v2 1/1] Fix -latomic for CMake packages

Gleb Mazovetskiy glex.spb at gmail.com
Fri Apr 16 22:36:56 UTC 2021


Can the maintainers please merge this?

It's still a better way to do this, quoting Peter Seiderer:

> Still +1 for the patch (as the CMAKE_EXE_LINKER_FLAGS usage is smarter
than the '$(TARGET_CXXFLAGS) -latomic' dance....

On Thu, Apr 15, 2021 at 10:02 PM Gleb Mazovetskiy <glex.spb at gmail.com>
wrote:

> > Thanks for providing the defconfig, as far as I can see nothing special
> (and no poppler enabled?),
>
> Poppler is a transitive dependency of another package (
> https://github.com/batocera-linux/batocera.linux/blob/95f96803e04027b7996c73ae05b40a891dad0ca9/package/batocera/emulationstation/batocera-emulationstation/Config.in
> )
>
> On Thu, Apr 15, 2021 at 10:00 PM Gleb Mazovetskiy <glex.spb at gmail.com>
> wrote:
>
>> My host cmake is 3.20.0 from Ubuntu 20.10
>> It must be some environment / host cmake difference but I can't pinpoint
>> it either, thus my vague commit message
>>
>> If I run this in a Docker container with an older Ubuntu I can't
>> reproduce it either
>>
>> On Thu, Apr 15, 2021 at 9:46 PM Arnout Vandecappelle <arnout at mind.be>
>> wrote:
>>
>>>
>>>
>>> On 15/04/2021 21:44, Peter Seiderer wrote:
>>> > Hello Gleb,
>>> >
>>> > On Thu, 15 Apr 2021 04:49:29 +0100, Gleb Mazovetskiy <
>>> glex.spb at gmail.com> wrote:
>>> >
>>> >> Hi Peter,
>>> >>
>>> >> The failing defconfig is here (it's specific to this buildroot):
>>> >>
>>> https://github.com/batocera-linux/batocera.linux/blob/8d8038a6ddaae03f0150fd28a2d23c371156ebf2/configs/batocera-odroidgoa_defconfig
>>> >
>>> > Thanks for providing the defconfig, as far as I can see nothing
>>> special (and no
>>> > poppler enabled?), normal buildroot-glibc-gcc-10.x toolchain..., and I
>>> am not
>>> > able to reproduce your problem (did only test without ccache)...
>>>
>>>  CMake is known to do weird things with -isystem, and this can change
>>> over cmake
>>> versions, and we use the host cmake if sufficiently recent. So that
>>> could make a
>>> difference.
>>>
>>>  Regards,
>>>  Arnout
>>>
>>> [snip]
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210416/330f607f/attachment-0002.html>


More information about the buildroot mailing list