https://bugzilla.redhat.com/show_bug.cgi?id=1288335
Bug ID: 1288335 Summary: perl-Sys-Syscall port for aarch64/ppc64le/s390x Product: Fedora Version: rawhide Component: perl-Sys-Syscall Assignee: psabata@redhat.com Reporter: yselkowi@redhat.com QA Contact: extras-qa@fedoraproject.org CC: perl-devel@lists.fedoraproject.org, psabata@redhat.com Blocks: 467765 (ZedoraTracker), 922257 (ARM64,F-ExcludeArch-aarch64), 1051573 (PPC64LETracker), 1270267
perl-Sys-Syscall included hardcoded SYS_* syscall values for several architectures, along with a fallback to use asm/unistd*.ph (via sys/syscall.ph). Unfortunately, the fallback does not touch the default $u64_mod_8=0, even though that seemingly applies only to x86. This causes failures in the testsuite when run on such architectures (including aarch64, ppc64le, and s390/x), as reported in bug 1270267.
Unfortunately, aarch64 is a bit more complicated, as it does not support the deprecated epoll_create and epoll_wait syscalls, so this needs to be ported to use the epoll_create1 and epoll_pwait syscalls instead.
I am attaching a patch that fixes the testsuite for these three architectures, as well as restoring backwards compatibility so that this can be merged into EPEL.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=467765 [Bug 467765] Fedora for System z (s390): Bug Tracker https://bugzilla.redhat.com/show_bug.cgi?id=922257 [Bug 922257] Tracker for ARM64 support https://bugzilla.redhat.com/show_bug.cgi?id=1051573 [Bug 1051573] ppc64le tracker bug https://bugzilla.redhat.com/show_bug.cgi?id=1270267 [Bug 1270267] perl-Sys-Syscall SRPM does not build correctly on aarch64/ppc64le/s390x