Re: (re)compiling gcc-2.7.2.1 under linux alpha: note && question

Richard Henderson (richard@atheist.tamu.edu)
Sat, 26 Oct 1996 07:50:18 -0500 (CDT)


> The problem he found, as the result of IMO some decent debugging work
> on his part, was that somehow "struct rlimit" in his
> /usr/include/sys/resource.h file was declaring its members (rm_cur and
> rm_max, or whatever) as "int", while Linux (the kernel) was writing them
> as "long" -- 64 bits. The upshot for him was that the call to getrlimit()
> in toplev.c (the main() in cc1) was overwriting argc (with the 8MB figure ;-),
> which led to problems later on.

Ah hah! Eirik must using a new glibc snapshot which is in fact buggy.
I'll have a fix for this in to Ulrich today to be included in the
Sunday snapshot.

Thanks for the report.

r~