Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756020Ab1BIO7X (ORCPT ); Wed, 9 Feb 2011 09:59:23 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:35937 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755310Ab1BIO7W convert rfc822-to-8bit (ORCPT ); Wed, 9 Feb 2011 09:59:22 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PEXawi2ox1Yl0eaKpkOQhXvBrQP+vPRAfTInM/n6beAhFKP4M+A02A8TesELk7N3Od GixcsPMXnuWGDcgRZ+FWIFj9QR1ajp0l4nX4ZOUkUFR0fJ9hidmv0P6MDrzFOZUqixUE IlHaUiy3F5ye0bI+CrEjoWNiLOQDM7kKmItDQ= MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 9 Feb 2011 15:59:20 +0100 Message-ID: Subject: Re: Heads up Linux 2.6.38-rc4 compile problems. From: Alex Riesen To: "Eric W. Biederman" Cc: Linus Torvalds , David Miller , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1295 Lines: 22 On Wed, Feb 9, 2011 at 10:01, Eric W. Biederman 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/