Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cross compiling for riscv64



Hi Martin,

> On 2026-11-07 12:06, Martin Husemann wrote:
Unless you know exactly what you are doing, you need *all* source sets.

The only ones I skipped were x11 and x11 debug, do I need those even if I'm not planning to build or use any gui packages?


Are you sure that you are actually using the 11.1 sources?

What is your build.sh command line that triggers this?

Do you have any special settings in /etc/mk.conf?

The build host is a fresh install of 11.1 in a qemu VM, amd64. The sources were installed with sysinst. So I assume they are the right ones, but if you tell me how I can check.

The build.sh command line is the second build.sh command line in the crosscompile HOWTO doc linked in my previous mail:
 ./build.sh -m riscv64 distribution.
The tools step completed without issue.

mk.conf is the example from https://wiki.netbsd.org/pkgsrc/mk.conf/, unchanged.


This failure does not show up on our build cluster (which cross-compiles
on an amd64 host to riscv64), so it must be something in your compile
environment that makes it special.

The reason I mentioned trial and error to install the right sets is that I tried the << ./build.sh -m riscv64 tools >> command a couple times before I had the right things installed for it to work. I can see build.sh running the cleandir target before build, but maybe there's some other unrelated cruft left behind from my initial failures?

Martin

Jesse

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index