Conversation
5e8eae2 to
32b4b37
Compare
|
Thanks for this! I apologize for all of the travis PR tests failing. I just fixed this in trunk. Could you please merge from trunk and try again? It just fixes the way travis works -- no changes to libffi. |
32b4b37 to
913deab
Compare
|
Ok, these test results are helpful now! It looks like these tests are mostly (all?) failing thanks to the compiler's stack smashing checks: https://rl.gl/doc?id=RLGL-OQN7PJZ6 |
|
@atgreen Thanks for the quick review! Hmm, all of my changes are behind |
|
Ah.. interesting. The build failed because your patch has a clang-ism. The test script keeps going, however, and picks up the old system libffi library. So it looks like we both have some work to do... : libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -MT src/aarch64/sysv.lo -MD -MP -MF src/aarch64/.deps/sysv.Tpo -c ../src/aarch64/sysv.S -fPIC -DPIC -o src/aarch64/.libs/sysv.o |
913deab to
1ac6b0c
Compare
|
Oops! Sorry about that. Just pushed an updated version. Not super-elegant though, wondering if it would be cleaner to do the check once in |
1ac6b0c to
8f4073e
Compare
8f4073e to
9375a91
Compare
|
@atgreen Updated to use |
This reverts commit 4c7bde3.
This reverts commit 4c7bde3.
It is no longer allowed to simply vm_remap code pages willy-nilly. Only entire signed executable segment of a dylib may be remapped. Accordingly, we need a helper dylib (called libffi-trampolines.dylib) to support our use of vm_remap for trampolines. NOTES: This changes the ptrauth support from libffi#548 to match what Apple is shipping in its libffi-27 tag. TODO: Split arm64e ptrauth parts out from trampoline parts Add autoconf-based build logic for the whole dylib trampoline support Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
It is no longer allowed to simply vm_remap code pages willy-nilly. Only entire signed executable segment of a dylib may be remapped. Accordingly, we need a helper dylib (called libffi-trampolines.dylib) to support our use of vm_remap for trampolines. NOTES: This changes the ptrauth support from libffi#548 to match what Apple is shipping in its libffi-27 tag. TODO: Split arm64e ptrauth parts out from trampoline parts Add autoconf-based build logic for the whole dylib trampoline support Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
…i port NOTES: This changes the ptrauth support from libffi#548 to match what Apple is shipping in its libffi-27 tag. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
…i port NOTES: This changes the ptrauth support from libffi#548 to match what Apple is shipping in its libffi-27 tag. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
…i port NOTES: This changes the ptrauth support from libffi#548 to match what Apple is shipping in its libffi-27 tag. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
…i port NOTES: This changes the ptrauth support from libffi#548 to match what Apple is shipping in its libffi-27 tag. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
…i port NOTES: This changes the ptrauth support from libffi#548 to match what Apple is shipping in its libffi-27 tag. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
…i port (#565) NOTES: This changes the ptrauth support from #548 to match what Apple is shipping in its libffi-27 tag. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
Related to #491.