This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: integrating dtc into the sim/ tree
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb at sourceware dot org, Joel Sherrill <joel dot sherrill at oarcorp dot com>, Anthony Green <green at moxielogic dot com>
- Date: Thu, 21 Aug 2014 09:32:34 +0200
- Subject: Re: integrating dtc into the sim/ tree
- Authentication-results: sourceware.org; auth=none
- References: <53F27ADC dot 4070609 at oarcorp dot com> <1850909 dot FvmpfGFofc at vapier> <20140820160635 dot GK4828 at adacore dot com> <2642309 dot RSytPSsbtK at vapier>
> 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