From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21693 invoked by alias); 14 Nov 2011 22:23:17 -0000 Received: (qmail 21685 invoked by uid 22791); 14 Nov 2011 22:23:16 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-pz0-f47.google.com (HELO mail-pz0-f47.google.com) (209.85.210.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Nov 2011 22:23:01 +0000 Received: by pzk1 with SMTP id 1so12039526pzk.6 for ; Mon, 14 Nov 2011 14:23:01 -0800 (PST) Received: by 10.68.35.103 with SMTP id g7mr52133338pbj.53.1321309381018; Mon, 14 Nov 2011 14:23:01 -0800 (PST) Received: by 10.68.35.103 with SMTP id g7mr52133308pbj.53.1321309380883; Mon, 14 Nov 2011 14:23:00 -0800 (PST) Received: from coign.google.com ([216.239.45.130]) by mx.google.com with ESMTPS id jm5sm59787046pbc.1.2011.11.14.14.22.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Nov 2011 14:23:00 -0800 (PST) From: Ian Lance Taylor To: Matt Cc: gcc-help@gcc.gnu.org Subject: Re: bootstrap comparison failure with bootstrap-lto References: Date: Tue, 15 Nov 2011 05:56:00 -0000 In-Reply-To: (matt@use.net's message of "Mon, 14 Nov 2011 13:50:44 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00137.txt.bz2 Matt writes: > I am getting this on Ubuntu 11.10/amd64. If I remove the > --with-build-config=bootstrap-lto, the build succeeds just fine. Is > this a known problem, or should I file a bug? (A search of bugzilla > didn't bring up this specific symptom.) > libcpp/lex.o differs What are the differences between stage2-libcpp/lex.o and stage3-libcpp/lex.o? Ignore the fact that one will have debug info and the other will not. Look at the readelf -S output for both files, and see if there are any differences in sections whose names do not start with ".debug". Also, what linker are you using? Ian