A no-change rebuild of libnih with yakkety's gcc does not fix this. Curiously, libnih's debian/rules already has
CFLAGS := -Wall -fstack-protector -fPIE $(shell dpkg-buildflags --get CFLAGS) LDFLAGS := -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pie $(shell dpkg-buildflags --get LDFLAGS)
i. e. it should have built with PIE in xenial and before already.
A no-change rebuild of libnih with yakkety's gcc does not fix this. Curiously, libnih's debian/rules already has
CFLAGS := -Wall -fstack-protector -fPIE $(shell dpkg-buildflags --get CFLAGS)
LDFLAGS := -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pie $(shell dpkg-buildflags --get LDFLAGS)
i. e. it should have built with PIE in xenial and before already.