Port-vax archive

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

Re: Issues with native build of -10 on VAX



On Thu, Nov 23, 2023 at 03:11:03PM +0900, Rin Okuyama wrote:
> Nice diagnosis!!
> 
> This should be because:
> (1) vax natively supports 64-bit integers, but
> (2) 64-bit int support for binutils is not explicitly enabled for vax
> 
> As a result, this can be assembled correctly only if host is LP64.
> 
> This patch for netbsd-10 may resolve the problem: (compile test only)
> https://gist.github.com/rokuyama/9e67b79674a1bb32db0a8f8c9fbe0f15
> 
> To install this fix, you need:
> (a) run build.sh to cross-build on LP64 host
> (b) install generated binaries into vax

Thanks! I have rebuilt everything on amd64 with this patch applied and
installed the resulting bits on the VAX. The "movq $-1,-292(%fp)[%r4]"
instruction is now assembled correctly by the native assembler.


Hans


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown


Home | Main Index | Thread Index | Old Index