[PATCH rtems-source-builder] dtc: Update to 1.6.0.

Joel Sherrill joel at rtems.org
Mon Apr 6 18:04:33 UTC 2020


On Mon, Apr 6, 2020 at 12:29 PM Christian Mauderer <oss at c-mauderer.de>
wrote:

> Hello Joel,
>
> On 06/04/2020 19:09, Joel Sherrill wrote:
> > I tested it and it failed.
> >
> >          CC treesource.o
> > gmake: *** No rule to make target 'yaml.h', needed by 'yamltree.o'.
> Stop.
> > + cd
> >
> /usr/home/joel/rtems-work/rtems-source-builder/bare/build/dtc-1.6.0-x86_64-freebsd12.1-1
> > + echo '==> %install:'
> > ==> %install:
> > + pwd
> > +
> >
> build_top=/usr/home/joel/rtems-work/rtems-source-builder/bare/build/dtc-1.6.0-x86_64-freebsd12.1-1
> >
> > I am guessing it has picked up a dependency on yaml that is not
> > accounted for.
>
> Hm. Not really good. I checked an the yaml dependency is already there
> in 1.5.1. So most likely the best solution for the release is to just
> switch the default dtc to the 1.4.1 that is already used for spike.
> Otherwise we will have to add libyaml which might isn't a good idea in
> the pre-release phase. What do you think?
>

I completely agree. No further than 1.4. But this bothers me now. I couldn't
build spike. I haven't removed GCC from the machine though.

config.status: creating config.h
configure: WARNING: unrecognized options: --with-fesvr
+ gmake -j 4 'all$'

After we branch, it is probably worth updating. Perhaps a ticket to update
and target 6 as the milestone.

--joel

>
> Best regards
>
> Christian
>
> >
> > This is the place where spike references dtc.
> >
> > ===================
> > $ git diff
> > diff --git a/bare/config/devel/spike.bset b/bare/config/devel/spike.bset
> > index 76392f7..bf52b9f 100644
> > --- a/bare/config/devel/spike.bset
> > +++ b/bare/config/devel/spike.bset
> > @@ -4,5 +4,5 @@
> >
> >  %define release 1
> >
> > -devel/dtc-1.4.1-1
> > +devel/dtc-1.6.0-1
> >  devel/spike-1.1.0
> > ====================
> >
> > On Mon, Apr 6, 2020 at 11:29 AM Joel Sherrill <joel at rtems.org
> > <mailto:joel at rtems.org>> wrote:
> >
> >     Before I test it, what about the spike.bset? It still references dtc
> >     1.4?
> >
> >     On Mon, Apr 6, 2020 at 10:54 AM Christian Mauderer
> >     <oss at c-mauderer.de <mailto:oss at c-mauderer.de>> wrote:
> >
> >         ---
> >          bare/config/devel/dtc-1.6.0-1.cfg | 18 ++++++++++++++++++
> >          bare/config/devel/dtc.bset        |  2 +-
> >          2 files changed, 19 insertions(+), 1 deletion(-)
> >          create mode 100644 bare/config/devel/dtc-1.6.0-1.cfg
> >
> >         diff --git a/bare/config/devel/dtc-1.6.0-1.cfg
> >         b/bare/config/devel/dtc-1.6.0-1.cfg
> >         new file mode 100644
> >         index 0000000..f293f12
> >         --- /dev/null
> >         +++ b/bare/config/devel/dtc-1.6.0-1.cfg
> >         @@ -0,0 +1,18 @@
> >         +#
> >         +# DTC (Device Tree Compiler) 1.6.0
> >         +#
> >         +
> >         +%if %{release} == %{nil}
> >         +%define release 1
> >         +%endif
> >         +
> >         +%include %{_configdir}/base.cfg
> >         +
> >         +%define dtc_version 1.6.0
> >         +
> >         +%hash sha256 dtc-%{dtc_version}.tar.gz
> >         9fbe07223a98f2d7088a340b5505d4dfe682d77580e788d08cfcc1b61d8be237
> >         +
> >         +#
> >         +# The DTC build instructions. We use 1.x.x Release 1.
> >         +#
> >         +%include %{_configdir}/dtc-1-1.cfg
> >         diff --git a/bare/config/devel/dtc.bset
> b/bare/config/devel/dtc.bset
> >         index d701f93..6700823 100644
> >         --- a/bare/config/devel/dtc.bset
> >         +++ b/bare/config/devel/dtc.bset
> >         @@ -4,4 +4,4 @@
> >
> >          %define release 1
> >
> >         -devel/dtc-1.2.0
> >         +devel/dtc-1.6.0-1
> >         --
> >         2.25.1
> >
> >         _______________________________________________
> >         devel mailing list
> >         devel at rtems.org <mailto:devel at rtems.org>
> >         http://lists.rtems.org/mailman/listinfo/devel
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200406/d2da9f5d/attachment.html>


More information about the devel mailing list