Skip to content

RDKB-61777: [utopia] Code development to remove _64BIT_ARCH_SUPPORT_ macro#99

Merged
anoopchelakkode merged 3 commits intordkcentral:developfrom
madhukrishnasmenon-comcast:develop
Oct 21, 2025
Merged

RDKB-61777: [utopia] Code development to remove _64BIT_ARCH_SUPPORT_ macro#99
anoopchelakkode merged 3 commits intordkcentral:developfrom
madhukrishnasmenon-comcast:develop

Conversation

@madhukrishnasmenon-comcast
Copy link
Contributor

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

…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>
@madhukrishnasmenon-comcast madhukrishnasmenon-comcast requested a review from a team as a code owner October 6, 2025 11:21
#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*))));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dev UT steps

  1. compile in both 32bit and 64bit local VM
  2. go to utopia build folder
  3. 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
  4. search for se_buffer and confirm if the parameter DW_AT_alignment is 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)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dev UT test

  1. compile on both 32bit and 64bit platforms
  2. go to utopia build folder
  3. 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 check recipe-sysroot-native/usr/bin/aarch64-rdk-linux/aarch64-rdk-linux-objdump -d image/usr/bin/syseventd | grep -E "65536"

@madhukrishnasmenon-comcast madhukrishnasmenon-comcast requested a review from a team as a code owner October 21, 2025 07:32
@anoopchelakkode anoopchelakkode merged commit c244f15 into rdkcentral:develop Oct 21, 2025
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants