Home
last modified time | relevance | path

Searched hist:"8 dc277cc790efa2a25a4778693cba1bfa24ab741" (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-pid-control/
H A Dmeson.builddiff 8dc277cc790efa2a25a4778693cba1bfa24ab741 Thu Apr 25 07:47:07 CDT 2024 Konstantin Aladyshev <aladyshev22@gmail.com> meson: Enable link time optimization

Currently local boost subproject compilation fails with a message:
"""
../subprojects/boost-1.84.0/libs/container/src/dlmalloc_ext_2_8_6.c:
1085:41: error: iteration 2305843009213693951 invokes undefined
behavior [-Werror=aggressive-loop-optimizations]
1085 | size = request2size(sizes[i]*element_size);

...

cc1: all warnings being treated as errors
"""
To solve the issue enable link time optimization.

Tested:
"meson setup build && cd build && meson compile" finishes successfully.

Change-Id: I6a146c5067d4d9eda163b18f9307b8b36eaedac5
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>