On Wed, Jun 06, 2018 at 09:43:20PM +1000, Alexander Zangerl wrote: > On Wed, 06 Jun 2018 22:51:08 +1200, Michael Cree writes: > >dump FTBFS on alpha with [1]: > ... > >Alpha Linux does not have the getpid syscall; it follows OSF1.0 > > oh the joy of non-posix environments :-(
I doubt that this has anything to do with posix. Posix specifies the API and by calling kernel syscalls dump is sidestepping the standard API. Syscalls are part of the kernel ABI and is notably architecture dependent. The patch that introduced these syscalls was to support a Sparc idiosyncracy. Was that for 32-bit sparc (which Debian no longer supports) or 64-bit sparc (which is a ports architecture)? If the former the best solution may be to drop the sparc-clone-lockup patch, which is what introduced dependencies on the syscall ABI and broke the build on Alpha. I'll ask on #debian-ports as to whether anyone knows why the sparc patch was introduced. Cheers Michael.