| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
Sorry, something went wrong.
|
Fast-track has been requested by @aduh95. Please 👍 to approve. |
Sorry, something went wrong.
|
Let's fast-track to include it in the next 26.x release, which I'd like to be able to prepare today |
Sorry, something went wrong.
|
Related compilation failure on AIX and Windows ../deps/libffi/src/powerpc/ffi_darwin.c:1456:14: error: use of undeclared identifier 'PPC_LD_NONE'
1456 | return PPC_LD_NONE;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1458:14: error: use of undeclared identifier 'PPC_LD_F32'
1458 | return PPC_LD_F32;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1460:14: error: use of undeclared identifier 'PPC_LD_F64'
1460 | return PPC_LD_F64;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1463:14: error: use of undeclared identifier 'PPC_LD_F128'
1463 | return PPC_LD_F128;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1466:14: error: use of undeclared identifier 'PPC_LD_U8'
1466 | return PPC_LD_U8;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1468:14: error: use of undeclared identifier 'PPC_LD_S8'
1468 | return PPC_LD_S8;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1470:14: error: use of undeclared identifier 'PPC_LD_U16'
1470 | return PPC_LD_U16;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1472:14: error: use of undeclared identifier 'PPC_LD_S16'
1472 | return PPC_LD_S16;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1474:14: error: use of undeclared identifier 'PPC_LD_U32'
1474 | return PPC_LD_U32;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1477:14: error: use of undeclared identifier 'PPC_LD_S32'
1477 | return PPC_LD_S32;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1479:14: error: use of undeclared identifier 'PPC_LD_PTR'
1479 | return PPC_LD_PTR;
| ^
../deps/libffi/src/powerpc/ffi_darwin.c:1482:14: error: use of undeclared identifier 'PPC_LD_I64'
1482 | return PPC_LD_I64;
| ^
2 warnings and 12 errors generated.
|
Sorry, something went wrong.
Sorry, something went wrong.
|
@nodejs/platform-aix any idea on how to fix the compilation? |
Sorry, something went wrong.
Why are we compiling ../deps/libffi/src/powerpc/ffi_darwin.c on AIX in the first place? Lines 118 to 126 in 2e19033 |
Sorry, something went wrong.
This appears to be how libffi plays it. As for the missing defines, these were added to ffi_powerpc.h in this update, but there's clearly something janky going on with the includes. ffi_darwin.c is missing this header, whereas ffi.c/ffi_linux64.c/ffi_sysv.c include it. |
Sorry, something went wrong.
Sorry, something went wrong.
|
ffi.c uses the linux64/sysv asm symbols, not the aix symbols, hence (presumably) the linker error. ffi_darwin.c is explicitly the correct source here: |
Sorry, something went wrong.
|
Let's give this a go. https://ci.nodejs.org/job/node-test-commit-aix/63337/ Edit: guess not then 😆 |
Sorry, something went wrong.
|
I get the sense that this is just busted at source. The function in ffi_darwin.c that returns these constants still expects to return a ffi_type*, which is consistent with the cif->rtype that was previously returned prior to libffi/libffi@840add3. The respective functions in linux64/sysv have been updated to return an int, which matches the new constants. I note that libffi only tests powerpc64 builds targeting linux, not darwin or aix. |
Sorry, something went wrong.
|
Opened libffi/libffi#987. We have a suggested patch to try, going to give it a go! |
Sorry, something went wrong.
|
432321bbc0249d754be701208747e4dfab83e32b Would need to be a deps: libffi: cherry-pick …, not a fixup commit |
Sorry, something went wrong.
|
👍 Once we confirm the build is green, then it can be landed upstream and we can formally cherry-pick. |
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: #64040 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Original commit message:
powerpc: fix aix/darwin closure build errors
unbuildable: the PPC_LD_* jump-table indexes (defined in ffi_powerpc.h,
which this file cannot include) were missing, and the closure helper
functions still declared an ffi_type* return type inconsistent with the
PPC_LD_* constants they now return.
Define the PPC_LD_* constants locally and change the closure helper
return types to int.
Fixes #987
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Refs: libffi/libffi@9ca53a1
PR-URL: #64040
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
|
Landed in 1f806f2...e9a9065 |
Sorry, something went wrong.
PR-URL: #64040 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Original commit message:
powerpc: fix aix/darwin closure build errors
unbuildable: the PPC_LD_* jump-table indexes (defined in ffi_powerpc.h,
which this file cannot include) were missing, and the closure helper
functions still declared an ffi_type* return type inconsistent with the
PPC_LD_* constants they now return.
Define the PPC_LD_* constants locally and change the closure helper
return types to int.
Fixes #987
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Refs: libffi/libffi@9ca53a1
PR-URL: #64040
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
|
3.6.0 also includes the fix that I backported in #63794 so great to no longer have that patch being floated :-) |
Sorry, something went wrong.
| AC_INIT([libffi],[3.6.0],[http://github.com/libffi/libffi/issues]) | ||
| AC_CONFIG_HEADERS([fficonfig.h]) | ||
|
|
||
| FFI_VERSION_STRING="3.5.2" |
There was a problem hiding this comment.
I wonder why this wasn't updated, that's the string that get reported when running node -p process.versions.libffi. I've asked in libffi/libffi#992
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is an automated update of libffi to 3.6.0.