projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a0d48
)
Added compile-time warning for STATIC+GLIBC build
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 20 Oct 2006 13:42:57 +0000
(13:42 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 20 Oct 2006 13:42:57 +0000
(13:42 -0000)
applets/applets.c
patch
|
blob
|
history
diff --git
a/applets/applets.c
b/applets/applets.c
index 10d4c948c3fc39c42ad0454a45e822cfd31894e0..868fa50e5edbbff0cde3903dea1b22d8a084f160 100644
(file)
--- a/
applets/applets.c
+++ b/
applets/applets.c
@@
-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