-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests/lib/ringbuffer failed on ARC boards #37861
Labels
area: ARC
ARC Architecture
bug
The issue is a bug, or the PR is fixing a bug
platform: X86
x86 and x86-64
priority: medium
Medium impact/importance bug
Milestone
Comments
IRISZZW
added
bug
The issue is a bug, or the PR is fixing a bug
area: ARC
ARC Architecture
labels
Aug 23, 2021
IRISZZW
changed the title
tests/lib/ringbuffer failed on ARC hsdk board
tests/lib/ringbuffer failed on ARC boards
Aug 23, 2021
fails on up_square, EHL_CRB and Microchip as well. |
fails on ACRN ehl_crb as well. |
As I can see from verification it fails (sporadically) on
|
This was referenced Sep 1, 2021
tejlmand
added a commit
to tejlmand/zephyr
that referenced
this issue
Sep 24, 2021
Fixes: zephyrproject-rtos#38591, zephyrproject-rtos#38207, zephyrproject-rtos#37861 The commit 65a2de8 aligned the data linker symbol for sections and regions. The data region symbol start has been placed outside the sections thus being defined as the address of the region before alignment of the first section in the data region, usually the `datas` section. The symbol defining the start address of the data section is after section alignment. In most cases the address of the data region start and datas section start will be identical, but not always. The data region symbol is a new linker symbol and existing code has been depending on the old data section start symbol. Thus, the update to the use of the data region start symbol instead of data ram start symbol thus results in a different address when the section is aligned to a different address. To ensure the original behavior in all cases, the data region start address is now moved inside the data section. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
cfriedt
pushed a commit
that referenced
this issue
Sep 24, 2021
Fixes: #38591, #38207, #37861 The commit 65a2de8 aligned the data linker symbol for sections and regions. The data region symbol start has been placed outside the sections thus being defined as the address of the region before alignment of the first section in the data region, usually the `datas` section. The symbol defining the start address of the data section is after section alignment. In most cases the address of the data region start and datas section start will be identical, but not always. The data region symbol is a new linker symbol and existing code has been depending on the old data section start symbol. Thus, the update to the use of the data region start symbol instead of data ram start symbol thus results in a different address when the section is aligned to a different address. To ensure the original behavior in all cases, the data region start address is now moved inside the data section. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Fixed by #38817 |
Rushybrook
pushed a commit
to Rushybrook/zephyr
that referenced
this issue
Oct 21, 2021
Fixes: zephyrproject-rtos#38591, zephyrproject-rtos#38207, zephyrproject-rtos#37861 The commit 65a2de8 aligned the data linker symbol for sections and regions. The data region symbol start has been placed outside the sections thus being defined as the address of the region before alignment of the first section in the data region, usually the `datas` section. The symbol defining the start address of the data section is after section alignment. In most cases the address of the data region start and datas section start will be identical, but not always. The data region symbol is a new linker symbol and existing code has been depending on the old data section start symbol. Thus, the update to the use of the data region start symbol instead of data ram start symbol thus results in a different address when the section is aligned to a different address. To ensure the original behavior in all cases, the data region start address is now moved inside the data section. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: ARC
ARC Architecture
bug
The issue is a bug, or the PR is fixing a bug
platform: X86
x86 and x86-64
priority: medium
Medium impact/importance bug
Describe the bug
tests/lib/ringbuffer failed on ARC boards: hsdk, qemu_arc_hs, nsim_hs_smp
To Reproduce
Steps to reproduce the behavior:
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: