Re: Heads up Linux 2.6.38-rc4 compile problems.

From: Alex Riesen
Date: Wed Feb 09 2011 - 09:59:28 EST


On Wed, Feb 9, 2011 at 10:01, Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
> The failures look like:
>
> $ make -C gcc-stage1-x86_64 all-gcc all-target-libgcc install-gcc install-target-libgcc DESTDIR=/bld/Across/Across-2.0.0/sysroot-x86_64
> gcc -qlanglvl=ansi -c -DHAVE_CONFIG_H -g -O2 -I. -I/bld/Across/Across-2.0.0/gcc-4.4.3/libiberty/../include Â-W -Wall
> -Wwrite-strings -Wc++-compat -Wstrict-prototypes /bld/Across/Across-2.0.0/gcc-4.4.3/libiberty/fibheap.c -o fibheap.o
> gcc: unrecognized option '-qlanglvl=ansi'
> /bld/Across/Across-2.0.0/gcc-4.4.3/libiberty/fibheap.c: In function âfibheap_unionâ:
> /bld/Across/Across-2.0.0/gcc-4.4.3/libiberty/fibheap.c:151: warning: implicit declaration of function âfreeâ

Maybe some files (stdlib.h or malloc.h) return no data when read?
Then, gcc still
"compiles" them, but all the declarations are missing. And I would expect gcc
to complain if zero blocks returned, and truncated files are very likely to
abort compilation.

Can the command be strace'd immediately after the failure?
--
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/