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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1908331

Title:
  Regression: qemu-user-static binaries are dynamically linked

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1908331/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to