Port-mips archive

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

Re: Starting NetBSD/mips64 kernel up and Userland Questions



On Wed, Jan 01, 2020 at 09:24:53AM -0800, Jason Thorpe wrote:
> 
> > On Jan 1, 2020, at 9:19 AM, Naruaki.Etomi <nullnilaki%gmail.com@localhost> wrote:
> > 
> > However, it was a 32 bit userland binary.
> > # file cat
> > cat: ELF 32-bit MSB shared object, MIPS, N32 MIPS-III version 1
> > (SYSV), dynamically linked, interpreter /libexec/ld.elf_so, missing
> > section headers
> > 
> > How can I make a 64 bit userland binary?
> 
> Our 64-bit MIPS platforms use n32 binaries because, as I recall, it was determined to perform better.  It is somewhat counter-intuitive, however, and also means that extra hoops are required for large-address-space applications.
> 
> -- thorpej
> 

We can't run dynamically linked n64 binaries, I doubt anyone fixed PR
52857.

Some (libkvm using) binaries are still n64, but static, like vmstat.


Home | Main Index | Thread Index | Old Index