When building i686-gnu with build-many-glibcs.py and this patch[1] (with the hunk changing sysdeps/mach/hurd removed) to enable PIE across the board in glibc, the Hurd target fails as follows: build-many-2/install/compilers/i686-gnu/lib/gcc/i686-glibc-gnu/11.2.1/../../../../i686-glibc-gnu/bin/ld: cannot find build-many-2/build/glibcs/i686-gnu/glibc/csu/rcrt0.o: No such file or directory collect2: error: ld returned 1 exit status make[3]: *** [../Rules:269: build-many-2/build/glibcs/i686-gnu/glibc/support/test-run-command] Error 1 This prevents PIE from being enabled by default for hurd. I'll post the final link of the commit and clearer steps to reproduce when it actually goes in. [1] https://patchwork.sourceware.org/project/glibc/patch/20211207082638.1960585-1-siddhesh@sourceware.org/
This is fixed by 556a6126f8764bc66d03368b5ac3e26631556559
Thanks, could you please remove definition of PIE_UNSUPPORTED in sysdeps/mach/hurd/configure.ac so that PIE is enabled on hurd?
yep, done so!