Messages in this thread |  | | Date | Wed, 9 Feb 2011 15:59:20 +0100 | | Subject | Re: Heads up Linux 2.6.38-rc4 compile problems. | | From | Alex Riesen <> |
| |
On Wed, Feb 9, 2011 at 10:01, Eric W. Biederman <ebiederm@xmission.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |