Port-RISCV archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cross compiling for riscv64
Jesse Rhodes <jesse%sney.ca@localhost> writes:
> I have NetBSD 11 running on a Star64 and I want to use my amd64
> desktop to cross-compile some packages for it.
>
> I have been following this guide from the pkgsrc git repo:
> https://github.com/NetBSD/pkgsrc/blob/trunk/doc/HOWTO-use-crosscompile
>
> I'm coming from linux so I don't really know the assumptions I should
> have reading something like this. I did figure out (through trial and
> error) that I needed the comp, text, and most of the source sets, but
> may still be missing something, because the distribution build fails.
I don't understand what you are doing. It seems you are trying to build
NetBSD 11.1 from source on some host, and having trouble. While you
want to do this because of cross, it's a separable problem and I think
it's best to keep separable problems separate.
I would suggest checking out the netbsd-11 branch from anoncvs or git,
and not messing with source sets. I am not aware of building parts of
netbsd with only partial sources; it sounds like asking for trouble to
me, but maybe I just decided not to pay attention to that concept 30
years ago.
The error looks like whatever compiler you are using is very aggressive,
turning "I can't check this format string" into a fatal error. You have
not described your build host, and didn't provide your build.sh line.
Home |
Main Index |
Thread Index |
Old Index