Skip to content

Update to Linux 6.18 - #176

Closed
a-gavin wants to merge 1 commit into
sunfishcode:mainfrom
a-gavin:linux-6.18
Closed

Update to Linux 6.18#176
a-gavin wants to merge 1 commit into
sunfishcode:mainfrom
a-gavin:linux-6.18

Conversation

@a-gavin

Copy link
Copy Markdown
Contributor

As before, generate latest Linux 6.18 kernel bindings.

During generation, I noticed the following warnings which I had seen in previous CI runs if I'm not mistaken. My development environment uses clang-19, if it helps.

...
clang diag: modules/general.h:203:9: warning: 'UFFDIO_REGISTER_MODE_MINOR' macro redefined [-Wmacro-redefined]
clang diag: modules/general.h:205:9: warning: 'UFFDIO_COPY_MODE_DONTWAKE' macro redefined [-Wmacro-redefined]
clang diag: modules/general.h:206:9: warning: 'UFFDIO_COPY_MODE_WP' macro redefined [-Wmacro-redefined]
clang diag: modules/general.h:208:9: warning: 'UFFDIO_ZEROPAGE_MODE_DONTWAKE' macro redefined [-Wmacro-redefined]
...
Generating bindings for system on Linux v6.18 architecture x32
clang diag: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]
Generating bindings for xdp on Linux v6.18 architecture x32
clang diag: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]
All bindings generated!

Full logs attached here:
build_logs.txt

@sunfishcode

Copy link
Copy Markdown
Owner

Looks good! Please don't include the build logs in the PR though. For those macro redefinition warnings, we can just remove the macros from modules/general.h now that they're defined by the Linux headers.

@a-gavin
a-gavinforce-pushed the linux-6.18 branch 2 times, most recently from 2531cb1 to 5ab3fd7CompareDecember 28, 2025 05:43
@a-gavin

Copy link
Copy Markdown
ContributorAuthor

Apologies, didn't notice I included the logs in the PR as well! Force pushed w/ just the 6.18 changes.

Exploring addressing the redundant macro definitions, but not sure how much progress I'll be able to make on that.

@a-gavin

Copy link
Copy Markdown
ContributorAuthor

Okay one more force push and now done, this time to include the m68k generated bindings for consistency across ISAs.

@a-gavina-gavin closed this Feb 27, 2026
@a-gavin
a-gavin deleted the linux-6.18 branch June 28, 2026 21:40
Sign up for freeto 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

@a-gavin@sunfishcode