Post in the upstream mailing list, let's see if this spawns a discussion: https://mailman.mit.edu/pipermail/krbdev/2022-April/013543.html
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to krb5 in Ubuntu. https://bugs.launchpad.net/bugs/1970979 Title: compiler flags leaking through krb5-config --libs Status in krb5 package in Ubuntu: New Bug description: krb5-config --libs is leaking some compiler specific flags that we define in Ubuntu: $ krb5-config --libs -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -lkrb5 -lk5crypto -lcom_err That ones that concern me more specifically are: - -Wl,-Bsymbolic-functions - -lto related ones I'm unsure if -Wl,-z,relro should be there either. It looks like LDFLAGS got mixed with LIBS. pkg-config's output is different and only contains the libraries and library path: $ pkg-config --libs krb5 -L/usr/lib/x86_64-linux-gnu/mit-krb5 -lkrb5 -lk5crypto -lcom_err To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1970979/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp