From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10281 invoked by alias); 21 May 2013 13:12:56 -0000 Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org Received: (qmail 10271 invoked by uid 89); 21 May 2013 13:12:55 -0000 X-Spam-SWARE-Status: No, score=-7.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 21 May 2013 13:12:55 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4LDCreK028696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 May 2013 09:12:53 -0400 Received: from zebedee.pink (ovpn-113-85.phx2.redhat.com [10.3.113.85]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r4LDCphQ003158; Tue, 21 May 2013 09:12:52 -0400 Message-ID: <519B72D3.7030608@redhat.com> Date: Tue, 21 May 2013 13:12:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Matthias Klose CC: GCJ-patches Subject: Re: [patch] include the %I spec when building the object file for the main function References: <519B20D6.5070806@ubuntu.com> <519B2FA7.1090404@redhat.com> <519B5144.2010303@ubuntu.com> In-Reply-To: <519B5144.2010303@ubuntu.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-q2/txt/msg00049.txt.bz2 On 05/21/2013 11:49 AM, Matthias Klose wrote: > Am 21.05.2013 10:26, schrieb Andrew Haley: >> On 05/21/2013 08:23 AM, Matthias Klose wrote: >>> The inclusion of stdc-predef.h is new in 4.8, the bits/predefs.h is not found in >>> my case, because this header is on an include path, which is only added when cc1 >>> is passed the -imultiarch option. The solution for me is to add the %I >>> spec, when calling cc1 to build the main function. >>> >>> Ok for the trunk, and for 4.8 after the 4.8.1 release? >> >> This is slighty baffling. GCC is auto-including stdc-predef.h, but the >> path info isn't sufficient? > > "because this header is on an include path, which is only added when cc1 is > passed the -imultiarch option." > > sorry, but I don't know what to add else here to explai the issue. > >> And why does this affect gcj? > > "when calling cc1 to build the main function". So it does have it's own > invocation of cc1, and doesn't use any specs how to call cc1, which is used for > other C files. Yes, but what I didn't understand was "why has this changed now?" Andrew.