Home
last modified time | relevance | path

Searched hist:"5 cf32ea8" (Results 1 – 2 of 2) sorted by relevance

/openbmc/libpldm/
H A Dmeson.build5cf32ea8 Sun Jul 02 23:10:00 CDT 2023 Andrew Jeffery <andrew@aj.id.au> meson: Apply `b_ndebug=if-release` by default

Disable assertions in release builds by default. In addition to
improving the safety of the library, with GCC 13.1.1 on aarch64 (Fedora
38) this reduces the text section by slightly more than 4KiB:

```
$ size build.undebug/libpldm.so build.ndebug/libpldm.so
text data bss dec hex filename
109827 1448 16 111291 1b2bb build.undebug/libpldm.so
105395 1440 16 106851 1a163 build.ndebug/libpldm.so
$ echo $((109827 - 105395))
4432
```

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I59d9bf2c636284c649abbdcc14a3c350d9ca94fd
H A DCHANGELOG.md5cf32ea8 Sun Jul 02 23:10:00 CDT 2023 Andrew Jeffery <andrew@aj.id.au> meson: Apply `b_ndebug=if-release` by default

Disable assertions in release builds by default. In addition to
improving the safety of the library, with GCC 13.1.1 on aarch64 (Fedora
38) this reduces the text section by slightly more than 4KiB:

```
$ size build.undebug/libpldm.so build.ndebug/libpldm.so
text data bss dec hex filename
109827 1448 16 111291 1b2bb build.undebug/libpldm.so
105395 1440 16 106851 1a163 build.ndebug/libpldm.so
$ echo $((109827 - 105395))
4432
```

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I59d9bf2c636284c649abbdcc14a3c350d9ca94fd