]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
webkitgtk: workaround compile failure for large debug symbols
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 17 Dec 2025 11:08:03 +0000 (19:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Dec 2025 13:53:50 +0000 (13:53 +0000)
commitab4a673f7f0809b7bcce19914ff7c60ee9fa2bf0
treeac8854f63db4899fb117dd4c34d0c558c0c87c39
parent187d0af5e6b5ec63e06fa97c20bf1da649c8b0f4
webkitgtk: workaround compile failure for large debug symbols

Originally, we move space optimize from recipe webkitgtk to
yocto-space-optimize.inc [1], it caused multiple build failures
if not include yocto-space-optimize.inc

For qemux86-64: "relocation truncated to fit: R_X86_64_32 against `.debug_info'"
For qemuarm64: "relocation truncated to fit: R_AARCH64_ABS32 against `.debug_info'"

According to the suggestion of gcc [2], pass -g1 to massively reduce the size of
the debug symbols to workaround the errors

Remove duplicate setting from yocto-space-optimize.inc at the same time.

[1] https://git.openembedded.org/openembedded-core/commit/meta?id=007c4aea10e13bd9b2d66d016c25f31c2709cbf6
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=15444

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/yocto-space-optimize.inc
meta/recipes-sato/webkit/webkitgtk_2.50.0.bb