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

Alignment build error on Debian #157

Closed
yuppox opened this issue Jun 20, 2020 · 2 comments
Closed

Alignment build error on Debian #157

yuppox opened this issue Jun 20, 2020 · 2 comments

Comments

@yuppox
Copy link

yuppox commented Jun 20, 2020

Using Debian 10.3 x86_64
I'm using the latest version from github and the Linux (64-bit) toolchain (as provided from minocacorp.com).

os/include/minoca/kernel/x86.h:418:1: error: alignment 1 of ‘struct _SIGNAL_CONTEXT_X86’ is less than 64 [-Werror=packed-not-a]
 } PACKED SIGNAL_CONTEXT_X86, *PSIGNAL_CONTEXT_X86;
 ^
os/include/minoca/kernel/x86.h:417:17: error: ‘FpuContext’ offset 116 in ‘struct _SIGNAL_CONTEXT_X86’ isn’t aligned to 64 [-We]
     FPU_CONTEXT FpuContext;
@evangreen
Copy link
Collaborator

Thanks for reporting this. It looks like GCC added some new warnings. I added some fixes, can you sync to 460ae51 and see how that works for you?

@evangreen
Copy link
Collaborator

Closing this as Fixed, feel free to reopen if this is still an issue.

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

2 participants