Skip to content

Fix gcc11#21

Merged
dinosaure merged 3 commits intomainfrom
fix-gcc11
Oct 7, 2022
Merged

Fix gcc11#21
dinosaure merged 3 commits intomainfrom
fix-gcc11

Conversation

@dinosaure
Copy link
Copy Markdown
Owner

It seems that since GCC 11, the compilateur is able to use some 128 bits registers and they are specially used on variadic arguments. Even if we allowed the RPi4 to use these registers, we are trapped by a non-aligned access. We enforce GCC to produce this assembly code and be sure that everything is aligned.

I believe that on the real world operating system, such behavior are trapped and fixed(?) by the kernel.

@dinosaure dinosaure merged commit a87a365 into main Oct 7, 2022
@dinosaure dinosaure deleted the fix-gcc11 branch October 7, 2022 10:49
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.

1 participant