summaryrefslogtreecommitdiffstats
path: root/tags/n/no-code-sections.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/n/no-code-sections.tag')
-rw-r--r--tags/n/no-code-sections.tag11
1 files changed, 11 insertions, 0 deletions
diff --git a/tags/n/no-code-sections.tag b/tags/n/no-code-sections.tag
new file mode 100644
index 0000000..cfeb6db
--- /dev/null
+++ b/tags/n/no-code-sections.tag
@@ -0,0 +1,11 @@
+Tag: no-code-sections
+Severity: error
+Check: libraries/static/no-code
+Explanation:
+ The named members of the static library have no usable code sections.
+ .
+ It happens when shared objects are built with <code>-flto=auto</code> but
+ without <code>-ffat-lto-objects</code>. <code>dh_strip</code> strips the
+ LTO sections but may leave the static library without any usable code.
+See-Also:
+ Bug#977596