Repository navigation
build(linux-mt6858): build without debug information - #111
Open
patrickjquinn wants to merge 1 commit into
Open
patrickjquinn wants to merge 1 commit into
patrickjquinn wants to merge 1 commit into
Conversation
arm64's defconfig turns on CONFIG_DEBUG_INFO, which made the package's build tree about 12 GB: an r25 build on the 85 GB build host ran out of space 8 GB in. Nothing ships it: the modules are installed stripped and the package carries no vmlinux. With CONFIG_DEBUG_INFO_NONE=y the generated .config differs from the current one only in the four DEBUG_INFO symbols: the same =y and =m sets, so the same built-in drivers and module list, and no BTF or BPF option depends on it (the phone has no /sys/kernel/btf). To decode a stack trace, rebuild the same tree with CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y and run scripts/decode_stacktrace.sh on its vmlinux.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #110.
arm64's defconfig turns on
CONFIG_DEBUG_INFO, which made linux-mt6858's build tree about 12 GB. An r25 build on the 85 GB build host ran out of space 8 GB in. Nothing ships the debug info:package()installs the modules stripped (INSTALL_MOD_STRIP=1) and ships no vmlinux.Checked that nothing that ships changes. The tree was configured twice (defconfig + mt6858.config + marathon.config, with and without the new line). The generated
.configs differ only in the debug-info symbols:=yand=msets are the same, so the built-in drivers and the module list (modules.order) are the same.Decoding a stack trace now needs the same tree rebuilt with
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y(same patches and config otherwise), thenscripts/decode_stacktrace.sh vmlinux. The comment in marathon.config says so.The r26 package (with #105 and #110) is built from this branch and installed on the Jolla; results are in the session report.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BrjN1gf1Fu2w5MqXBmEowh