Messages in this thread | | | Subject | Re: [PATCH] ia64: enable HAVE_COPY_THREAD_TLS, switch to kernel_clone_args | From | John Paul Adrian Glaubitz <> | Date | Thu, 14 May 2020 12:21:13 +0200 |
| |
On 5/14/20 12:19 PM, Christian Brauner wrote: > Scratch that. It's even worse. On ia64 it is _invalid_ to pass a NULL > stack. That's at least what the glibc assembly assumes: > > cmp.eq p6,p0=0,in0 > cmp.eq p7,p0=0,in1 > mov r8=EINVAL > mov out0=in3 /* Flags are first syscall argument. */ > mov out1=in1 /* Stack address. */ > (p6) br.cond.spnt.many __syscall_error /* no NULL function pointers */ > (p7) br.cond.spnt.many __syscall_error /* no NULL stack pointers */ > ;; > mov out2=in2 /* Stack size. */ > > so newer systemd just works by accident on ia64 if at all correctly > afaict.
Hmm, interesting. I really wasn't aware of that. Thanks for the heads-up.
I'll ask Michael whether he can come up for a solution for that problem.
Maybe that's also why systemd crashes.
Adrian
-- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
| |