← Commit list

07159f0f0

Denis Vlasenko
Denis Vlasenko
2006-11-09
FAILED Duration: 3s

Subject

add && !defined(__UCLIBC__) to static link warning check

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

applets/applets.c+2 -1
@@ -17,7 +17,8 @@
#include <string.h>
#include <assert.h>
-#if ENABLE_STATIC && defined(__GLIBC__)
+/* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */
+#if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__)
#warning Static linking against glibc produces buggy executables
#warning (glibc doesn't cope well with ld --gc-sections).
#warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400