WIP: Add pico_clib_interface_test #3113

Draft
peterharperuk wants to merge 1 commit from peterharperuk/tls_link_error into develop
peterharperuk commented 2026-08-05 11:47:31 -05:00 (Migrated from github.com)

This is a very simple test that references errno.
A TLS reference from a translation unit compiled by the SDK. With ATfE-22.1.0-Linux-x86_64 it generates a linker error

unable to move location counter (0x20000318) backward to 0x20000314 for section '.tbss_space'

See https://github.com/raspberrypi/pico-sdk/issues/3112

This is a very simple test that references errno. A TLS reference from a translation unit compiled by the SDK. With ATfE-22.1.0-Linux-x86_64 it generates a linker error unable to move location counter (0x20000318) backward to 0x20000314 for section '.tbss_space' See https://github.com/raspberrypi/pico-sdk/issues/3112
kilograham (Migrated from github.com) reviewed 2026-08-05 12:20:06 -05:00
@ -22,6 +22,7 @@ if (PICO_ON_DEVICE)
add_subdirectory(pico_low_power_test)
kilograham (Migrated from github.com) commented 2026-08-05 12:20:06 -05:00

one of these directories is not like the other ones; one of these directories is not the same!

one of these directories is not like the other ones; one of these directories is not the same!
lurch (Migrated from github.com) reviewed 2026-08-05 12:22:23 -05:00
@ -22,6 +22,7 @@ if (PICO_ON_DEVICE)
add_subdirectory(pico_low_power_test)
lurch (Migrated from github.com) commented 2026-08-05 12:22:23 -05:00

Are you suggesting that pico_clib_interface ought to have _test at the end?

Are you suggesting that `pico_clib_interface` ought to have `_test` at the end?
kilograham (Migrated from github.com) reviewed 2026-08-05 12:28:29 -05:00
@ -22,6 +22,7 @@ if (PICO_ON_DEVICE)
add_subdirectory(pico_low_power_test)
kilograham (Migrated from github.com) commented 2026-08-05 12:28:29 -05:00

yes

yes
peterharperuk (Migrated from github.com) reviewed 2026-08-05 12:57:57 -05:00
@ -22,6 +22,7 @@ if (PICO_ON_DEVICE)
add_subdirectory(pico_low_power_test)
peterharperuk (Migrated from github.com) commented 2026-08-05 12:57:57 -05:00

Fixed. pico_clib_interface_test is probably a bad name

Fixed. pico_clib_interface_test is probably a bad name
This pull request has changes conflicting with the target branch.
  • test/CMakeLists.txt
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'peterharperuk/tls_link_error:peterharperuk/tls_link_error'
git switch 'peterharperuk/tls_link_error'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'develop'
git merge --no-ff 'peterharperuk/tls_link_error'
git switch 'peterharperuk/tls_link_error'
git rebase 'develop'
git switch 'develop'
git merge --ff-only 'peterharperuk/tls_link_error'
git switch 'peterharperuk/tls_link_error'
git rebase 'develop'
git switch 'develop'
git merge --no-ff 'peterharperuk/tls_link_error'
git switch 'develop'
git merge --squash 'peterharperuk/tls_link_error'
git switch 'develop'
git merge --ff-only 'peterharperuk/tls_link_error'
git switch 'develop'
git merge 'peterharperuk/tls_link_error'
git push origin 'develop'
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!3113
No description provided.