Skip to content

Fix FTBFS in src/ptrace/_UPT_ptrauth_insn_mask.c#853

Merged
bregma merged 1 commit intomasterfrom
gh-852/master
Apr 15, 2025
Merged

Fix FTBFS in src/ptrace/_UPT_ptrauth_insn_mask.c#853
bregma merged 1 commit intomasterfrom
gh-852/master

Conversation

@bregma
Copy link
Copy Markdown
Member

@bregma bregma commented Apr 15, 2025

Added missing parameter names to make C code comply to ISO/IEC 9899.

Fixes #852

Added missing parameter names to make C code comply to ISO/IEC 9899.
@bregma bregma merged commit 3415127 into master Apr 15, 2025
14 of 29 checks passed
@bregma bregma deleted the gh-852/master branch April 17, 2025 19:42
@giordano
Copy link
Copy Markdown
Contributor

giordano commented Jun 3, 2025

Can this be backported to the 1.8 branch?

Keno added a commit to JuliaLang/julia that referenced this pull request Jun 3, 2025
Apply patch from libunwind/libunwind#853 to add missing parameter names
in _UPT_ptrauth_insn_mask function to comply with ISO/IEC 9899.

Prior to GCC 11, omitting parameter names in function definitions
was an error. GCC 11 changed this behavior in commit
https://gcc.gnu.org/pipermail/gcc-cvs/2020-October/336068.html
to allow omitted parameter names as a C2x extension, making it
a pedantic warning instead of an error.

Since we build without -Wpedantic, the code compiles fine with
GCC 11+ but fails with older GCC versions.

Fixes scheduled CI failures in libunwind build:
https://buildkite.com/julialang/julia-master-scheduled/builds/1160
Keno added a commit to JuliaLang/julia that referenced this pull request Jun 3, 2025
Apply patch from libunwind/libunwind#853 to add missing parameter names
in _UPT_ptrauth_insn_mask function to comply with ISO/IEC 9899.

Prior to GCC 11, omitting parameter names in function definitions
was an error. GCC 11 changed this behavior in commit
https://gcc.gnu.org/pipermail/gcc-cvs/2020-October/336068.html
to allow omitted parameter names as a C2x extension, making it
a pedantic warning instead of an error.

Since we build without -Wpedantic, the code compiles fine with
GCC 11+ but fails with older GCC versions.

Fixes scheduled CI failures in libunwind build:
https://buildkite.com/julialang/julia-master-scheduled/builds/1160
Keno added a commit to JuliaLang/julia that referenced this pull request Jun 4, 2025
Apply patch from libunwind/libunwind#853 to add missing parameter names
in _UPT_ptrauth_insn_mask function to comply with ISO/IEC 9899.

Prior to GCC 11, omitting parameter names in function definitions
was an error. GCC 11 changed this behavior in commit
https://gcc.gnu.org/pipermail/gcc-cvs/2020-October/336068.html
to allow omitted parameter names as a C2x extension, making it
a pedantic warning instead of an error.

Since we build without -Wpedantic, the code compiles fine with
GCC 11+ but fails with older GCC versions.

Fixes scheduled CI failures in libunwind build:
https://buildkite.com/julialang/julia-master-scheduled/builds/1160
Keno added a commit to JuliaLang/julia that referenced this pull request Jun 4, 2025
Apply patch from libunwind/libunwind#853 to add missing parameter names
in _UPT_ptrauth_insn_mask function to comply with ISO/IEC 9899.

Prior to GCC 11, omitting parameter names in function definitions
was an error. GCC 11 changed this behavior in commit
https://gcc.gnu.org/pipermail/gcc-cvs/2020-October/336068.html
to allow omitted parameter names as a C2x extension, making it
a pedantic warning instead of an error.

Since we build without -Wpedantic, the code compiles fine with
GCC 11+ but fails with older GCC versions.

Fixes scheduled CI failures in libunwind build:
https://buildkite.com/julialang/julia-master-scheduled/builds/1160
Keno added a commit to JuliaLang/julia that referenced this pull request Jun 5, 2025
Apply patch from libunwind/libunwind#853 to add missing parameter names
in _UPT_ptrauth_insn_mask function to comply with ISO/IEC 9899.

Prior to GCC 11, omitting parameter names in function definitions
was an error. GCC 11 changed this behavior in commit
https://gcc.gnu.org/pipermail/gcc-cvs/2020-October/336068.html
to allow omitted parameter names as a C2x extension, making it
a pedantic warning instead of an error.

Since we build without -Wpedantic, the code compiles fine with
GCC 11+ but fails with older GCC versions.

Fixes scheduled CI failures in libunwind build:
https://buildkite.com/julialang/julia-master-scheduled/builds/1160
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.

FTBFS in src/ptrace/_UPT_ptrauth_insn_mask.c on x86_64

2 participants