Skip to content
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

JAM indexing errors prevents compilation #185

Open
kiranshila opened this issue Oct 21, 2022 · 4 comments
Open

JAM indexing errors prevents compilation #185

kiranshila opened this issue Oct 21, 2022 · 4 comments
Assignees

Comments

@kiranshila
Copy link
Contributor

kiranshila commented Oct 21, 2022

As far as I (and the C compiler) can tell, the constant CORE_INFO is a single byte in some but not all cases:

extern const uint8_t _core_info;
#define CORE_INFO (&_core_info)

So in lines such as

state->ptr = (void *)(CORE_INFO - 2);

and

extern const uint8_t _core_info;
#define CORE_INFO (&_core_info)

if(!CORE_INFO[0] || !CORE_INFO[1]) {

if(!CORE_INFO[0] || !CORE_INFO[1]) {

yield compiler errors that prevent the JAM software from building

@kiranshila kiranshila changed the title JAM Indexing Errors Prevents Compilation JAM indexing errors prevents compilation Oct 21, 2022
@jack-h
Copy link
Member

jack-h commented May 14, 2023

what Xilinx tool version are you compiling with?

@david-macmahon
Copy link
Contributor

Maybe something has changed in the toolchain related to the linker? More details on how _core_info are intended to (and used to) work can be found in #9f4dd46.

@david-macmahon
Copy link
Contributor

Not sure why GitHub didn't auto-link that commit hash to this:
9f4dd46

@kiranshila
Copy link
Contributor Author

what Xilinx tool version are you compiling with?

Not sure - I think this was 2021? It was a while ago when I tried :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants