wiki pages https://wiki.freebsd.org/riscv wrong
Dennis Clarke
dclarke at blastwave.org
Wed Mar 13 19:05:36 UTC 2019
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
More information about the freebsd-riscv
mailing list