Comment 7 for bug 1580601

Revision history for this message
Martin Pitt (pitti) wrote :

> i guess it's the bind now that links the no-op symbol, instead of the real one.

But libnih has built with "-z now" for a long time already:

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 tried to change that to "-z,lazy", but the debs produced by that behave the same. There's also no difference when using -Wl,-z,lazy in the reproducer script's gcc call.