Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2012 11:09:36 -0800
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Devin Teske <dteske@freebsd.org>
Cc:        mike <mike@reifenberger.com>, Adrian Chadd <adrian@freebsd.org>, Peter Grehan <grehan@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: Working on Bootforth / ficl
Message-ID:  <CAGH67wSB50WK_Jm7Qs7QnVTcOgSvFd4604Yaw0eCjhGpeyRqmw@mail.gmail.com>
In-Reply-To: <68C4FC13-08E2-485F-B4A6-DB4B5271859E@fisglobal.com>
References:  <A0A46155-0969-459E-BCD6-4AA7B8B371BE@fisglobal.com> <alpine.WNT.2.00.1211120856000.7920@ux32> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 12, 2012 at 11:05 AM, Devin Teske <devin.teske@fisglobal.com>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'



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