svn commit: trunk/busybox/applets

Bernhard Fischer rep.nop at aon.at
Thu Nov 9 09:48:00 UTC 2006


On Wed, Nov 08, 2006 at 04:00:13PM -0800, vda at busybox.net wrote:
>Author: vda
>Date: 2006-11-08 16:00:12 -0800 (Wed, 08 Nov 2006)

>--- trunk/busybox/applets/applets.c	2006-11-07 20:50:21 UTC (rev 16521)
>+++ trunk/busybox/applets/applets.c	2006-11-09 00:00:12 UTC (rev 16522)
>@@ -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

To make that valid C, please do

-> #warning (glibc doesn't cope well with ld --gc-sections).
+> #warning (glibc does not cope well with ld --gc-sections).
> #warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400

thanks,



More information about the busybox mailing list