[Buildroot] [PATCH] gcc: or1k: use 20170218 tag instead of branch
Stafford Horne
shorne at gmail.com
Mon Feb 5 09:36:09 UTC 2018
On Mon, Feb 05, 2018 at 12:09:34PM +1030, Joel Stanley wrote:
> On Sun, Feb 4, 2018 at 6:48 AM, Peter Korsgaard <peter at korsgaard.com> wrote:
> > As pointed out by Joel Stanley:
> > https://patchwork.ozlabs.org/patch/863011/
> >
> > Github now longer provides the exact same tarball for the or1k musl-5.4.0
> > tarball, breaking the build. Even more, musl-5.4.0 is the name of a git
> > branch, not a tag.
> >
> > Fix both problems by changing to the or1k-musl-5.4.0-20170218 tag, which
> > points to the exact same git commit.
> >
> > Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
>
> Thanks, that fixes the issue for me.
Hello, it might have been me that broke this. (I posted new tags to github for
openrisc)
I have been working on updating the GCC port to 7.2.0 with binutils 2.29, its in
my forks right now:
https://github.com/stffrdhrn/binutils-gdb/tree/or1k-2.29
https://github.com/stffrdhrn/or1k-gcc/tree/or1k-7.2.0-20180112
With 7.x we no longer need a separate branch/tag for musl.
I dont know too much about the buildroot build, but let me know if you need me
to do anything on the openrisc github repo to make it better.
-Stafford
> > ---
> > package/gcc/Config.in.host | 2 +-
> > package/gcc/gcc.hash | 2 +-
> > .../gcc/{musl-5.4.0 => or1k-musl-5.4.0-20170218}/100-uclibc-conf.patch | 0
> > .../301-missing-execinfo_h.patch | 0
> > .../850-libstdcxx-uclibc-c99.patch | 0
> > .../gcc/{musl-5.4.0 => or1k-musl-5.4.0-20170218}/860-cilk-wchar.patch | 0
> > .../930-libgcc-disable-split-stack-nothreads.patch | 0
> > 7 files changed, 2 insertions(+), 2 deletions(-)
> > rename package/gcc/{musl-5.4.0 => or1k-musl-5.4.0-20170218}/100-uclibc-conf.patch (100%)
> > rename package/gcc/{musl-5.4.0 => or1k-musl-5.4.0-20170218}/301-missing-execinfo_h.patch (100%)
> > rename package/gcc/{musl-5.4.0 => or1k-musl-5.4.0-20170218}/850-libstdcxx-uclibc-c99.patch (100%)
> > rename package/gcc/{musl-5.4.0 => or1k-musl-5.4.0-20170218}/860-cilk-wchar.patch (100%)
> > rename package/gcc/{musl-5.4.0 => or1k-musl-5.4.0-20170218}/930-libgcc-disable-split-stack-nothreads.patch (100%)
> >
> > diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
> > index 8432515d73..309ddf572a 100644
> > --- a/package/gcc/Config.in.host
> > +++ b/package/gcc/Config.in.host
> > @@ -81,7 +81,7 @@ config BR2_GCC_VERSION
> > default "6.4.0" if BR2_GCC_VERSION_6_X
> > default "7.3.0" if BR2_GCC_VERSION_7_X
> > default "arc-2017.09-release" if BR2_GCC_VERSION_ARC
> > - default "musl-5.4.0" if BR2_GCC_VERSION_OR1K
> > + default "or1k-musl-5.4.0-20170218" if BR2_GCC_VERSION_OR1K
> >
> > config BR2_EXTRA_GCC_CONFIG_OPTIONS
> > string "Additional gcc options"
> > diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash
> > index 4966b18f59..fd38cfaad1 100644
> > --- a/package/gcc/gcc.hash
> > +++ b/package/gcc/gcc.hash
> > @@ -10,4 +10,4 @@ sha512 ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19
> > # Locally calculated (fetched from Github)
> > sha512 c30addd3c4dc66b90749a0f99b257c8a8e7966d27f286057b6b66f4a70ca22a1ee50d92882c4db13307d769a6fb28e1e2a2bab749a692cf3f89ef0c38f145efa gcc-arc-2017.09-release.tar.gz
> > # Locally calculated (fetched from Github)
> > -sha512 841101f7de45f327bf2e92f3efc73ca88a021e4b9b541458ce80a16e55882bd8606a8492d75c57c589ee2c10d42ae2865b67690155d7289a541df1d68096402f gcc-musl-5.4.0.tar.gz
> > +sha512 2de7cf47333a4092b02d3bb98f4206f14966f1d139a724d09cf3b22f8a43ae0c704f33e6477d6367a03c29b265480dc900169e9d417006c5d46f0ae446b8c6f1 gcc-or1k-musl-5.4.0-20170218.tar.gz
> > diff --git a/package/gcc/musl-5.4.0/100-uclibc-conf.patch b/package/gcc/or1k-musl-5.4.0-20170218/100-uclibc-conf.patch
> > similarity index 100%
> > rename from package/gcc/musl-5.4.0/100-uclibc-conf.patch
> > rename to package/gcc/or1k-musl-5.4.0-20170218/100-uclibc-conf.patch
> > diff --git a/package/gcc/musl-5.4.0/301-missing-execinfo_h.patch b/package/gcc/or1k-musl-5.4.0-20170218/301-missing-execinfo_h.patch
> > similarity index 100%
> > rename from package/gcc/musl-5.4.0/301-missing-execinfo_h.patch
> > rename to package/gcc/or1k-musl-5.4.0-20170218/301-missing-execinfo_h.patch
> > diff --git a/package/gcc/musl-5.4.0/850-libstdcxx-uclibc-c99.patch b/package/gcc/or1k-musl-5.4.0-20170218/850-libstdcxx-uclibc-c99.patch
> > similarity index 100%
> > rename from package/gcc/musl-5.4.0/850-libstdcxx-uclibc-c99.patch
> > rename to package/gcc/or1k-musl-5.4.0-20170218/850-libstdcxx-uclibc-c99.patch
> > diff --git a/package/gcc/musl-5.4.0/860-cilk-wchar.patch b/package/gcc/or1k-musl-5.4.0-20170218/860-cilk-wchar.patch
> > similarity index 100%
> > rename from package/gcc/musl-5.4.0/860-cilk-wchar.patch
> > rename to package/gcc/or1k-musl-5.4.0-20170218/860-cilk-wchar.patch
> > diff --git a/package/gcc/musl-5.4.0/930-libgcc-disable-split-stack-nothreads.patch b/package/gcc/or1k-musl-5.4.0-20170218/930-libgcc-disable-split-stack-nothreads.patch
> > similarity index 100%
> > rename from package/gcc/musl-5.4.0/930-libgcc-disable-split-stack-nothreads.patch
> > rename to package/gcc/or1k-musl-5.4.0-20170218/930-libgcc-disable-split-stack-nothreads.patch
> > --
> > 2.11.0
> >
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
More information about the buildroot
mailing list