From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30182 invoked by alias); 3 May 2002 19:58:26 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 30172 invoked from network); 3 May 2002 19:58:23 -0000 Received: from unknown (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sources.redhat.com with SMTP; 3 May 2002 19:58:23 -0000 Received: from hiauly1.hia.nrc.ca (localhost [127.0.0.1]) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id g43JwKFN010185; Fri, 3 May 2002 15:58:20 -0400 (EDT) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) id g43JwIL1010180; Fri, 3 May 2002 15:58:18 -0400 (EDT) Message-Id: <200205031958.g43JwIL1010180@hiauly1.hia.nrc.ca> Subject: Re: 3.1 branch ada bootstrap fails To: aoliva@redhat.com (Alexandre Oliva) Date: Fri, 03 May 2002 12:58:00 -0000 From: "John David Anglin" Cc: gcc@gcc.gnu.org, gbsadler1@lcisp.com In-Reply-To: from "Alexandre Oliva" at May 3, 2002 03:39:20 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00254.txt.bz2 > On May 3, 2002, "John David Anglin" wrote: > > > I believe that you have an incompatibility between the GCC driver used > > for your build and gnatgcc. There is this configure check: > > > checking whether gcc accepts -Wno-long-long... yes > > This tests whether gcc accepts this flag. It doesn't check whether > gnatgcc accept it, nor whether it works when compiling an Ada source > file (as opposed to a C source file). Although you can't tell from the report, it looks as if two different compiler drivers were used for the build (ie., -Wno-long-long wasn't in the documented_lang_options struct of gnatgcc). It appears that documented language options are normally ignored unless extra_warnings is set. Dave -- J. David Anglin dave.anglin@nrc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605)