Subject: COMPAT_FREEBSD on port AMD64
To: None <current-users@netbsd.org>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 01/16/2007 06:23:11
Does COMPAT_FREEBSD work on port-amd64?  If not, what would it take to 
get it working?  It seems that many of the i386 configs have the option 
(although most are commented out), but only one amd64 config (SIMICS) 
even pretends to know anything about the option.

I tried to build a kernel with 'options COMPAT_FREEBSD' (and also 
'options EXEC_ELF32') just now, with the following results:

#      link  ZIPPY/netbsd
/usr/obj/tools.x86_64.amd64/bin/x86_64--netbsd-ld -Map netbsd.map --cref 
-T /usr/src/sys/arch/amd64/conf/kern.ldscript -Ttext 0xffffffff80100000 -e 
start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
exec_conf.o:(.rodata+0xa0): undefined reference to `freebsd_elf32_probe'
exec_conf.o:(.rodata+0xa8): undefined reference to `emul_freebsd'


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | FA29 0E3B 35AF E8AE 6651 |  paul@whooppee.com   |
|                  | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------