Skip to content

Conversation

@ioannisg
Copy link
Member

Fixes #20598

  • minor change in CMakeLists.txt to copy globals from libc_nano.a
  • tests/lib/mem_alloc updates for coverage increase
  • minor typos and fixes

@ioannisg ioannisg added bug The issue is a bug, or the PR is fixing a bug area: ARM ARM (32-bit) Architecture area: Userspace Userspace labels Nov 15, 2019
@ioannisg ioannisg added this to the v2.1.0 milestone Nov 15, 2019
@zephyrbot zephyrbot added area: Tests Issues related to a particular existing or missing test area: Build System labels Nov 15, 2019
@zephyrbot
Copy link

zephyrbot commented Nov 15, 2019

All checks are passing now.

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

@SebastianBoe SebastianBoe removed their request for review November 15, 2019 13:57
@ioannisg ioannisg force-pushed the test_mem_alloc_fixes branch from 797417a to 38e286a Compare November 15, 2019 13:59
@ioannisg
Copy link
Member Author

@galak I added backport label for LTS - not sure if this is required (i am not sure of the status of newlib libc nano in LTS). you can comment.

Some minor typo and style fixes in the README file
of tests/lib/mem_alloc test-suite.

Signed-off-by: Ioannis Glaropoulos <[email protected]>
libc.newlibcnano test-case shall run with user mode
enabled, similarly to the remainder of the test-cases
in the tests/lib/mem_alloc test-suite.

Signed-off-by: Ioannis Glaropoulos <[email protected]>
When building with NEWLIB_LIBC_NANO we need to copy
the globals from libc_nano.a into application memory
partition z_libc_partition, exactly as we do for
libc.a globals. This is required so that these globals
are accessible by nPRIV code, when building with
user mode support.

Signed-off-by: Ioannis Glaropoulos <[email protected]>
@ioannisg ioannisg force-pushed the test_mem_alloc_fixes branch from 38e286a to b055d8c Compare November 18, 2019 08:07
@ioannisg
Copy link
Member Author

Removed the last commit that updated the test-cases .yaml, in the wake of @stephanosio 's feedback.

Was tested by @hakehuang , see comment in #20598

@ioannisg ioannisg requested a review from stephanosio November 18, 2019 08:10
@MaureenHelm MaureenHelm merged commit d58f8be into zephyrproject-rtos:master Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ARM ARM (32-bit) Architecture area: Build System area: Tests Issues related to a particular existing or missing test area: Userspace Userspace bug The issue is a bug, or the PR is fixing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tests/lib/mem_alloc newlibnano target run time error

5 participants