Remove duplicate wrapper linker commands in pico_mem_ops #3010

Merged
DeepPG merged 1 commit from bazel-fix-1 into develop 2026-06-17 16:11:52 -05:00
DeepPG commented 2026-06-16 10:59:47 -05:00 (Migrated from github.com)

Fix duplicated wrapper functions definitions

Fix duplicated wrapper functions definitions
lurch commented 2026-06-16 11:19:45 -05:00 (Migrated from github.com)
Hmmm, looks like the same duplication is being done in https://github.com/raspberrypi/pico-sdk/blob/develop/src/rp2_common/pico_bit_ops/CMakeLists.txt too?
DeepPG commented 2026-06-16 12:36:25 -05:00 (Migrated from github.com)

Thank you for your observation, I fixed that too and sqaushed them, I hope that's ok.

Thank you for your observation, I fixed that too and sqaushed them, I hope that's ok.
lurch commented 2026-06-16 17:23:04 -05:00 (Migrated from github.com)

I'm kinda poking in the dark here, but looking at https://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html and https://software-dl.ti.com/codegen/docs/tiarmclang/rel5_1_1_LTS/compiler_manual/c_cpp_language_implementation/intrinsics/index.html I wonder if the "correct fix" might have been to leave one of the __clzsi2 entries in the # gcc section, and remove the one in the # armclang section?

I'm kinda poking in the dark here, but looking at https://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html and https://software-dl.ti.com/codegen/docs/tiarmclang/rel5_1_1_LTS/compiler_manual/c_cpp_language_implementation/intrinsics/index.html I wonder if the "correct fix" might have been to leave one of the `__clzsi2` entries in the `# gcc` section, and remove the one in the `# armclang` section?
kilograham (Migrated from github.com) approved these changes 2026-06-17 16:11:21 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!3010
No description provided.