Re: gcc error?

From: Stefan Smietanowski
Date: Wed Mar 17 2004 - 15:22:13 EST


billy rose wrote:

is the 40+ parameter sprintf() in proc_pid_stat() flushing out a bug in gcc on this? ive tried setting the cpu type to 386, 486, and 586 but still get the same error.

gcc -v shows 2.96.20000731
redhat 7.3
running kernel 2.4.18-3 or 2.4.20
kernel being compiled is 2.6.4

Stop right here.

Update to the latest 2.96 compiler or go to 3.x before proceeding.

I believe that one you have there has more bugs than a windows system.

Well.. Almost. The newer ones were good however but the early ones
weren't.

I'd recommend you install 3.2.x and try again but if you don't then
grab latest errata update to 2.96 and use that. Then if it still
doesn't work you can always ask here again.

// Stefan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/