Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2019 15:05:31 -0400
From:      Dennis Clarke <dclarke@blastwave.org>
To:        Ruslan Bukin <ruslan.bukin@cl.cam.ac.uk>
Cc:        freebsd-riscv <freebsd-riscv@freebsd.org>
Subject:   Re: wiki pages https://wiki.freebsd.org/riscv wrong
Message-ID:  <eea1b11f-10aa-2112-12d0-b5934361037c@blastwave.org>
In-Reply-To: <20190313170129.GA25163@bsdpad.com>
References:  <eaf0c690-cca7-f88f-7c3a-3e23964ffd61@blastwave.org> <20190224212643.GA67845@bsdpad.com> <CAPn%2BtrHWmuqD=iek0DxO-co7K3Djva_EJart9Xg=DQiO4CZQgQ@mail.gmail.com> <4b5341ca-b1f5-a9c5-bdda-0204d37703ae@blastwave.org> <20190312170103.GA9714@bsdpad.com> <2848569d-68e4-df5f-9d0f-7e96933450ca@blastwave.org> <20190313170129.GA25163@bsdpad.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/13/19 1:01 PM, Ruslan Bukin wrote:
> Hi Dennis,
> 
> On Wed, Mar 13, 2019 at 08:48:40AM -0400, Dennis Clarke wrote:
>> There is no such thing as "include-fixed" there and certainly not for
>> FreeBSD 11.2 AND not gcc 8.1.0 and what else do you need?  WRONG.
> 
> You are right, there is no such thing anymore. So I removed it.
>

Very cool and thank you for the reply.  For a long while now, months, I
felt I was the only person that looked at this mail list.

My idea here is to update the wiki page in such a way that a person with
half a clue could follow along some steps and get a repeatable result.

I managed to do this once thus far but I had to stray way off the path
of that page and make numerous mistakes and night after night of
attempts. However eventually I have a qemu bootable image.


However I get a machine ( a qemu guest ) with no compiler tools. So that
is a real problem.

I have not been able to reproduce the result.


>>
>> vesta# svn co http://svn.freebsd.org/base/head freebsd-riscv
>> .
>> .
>> .
>> A    freebsd-riscv/Makefile.sys.inc
>>  U   freebsd-riscv
>> Checked out revision 345085.
> 
> So you are trying HEAD here, not STABLE. And now I understand that in previous mail you meant STABLE on host machine, not target.
> Well any combination of 12-STABLE and HEAD for host/target should work.
> 

I just followed the wiki page precisely.


>>
>> The user at the moment is root so whatever stuff on that page is about
>> /home/${USER} is plain WRONG so we have to guess that maybe some path
>> stuff has to be just sort of made up :
> 
> Why do you run commands in the root shell? This makes a bad habit (but probably not a potential reason for this issue).
>

There were no suggestions on the wiki page to not do anything as root.
However no reason why it should not just work.


>> In file included from /root/freebsd-riscv/lib/msun/src/s_clog.c:33:
>> /root/freebsd-riscv/lib/libc/include/fpmath.h:36:10: fatal error:
>> _fpmath.h: No such file or directory
>>  #include "_fpmath.h"
>>           ^~~~~~~~~~~
>> compilation terminated.
>> *** Error code 1
>>
> 
> I remember that I seen such error years before, but I can't remember.
> I'm unable to reproduce this issue on 12-STABLE.
> Did you say it was built fine for you on CURRENT?
> 

root@:~ # uname -aU
FreeBSD 13.0-CURRENT FreeBSD 13.0-CURRENT r341837 QEMU riscv 1300005

I am trying to reproduce a bootable reasonable result with native
compiler tools also.

Dennis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eea1b11f-10aa-2112-12d0-b5934361037c>