Comment 4 for bug 1908331

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

If -static-pie is indeed impoartant here - it is rather new and had problems before.
An excerpt from d/rules:

114 ifneq ($(filter $(DEB_HOST_ARCH),i386 x32),)
115 # XXX as of 2020-04-29, i386 buildd fails to link -static-pie executable:
116 # /usr/bin/ld: /usr/lib/i386-linux-gnu/libc.a(memset_chk-nonshared.o):
117 #»··unsupported non-PIC call to IFUNC `memset'
118 # so disable PIE for qemu-user-static build on i386 for now.
119 # On x32 -static-pie fails in different way.
120 # On amd64 -static-pie appears to work fine.
121 # On other architectures qemu correctly detect that -static-pie is not available
122 XXXstaticpie = --disable-pie
123 else
124 XXXstaticpie =
125 endif