Skip to content

Conversation

@aous72
Copy link
Owner

@aous72 aous72 commented Dec 5, 2024

This addresses the illegal instruction issue when -flto flag is used (link time optimization) as details in this thread
https://bugzilla.redhat.com/show_bug.cgi?id=2307795

It is not clear to me why the problem is happening.
The solution was to move the call to initialize the encoder tables from a static call to initialize a global static variable to a call during code execution, named initialize_block_encoder_tables().

The other changes are also to remove LTO compiler warnings.

I also updated FetchContent_Populate to FetchContent_MakeAvailable.

@aous72 aous72 merged commit 4c1cad5 into master Dec 5, 2024
17 checks passed
@aous72 aous72 deleted the addressing_lto branch December 5, 2024 09:29
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

Successfully merging this pull request may close these issues.

2 participants