From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8001 invoked by alias); 18 Jun 2012 18:39:44 -0000 Received: (qmail 7913 invoked by uid 22791); 18 Jun 2012 18:39:43 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Jun 2012 18:39:29 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 14FE61C61C7; Mon, 18 Jun 2012 14:39:29 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1Ad-QI2VCDD3; Mon, 18 Jun 2012 14:39:29 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id BA7F91C619B; Mon, 18 Jun 2012 14:39:27 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id BD9AD145616; Mon, 18 Jun 2012 11:39:21 -0700 (PDT) Date: Mon, 18 Jun 2012 18:39:00 -0000 From: Joel Brobecker To: vapier@gentoo.org Cc: Hans-Peter Nilsson , gdb-patches@sourceware.org Subject: Re: build error for mn10300-elf sim with your recent commit Message-ID: <20120618183921.GE19107@adacore.com> References: <201206151846.q5FIkL3Z026410@ignucius.se.axis.com> <20120615185559.GZ18729@adacore.com> <20120615191516.GA18729@adacore.com> <4FDB8F4C.8070404@redhat.com> <20120615195238.GB18729@adacore.com> <4FDBA5BC.8030300@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FDBA5BC.8030300@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00596.txt.bz2 > So that leaves: > > ./d10v/interp.c:#include "sysdep.h" > ./cr16/interp.c:#include "sysdep.h" > ./sh64/sh-desc.c:#include "sysdep.h" > ./mn10300/interp.c:#include "sysdep.h" > ./cris/cris-desc.c:#include "sysdep.h" OK - I just sent a patch for d10v. cr16 and mn10300 were fixed by Mike and HP (thank you!). As for sh64 and cris, the files ars generated by CGEN as explained earlier in this thread. I just spent the better of 2 hours trying to regenerate them, to no avail because . Thanks to Doug's help, I got to the point where cgen tries to regenerate the files, but fails - and I can't really tell what the problem is. The fix would need to be in cgen anyway, and I am not sure if it wouldn't affect the tools other than the sim. Since these two simulators build fine for now, I would like to leave it at that. My suggestion is for the maintainers of those sims to create a local sysdep.h file that imports "config.h" and possibly other system includes. -- Joel