RDKB-61777: [utopia] Code development to remove _64BIT_ARCH_SUPPORT_ macro#99
Merged
anoopchelakkode merged 3 commits intordkcentral:developfrom Oct 21, 2025
Merged
Conversation
…macro Reason for change: [COPILOT] remove 64BIT_ARCH_SUPPORT macro from utopia module Test Procedure: No build warning or errors. basic sanity Priority: P1 Risks: Low Change-Id: Ie04210b44a0c874ac17d083153f0ecf76cd880b8 Signed-off-by: mkorav871 <madhukrishnasmenon@comcast.com>
| #else | ||
| typedef char se_buffer[SE_MAX_MSG_SIZE+1] __attribute__ ((aligned(4))); | ||
| #endif | ||
| typedef char se_buffer[SE_MAX_MSG_SIZE+1] __attribute__ ((aligned(sizeof(void*)))); |
Contributor
Author
There was a problem hiding this comment.
Dev UT steps
- compile in both 32bit and 64bit local VM
- go to utopia build folder
- give the command to check the size of alignment
recipe-sysroot-native/usr/bin/aarch64-rdk-linux/aarch64-rdk-linux-objdump --dwarf=info image/usr/lib/libsysevent.so | less - search for se_buffer and confirm if the parameter
DW_AT_alignmentis 8 for 64bit and 4 for 32bit
| #define WORKER_THREAD_STACK_SIZE 65536 | ||
| #endif | ||
| /* Scale stack size based on pointer size - larger for 64-bit architectures */ | ||
| #define WORKER_THREAD_STACK_SIZE (sizeof(void*) == 8 ? 8192*1024 : 65536) |
Contributor
Author
There was a problem hiding this comment.
Dev UT test
- compile on both 32bit and 64bit platforms
- go to utopia build folder
- execute the command to check the value in 64 bit
recipe-sysroot-native/usr/bin/aarch64-rdk-linux/aarch64-rdk-linux-objdump -d image/usr/bin/syseventd | grep -E "8388608"and in 32bit checkrecipe-sysroot-native/usr/bin/aarch64-rdk-linux/aarch64-rdk-linux-objdump -d image/usr/bin/syseventd | grep -E "65536"
anoopchelakkode
approved these changes
Oct 21, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Reason for change: remove 64BIT_ARCH_SUPPORT
macro from utopia module
Test Procedure: No build warning or errors.
basic sanity
Priority: P1
Risks: Low
Change-Id: Ie04210b44a0c874ac17d083153f0ecf76cd880b8
Signed-off-by: mkorav871 madhukrishnasmenon@comcast.com