[LTS 8.8] selftests: breakpoints: Fix a typo of function name #330
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.
[LTS 8.8]
About
This commit fixes the problem with the compilation of
breakpoints:breakpoint_test_arm64
test onaarch64
architecture.Before
Compilation attempt:
Test run attempt:
After
Compilation
Test run:
Note
To successfully compile the
breakpoints:breakpoint_test_arm64
test on the base cloud init image an additional step must be made, although it relates to the system image and the packages available in Mountain, not the kernel.Compiling
breakpoints:breakpoint_test_arm64
onaarch
may raise the following error:This occurs on versions
ciqlts8_6
andciqlts8_8
but not onciqlts9_2
orciqlts9_4
. TheTRAP_BRKPT
constant is searched for in the/usr/include/bits/siginfo-consts.h
file, which in versions ≥ 9.2 containswhile in versions < 9.2 contains
In ≥ 9.2 the
/usr/include/bits/siginfo-consts.h
file is part of theglibc-devel
package, while in the 8.8 version it's managed byglibc-headers
. Having this package updated to the most recent versionglibc-headers-2.28-236.el8_8.88ciq_lts.13.aarch64
doesn't help. The following hacky sed is used during machine preparation phase to simply expand the set of knownTRAP_*
codes in the system to match those on ≥ 9.2: