From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30167 invoked by alias); 21 May 2013 08:26:19 -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 30094 invoked by uid 89); 21 May 2013 08:26:19 -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 08:26:18 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4L8QHAE028383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 May 2013 04:26:17 -0400 Received: from zebedee.pink (ovpn-113-37.phx2.redhat.com [10.3.113.37]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r4L8QFIL027196; Tue, 21 May 2013 04:26:16 -0400 Message-ID: <519B2FA7.1090404@redhat.com> Date: Tue, 21 May 2013 08:26: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> In-Reply-To: <519B20D6.5070806@ubuntu.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-q2/txt/msg00047.txt.bz2 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? And why does this affect gcj? Andrew.