Hi all

For anyone building on Debian testing or similar and getting linker failures, there is currently a workaround in progress by Ben Gamari that can be used.

It is based on first applying  D2672, D2673, and D2674 and then configuring with

./configure \
  CONF_CC_OPTS_STAGE2=-fno-PIE \
  CONF_GCC_LINKER_OPTS_STAGE2=-no-pie \
  CONF_LD_LINKER_OPTS_STAGE2=-no-pie \
  CONF_CC_OPTS_STAGE0=-no-pie \
  CONF_GCC_LINKER_OPTS_STAGE0=-no-pie \
  CONF_LD_LINKER_OPTS_STAGE0=-no-pie \
  CONF_HC_OPTS_STAGE0=-optl=-no-pie

See https://gist.github.com/alanz/570eb6f1c0ae7e989f493f1b69904c28 for a more legible version.

Regards
  Alan