Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2016 16:41:34 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Ruslan Bukin <ruslan.bukin@cl.cam.ac.uk>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include
Message-ID:  <20160212144134.GT91220@kib.kiev.ua>
In-Reply-To: <20160212141822.GA34266@bsdpad.com>
References:  <201602120738.u1C7cKpq093956@repo.freebsd.org> <20160212132204.GA33648@bsdpad.com> <20160212141353.GR91220@kib.kiev.ua> <20160212141822.GA34266@bsdpad.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 12, 2016 at 02:18:22PM +0000, Ruslan Bukin wrote:
> On Fri, Feb 12, 2016 at 04:13:53PM +0200, Konstantin Belousov wrote:
> > On Fri, Feb 12, 2016 at 01:22:04PM +0000, Ruslan Bukin wrote:
> > > On RISC-V it fails with __uint128_t:
> > > 
> > > struct fpregs {
> > >         __uint128_t     fp_x[32];
> > > 
> > > how to fix?
> > You did not copied the error.
> 
> sorry, the error was:
> ucontext.h(53): syntax error [249]
> 
> (and nothing more)
At least you could also demonstrate the command which caused the error.

> 
> > 
> > If my guess is correct, the issue is that __uint128_t typedef is not
> > present in the riscv/include/_types.h.  Either add the type there, or
> > use e.g. __uint64_t fp_x[32][2]; for the member definition.
> > 
> 
> Ok, lets use __uint64_t yet (the same suggestion was from David Chisnall).
Ok.

> 
> > BTW, uintmax_t on riscv is defined as uint64.
> > 
> > P.S. Does it also mean that the tinderbox machines (AKA universe11*)
> > do not have riscv toolchain installed ?  I did run make tinderbox
> > before the commit.
> 
> Yeah, we dont have packages for toolchain yet, so we can't install compiler
> on tinderbox machine.
> 
> Ruslan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160212144134.GT91220>