tech-pkg archive

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

Re: Clarity on rust failures (NetBSD)



On Tue, Jun 16, 2020 at 11:17:13PM +0200, Havard Eidnes wrote:
> >>> If the bootstrap is still broken on armv7 [...]
> >>
> >> It has lagged behind; the latest bootstrap kit I've cross-built
> >> was 1.35.0.  I never succeeded in building rust natively on my
> >> emulated armv7hf system; it just reqires too much virtual memory
> >> in, I beleive, the linking stage.
> >
> > Do you think there is a bug in the linking stage?  I have been able to
> > build rust on an i386 machine with 3G of RAM.   How much memory did your
> > emulated system have?
> 
> The issue isn't so much the physical memory of the system, it is
> the virtual address limitations imposed by the port.  If my
> recollection is right, I beleive it bombed out at somewhere
> around 1.7GB virtual size.  (The emulated system is a 4-cpu 2GB
> system.)

Don't do a debug build. That should be good enough. Of course, might
need some kicking cargo in the ...

Joerg


Home | Main Index | Thread Index | Old Index