From owner-freebsd-arch@FreeBSD.ORG Mon Nov 12 19:09:38 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E50F28D; Mon, 12 Nov 2012 19:09:38 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 983CA8FC08; Mon, 12 Nov 2012 19:09:37 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so820135obc.13 for ; Mon, 12 Nov 2012 11:09:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7Z2zj3rPDxlNTV5D0k+i3Jpwi8ulGVNuyfMZBr8jSDU=; b=FG6pPCw5/0Mg/D3wxcCmpm24TMdhWrlnJ3TPU5cPlSigwxvKHsJpd5W9fDTGfEvWN2 zHrzk680nI8W+IBYQbwCNBmiZxGI1yN5u51MB5Xww4a+Jq5fWrYslNdXYVY9T4cZwz2o D6bIXHDbYXbfDTCdUjJmYgAO8cjEvIfMiuXTX4eC6IkQyRElpppTkKHCV3wOk6YhL9k0 9BLuD6tinRNQZ4JwoJdPZQzqYTpCwn8cZ8rpYG3+CLiPvjITyQ0ABvSvcKUfmwxh3Mgk HO5hpuXLUORpm5VoI8LOWggyQJkzEey2E/dm+0S1Uylodshwl1/60wLJZZhqUC9h/946 Y5aQ== MIME-Version: 1.0 Received: by 10.60.25.104 with SMTP id b8mr5179332oeg.18.1352747376568; Mon, 12 Nov 2012 11:09:36 -0800 (PST) Received: by 10.76.143.33 with HTTP; Mon, 12 Nov 2012 11:09:36 -0800 (PST) In-Reply-To: <68C4FC13-08E2-485F-B4A6-DB4B5271859E@fisglobal.com> References: <1DE1DC5C-9D7F-4FC7-A27C-736B0B172DBF@fisglobal.com> <50A1435F.2010002@freebsd.org> <4693988C-04B2-457F-9E4A-CB64840E05C6@fisglobal.com> <50A147A5.80208@freebsd.org> <68C4FC13-08E2-485F-B4A6-DB4B5271859E@fisglobal.com> Date: Mon, 12 Nov 2012 11:09:36 -0800 Message-ID: Subject: Re: Working on Bootforth / ficl From: Garrett Cooper To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: mike , Adrian Chadd , Peter Grehan , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 19:09:38 -0000 On Mon, Nov 12, 2012 at 11:05 AM, Devin Teske wrote: > > On Nov 12, 2012, at 11:01 AM, Peter Grehan wrote: > > > Hi Devin, > > > >> However, "test" currently doesn't compile (error below): > >> > >> ===> test (all) > >> Warning: Object directory not changed from original > /usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test > >> cc -O2 -pipe > -I/usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test/.. > -I/usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test/../../.. > -std=gnu99 -c test.c > >> In file included from test.c:41: > >> /usr/include/stdlib.h:54: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'wchar_t' > >> /usr/include/stdlib.h:95: error: expected ')' before '*' token > >> /usr/include/stdlib.h:96: error: expected ')' before '*' token > >> /usr/include/stdlib.h:110: error: expected declaration specifiers or > '...' before 'wchar_t' > >> /usr/include/stdlib.h:111: error: expected ';', ',' or ')' before '*' > token > >> *** Error code 1 > >> > >> Stop in > /usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test. > >> *** Error code 1 > > > > Hmmm, it's part of the stock build and I haven't seen any failures in > that area. Was this part of a buildworld ? It may not build correctly from > the directory itself. > > > > Negative -- no buildworld. > > I figured since sys/boot/ficl/ could build "testmain" standalone that > perhaps userboot could too (what a shame). > > Next time I do a buildworld (or am mucking in one of my completed builds), > I'll check it out. > I forgot about that. Pretty cool. -Garrett $ cd /usr/src/sys/boot/userboot/test; `make -V.OBJDIR`/test Consoles: userboot FreeBSD/amd64 User boot, Revision 1.1 (gcooper@forza.west.isilon.com, Thu Sep 20 19:21:42 PDT 2012) / can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK not found OK OK OK load /kernel can't find '/kernel'