enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #08810
[Bug 1970979] [NEW] compiler flags leaking through krb5-config --libs
Public bug reported:
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
** Affects: krb5 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to krb5 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1970979
Title:
compiler flags leaking through krb5-config --libs
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1970979/+subscriptions