From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15754 invoked by alias); 21 Nov 2011 05:03:09 -0000 Received: (qmail 15745 invoked by uid 22791); 21 Nov 2011 05:03:07 -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-iy0-f175.google.com (HELO mail-iy0-f175.google.com) (209.85.210.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Nov 2011 05:02:54 +0000 Received: by iahk25 with SMTP id k25so7369940iah.20 for ; Sun, 20 Nov 2011 21:02:54 -0800 (PST) Received: by 10.42.168.202 with SMTP id x10mr12404493icy.4.1321851774085; Sun, 20 Nov 2011 21:02:54 -0800 (PST) Received: by 10.42.168.202 with SMTP id x10mr12404483icy.4.1321851773983; Sun, 20 Nov 2011 21:02:53 -0800 (PST) Received: from coign.google.com ([216.239.45.130]) by mx.google.com with ESMTPS id mb4sm23730078igc.1.2011.11.20.21.02.52 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Nov 2011 21:02:53 -0800 (PST) From: Ian Lance Taylor To: Matt Hargett Cc: "gcc-help\@gcc.gnu.org" Subject: Re: bootstrap comparison failure with bootstrap-lto References: <9A909B94-ADF4-4213-B862-5AEE2C19F715@use.net> Date: Mon, 21 Nov 2011 17:27:00 -0000 In-Reply-To: <9A909B94-ADF4-4213-B862-5AEE2C19F715@use.net> (Matt Hargett's message of "Sun, 20 Nov 2011 07:52:59 -0800") 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/msg00214.txt.bz2 Matt Hargett writes: >> Looking at this, I think that this kind of test is going to fail when >> using -flto and gold, because gold is going to report that the symbols >> listed in the .ctors and .init_array sections are not visible from the >> outside. Unfortunately this is not simple to fix in gold. In fact, I'm >> not sure it's possible in the general case. > > Do we have enough info to file an actionable bug (or bugs)? if so, should I file it under the bootstrap component? I filed http://gcc.gnu.org/PR51225 . I'm testing a patch to add -fno-lto when running that test in the configure script. Ian