svn commit: trunk/busybox/applets
vda at busybox.net
vda at busybox.net
Fri Oct 20 13:42:58 UTC 2006
Author: vda
Date: 2006-10-20 06:42:57 -0700 (Fri, 20 Oct 2006)
New Revision: 16413
Log:
Added compile-time warning for STATIC+GLIBC build
Modified:
trunk/busybox/applets/applets.c
Changeset:
Modified: trunk/busybox/applets/applets.c
===================================================================
--- trunk/busybox/applets/applets.c 2006-10-20 13:28:22 UTC (rev 16412)
+++ trunk/busybox/applets/applets.c 2006-10-20 13:42:57 UTC (rev 16413)
@@ -17,6 +17,13 @@
#include <string.h>
#include <assert.h>
+#if ENABLE_STATIC && __GLIBC__
+#warning Static linking against glibc produces buggy executables
+#warning (glibc doesn't cope well with ld --gc-sections).
+#warning See http://sources.redhat.com/bugzilla/show_bug.cgi?id=3400
+#warning Note that glibc is utterly unsuitable for static linking anyway.
+#endif
+
#if ENABLE_SHOW_USAGE && !ENABLE_FEATURE_COMPRESS_USAGE
static const char usage_messages[] =
#define MAKE_USAGE
More information about the busybox-cvs
mailing list