~alpine/devel

Enabling debugoptimized/RelWithDebInfo for meson/CMake

Rasmus Thomsen <oss@cogitri.dev>
Details
Message ID
<85075684757e5b3296efe40567f743e31e3e72fb.camel@cogitri.dev>
DKIM signature
missing
Download raw message
Hello list,

I've recently opened MRs to enable debugoptimized mode for meson[1] and
make it the default for new aports using CMake or meson[2]. This way
the -dbg subpackages for these actually make sense (without them
they're defunct since debugging info isn't generated during buildtime),
allowing users to debug crashes. Do note that this won't lead to a huge
increase in storage size needed in mirrors, since we only keep the
debugging info for the packages that have -dbg subpackages, otherwise
the debugging info will be stripped from the final binaries. Would be
nice if a few people could take a look at this :)

Regards,

Rasmus

1: https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2619
2: https://gitlab.alpinelinux.org/alpine/abuild/merge_requests/13
Reply to thread Export thread (mbox)