[uClibc] Re: kernel-2.4.27 build w/ gcc-3.4[.x] and optimisation (-Os)

Manuel Novoa III mjn3 at codepoet.org
Fri Sep 3 11:54:52 UTC 2004


On Fri, Sep 03, 2004 at 01:36:05PM +0200, Peter S. Mazinger wrote:
> On Fri, 3 Sep 2004, Peter S. Mazinger wrote:
> > buildroot adds the optimisation kernel patch (debian too). If the kernel 
> > is built w/ gcc-3.4[.1] and -Os (size optimisation = on), memcmp is 
> > "killed" in some of the modules (undefined)
> > Tested on 2.4.27-pre2-bk2 (pre2 adds many gcc build related patches), x86.
> > Does anybody know the reason (I know I shouldn't use this gcc), but this 
> > could cause also problems for other builds, if -Os is used.
> 
> Forgotten to say: arm uses -Os independently of the named patch.

The kernel patches are Erik's choice for one of his platforms.
Personally, I never build a kernel as part of buildroot (other than
in openwrt).

Manuel



More information about the uClibc mailing list