Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2020 11:20:28 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Warner Losh <imp@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r357740 - head/usr.sbin/ntp
Message-ID:  <CANCZdfraGJQtGDRB%2B4BY3VNVgj0GGGPvVVk48iXqUK%2BehkbdoQ@mail.gmail.com>
In-Reply-To: <01d912b4-daef-01f3-d4f9-9512a040ab00@FreeBSD.org>
References:  <202002101717.01AHH33d060657@repo.freebsd.org> <01d912b4-daef-01f3-d4f9-9512a040ab00@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 10, 2020 at 11:15 AM John Baldwin <jhb@freebsd.org> wrote:

> On 2/10/20 9:17 AM, Warner Losh wrote:
> > Author: imp
> > Date: Mon Feb 10 17:17:03 2020
> > New Revision: 357740
> > URL: https://svnweb.freebsd.org/changeset/base/357740
> >
> > Log:
> >   Refresh architecture list with latest:
> >
> >   Remove: sparc, sparc64 (twice), ia64, alpha
> >   Add: riscv64
> >
> >   Remove now-useless sparc64 ifdef
> >
> >   Reivewed by: cy@, bcr@
> >   Differential Revision: https://reviews.freebsd.org/D23593
> >
> > Modified:
> >   head/usr.sbin/ntp/config.h
> >
> > Modified: head/usr.sbin/ntp/config.h
> >
> ==============================================================================
> > --- head/usr.sbin/ntp/config.h        Mon Feb 10 17:16:59 2020
> (r357739)
> > +++ head/usr.sbin/ntp/config.h        Mon Feb 10 17:17:03 2020
> (r357740)
> > @@ -1578,11 +1578,7 @@
> >  /* #undef STRERROR_R_CHAR_P */
> >
> >  /* canonical system (cpu-vendor-os) of where we should run */
> > -#if defined(__alpha__)
> > -#define STR_SYSTEM "alpha-undermydesk-freebsd"
> > -#elif defined(__sparc64__)
> > -#define STR_SYSTEM "sparc64-undermydesk-freebsd"
> > -#elif defined(__amd64__)
> > +#if defined(__amd64__)
> >  #define STR_SYSTEM "amd64-undermydesk-freebsd"
> >  #elif defined(__powerpc64__)
> >  #define STR_SYSTEM "powerpc64-undermydesk-freebsd"
> > @@ -1596,12 +1592,8 @@
> >  #define STR_SYSTEM "arm64-undermydesk-freebsd"
> >  #elif defined(__arm__)
> >  #define STR_SYSTEM "arm-undermydesk-freebsd"
> > -#elif defined(__sparc64__)
> > -#define STR_SYSTEM "sparc64-undermydesk-freebsd"
> > -#elif defined(__sparc__)
> > -#define STR_SYSTEM "sparc-undermydesk-freebsd"
> > -#elif defined(__ia64__)
> > -#define STR_SYSTEM "ia64-undermydesk-freebsd"
> > +#elif defined(__riscv__)
> > +#define STR_SYSTEM "riscv64-undermydesk-freebsd"
>
> This should be __riscv (see arch(7))
>

Doh! I could have sworn I double checked, but I'll fix. Thanks!

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfraGJQtGDRB%2B4BY3VNVgj0GGGPvVVk48iXqUK%2BehkbdoQ>