From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5433 invoked by alias); 21 Aug 2014 07:32:37 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 5345 invoked by uid 89); 21 Aug 2014 07:32:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 21 Aug 2014 07:32:35 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 8FC1C1162D8; Thu, 21 Aug 2014 03:32:33 -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 nlp57kc0xVEk; Thu, 21 Aug 2014 03:32:33 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 62CF91162BB; Thu, 21 Aug 2014 03:32:33 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 15CF3410E6; Thu, 21 Aug 2014 09:32:34 +0200 (CEST) Date: Thu, 21 Aug 2014 07:32:00 -0000 From: Joel Brobecker To: Mike Frysinger Cc: gdb@sourceware.org, Joel Sherrill , Anthony Green Subject: Re: integrating dtc into the sim/ tree Message-ID: <20140821073234.GM4828@adacore.com> References: <53F27ADC.4070609@oarcorp.com> <1850909.FvmpfGFofc@vapier> <20140820160635.GK4828@adacore.com> <2642309.RSytPSsbtK@vapier> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2642309.RSytPSsbtK@vapier> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-08/txt/msg00107.txt.bz2 > it's pretty mature imo. lemme phrase it this way: it's a hard > requirement nowadays for ARM on Linux, so it's def viable. i think a > lot of the docs you're referring to is because the library aims to be > used literally everywhere -- vendor BIOS, vendor kernels, etc... the > license readme explains this a bit more: > https://git.kernel.org/cgit/utils/dtc/dtc.git/tree/README.license [...] > i'd be willing to make sure it builds everywhere. the external > dependencies in libfdt are extremely light (by design -- it wants to > work in your typical BIOS). basically it needs str/mem funcs and not > ancient stdint.h. You may actually have some issues with ancient stdint.h, but that should be reasonably easy to take care of (eg. via gnulib) and it seems to me like you have the answers to all my concerns, so I no longer have any reservation towards that move. I would perhaps poll the other GDB GMs to make sure they also have no objection to it. So, to summarize: - Require dtc compiler in maintainer mode or when modifying some of the description files. Already required today for the moxie simulator. In non-maintainer mode, the generated files are already checked in. - Next step: Require and link against libdtc for all simulators instead of just moxie. -- Joel