From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8740 invoked by alias); 22 Aug 2013 17:47:09 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 8725 invoked by uid 89); 22 Aug 2013 17:47:09 -0000 X-Spam-SWARE-Status: No, score=-7.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 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; Thu, 22 Aug 2013 17:47:08 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7MHl4uK002400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 22 Aug 2013 13:47:05 -0400 Received: from zalov.cz (vpn1-4-190.ams2.redhat.com [10.36.4.190]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r7MHl3Db025037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Aug 2013 13:47:04 -0400 Received: from zalov.cz (localhost [127.0.0.1]) by zalov.cz (8.14.5/8.14.5) with ESMTP id r7MHl2ON007413; Thu, 22 Aug 2013 19:47:02 +0200 Received: (from jakub@localhost) by zalov.cz (8.14.5/8.14.5/Submit) id r7MHl0Pk007412; Thu, 22 Aug 2013 19:47:00 +0200 Date: Thu, 22 Aug 2013 17:51:00 -0000 From: Jakub Jelinek To: Bill Schmidt Cc: christian.bruel@st.com, gcc-patches@gcc.gnu.org, antonb@au1.ibm.com Subject: Re: [PATCH]. Fix HAVE_SYS_SDT_H for cross-compilation Message-ID: <20130822174700.GE1814@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <1377182388.17827.4.camel@oc8801110288.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1377182388.17827.4.camel@oc8801110288.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-08/txt/msg01295.txt.bz2 On Thu, Aug 22, 2013 at 09:39:48AM -0500, Bill Schmidt wrote: > Hi Christian and Jakub, > > I'm curious whether there was ever any resolution for: > http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01124.html. The last mail I remember didn't make any sense: #include "tconfig.h" that includes it: #ifndef GCC_TCONFIG_H #define GCC_TCONFIG_H #ifndef USED_FOR_TARGET # define USED_FOR_TARGET #endif #include "auto-host.h" in which there is : #ifndef USED_FOR_TARGET #define HAVE_SYS_SDT_H 1 #endif That means USED_FOR_TARGET is defined and thus HAVE_SYS_SDT_H is never defined, which is not desirable. Jakub