[PATCH] shared libbusybox, option for IMA mode

Peter S. Mazinger ps.m at gmx.net
Mon Jan 16 09:40:29 UTC 2006


On Mon, 16 Jan 2006, Bernhard Fischer wrote:

> On Sun, Jan 15, 2006 at 07:29:52PM -0600, Rob Landley wrote:
> >On Sunday 15 January 2006 08:54, Bernhard Fischer wrote:
> >> >It does. I'll apply it later today.
> >>
> >> done.
> >>
> >> Please do holler if I broke something.
> >
> >You added a warning to every single file in the tree:
> >
> >In file included from /home/landley/busybox/busybox/include/unarchive.h:14,
> >                 from /home/landley/busybox/busybox/archival/ar.c:37:
> >/home/landley/busybox/busybox/include/libbb.h:89: warning: 
> >`externally_visible' attribute directive ignored
> 
> hmz. There we are again, we need that platform.h, obviously.
> Thing is, we need this attribute for gcc >= 4.1 to flag bb_applet_name
> and bb_show_usage global as we're using -fwhole-program there but need
> these two symbols if busybox itself uses libbusybox.so.

check for gcc, and make all those __attribute__ depedendent on the used 
version, else noop

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the busybox mailing list