From owner-svn-src-all@freebsd.org Fri Feb 12 14:41:44 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73234AA6035; Fri, 12 Feb 2016 14:41:44 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E82F91DFB; Fri, 12 Feb 2016 14:41:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id u1CEfYL3037845 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 12 Feb 2016 16:41:34 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua u1CEfYL3037845 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id u1CEfYJN037844; Fri, 12 Feb 2016 16:41:34 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 12 Feb 2016 16:41:34 +0200 From: Konstantin Belousov To: Ruslan Bukin 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> References: <201602120738.u1C7cKpq093956@repo.freebsd.org> <20160212132204.GA33648@bsdpad.com> <20160212141353.GR91220@kib.kiev.ua> <20160212141822.GA34266@bsdpad.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160212141822.GA34266@bsdpad.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 14:41:44 -0000 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