From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18331 invoked by alias); 18 Jan 2011 01:16:22 -0000 Received: (qmail 18321 invoked by uid 22791); 18 Jan 2011 01:16:20 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_YT X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Jan 2011 01:16:16 +0000 From: "John.Tytgat at aaug dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/45174] Make fails in zlib X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: John.Tytgat at aaug dot net X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 18 Jan 2011 01:46:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg01739.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45174 John Tytgat changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |John.Tytgat at aaug dot net --- Comment #26 from John Tytgat 2011-01-18 01:15:57 UTC --- I'm seeing the same problem with gcc 4.6 trunk (r168937) for building a cross compiler with target arm-unknown-eabi configured with newlib in tree. The crucial bit is --enable-multilib, without this option the problem is not reproducible. It looks like the --enable-multilib enables building the multilibs of the host (instead of the target) for zlib. In my case the host is (on Ubuntu 10.04): $ gcc -dumpmachine x86_64-linux-gnu $ gcc -print-multi-lib .; 32;@m32 I've attached my buildlog and the full content of gcc builddir subdirectories 'zlib' and '32/zlib' (the latter not present when --enable-multilib is omitted). Also like the original bug reporter is saying: I can avoid this problem by specifying --with-system-zlib.