[lkml]   [2001]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Compiling manually
On 11 Nov 2001 16:57:41 +0000, (Paulo J. Matos aka PDestroy) wrote:
>I'm trying to compile kernel 2.4.14.
>The problem is that the famous gcc 3.0.x bug of giving error when
>trying to compile 8139too.c is getting me crazy.
>The work around is to remove -O2 optimization.
>How can I compile the kernel with optimization except
>optimization for that particular file?

In drivers/net/Makefile, add this line _before_ include Rules.make.

CFLAGS_8139too.o += -O1

Warning: removing optimization can cause its own problems, some bits of
the kernel assume that they are built with -O2. YMMV.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:18    [W:0.051 / U:1.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site