tech-toolchain archive

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

Re: netbsd-9/amd64 build mixes 32 bit objects



On Sat, Mar 12, 2022 at 02:09:03AM +0000, Emmanuel Dreyfus wrote:
> On Fri, Mar 11, 2022 at 05:41:22PM +0100, Martin Husemann wrote:
> > This file should have been build with -m32 too - but apparently wasn't.
> 
> Should it? I am building on amd64 for amd64, and this is a just checked
> out tree, with no leftover.

Yes, /usr/lib/lib/i386 are 32bit compat files, needed to build other things
with -m32:

On my amd64 machine:

 > file /usr/lib/i386/crti.o 
/usr/lib/i386/crti.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), for NetBSD 9.99.94, not stripped

vs.:

 > file /usr/lib/crti.o 
/usr/lib/crti.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), for NetBSD 9.99.94, not stripped


Martin


Home | Main Index | Thread Index | Old Index