mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
![]() It appears that lto1 does not support -dynamic, and that ld no longer documents -dynamic. Which results in the following build failure when usine lto1 for link time optimizations [ 45s] libtool: link: gcc -shared -fPIC -DPIC .libs/grammar.o .libs/libaalogparse.o .libs/kernel.o .libs/scanner.o .libs/private.o .libs/features.o .libs/kernel_interface.o .libs/policy_cache.o .libs/PMurHash.o -flto-partition=none -O2 -fstack-protector-strong -flto=auto -dynamic -Wl,--version-script=../src/libapparmor.map -flto=auto -pthread -Wl,-soname -Wl,libapparmor.so.1 -o .libs/libapparmor.so.1.17.0 [ 45s] lto1: warning: unrecognized gcc debugging option: y [ 45s] lto1: warning: unrecognized gcc debugging option: n [ 45s] lto1: warning: unrecognized gcc debugging option: m [ 45s] lto1: warning: unrecognized gcc debugging option: i [ 45s] lto1: warning: unrecognized gcc debugging option: c Switch to -Bdynamic which is documented. Signed-off-by: John Johansen <john.johansen@canonical.com> |
||
---|---|---|
.. | ||
doc | ||
include | ||
m4 | ||
src | ||
swig | ||
testsuite | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING.LGPL | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README |
What little documentation exists is in include/aalogparse.h. Please file bugs using https://gitlab.com/apparmor/apparmor/-/issues