FreeBSD6.0R/amd64のLinux emulationで、x64_64は動かないのでしょうか?
ports/emulators/linux_base-8/pkg-descr
を見ると
This port is only available for the i386/amd64 architecture
などと書いてあるので、動くのかなぁと思ったのですけど、実際、SuSE Linux
9.0 (x86-64)で、compileしたバイナリを
brandelf -t Linux a.out
として実行しようとしても
ELF binary type "3" not known.
./a.out: Exec format error. Binary file not executable.
と、いわれて実行できません。
なお、kernelはGENERICのままなので、
options COMPAT_43
options COMPAT_LINUX32
options LINPROCFS
は入っていますし、linux_base-8をインストールしたあと、/etc/rc.confに
linux_enable="YES"
をいれて、再起動もしています。
kldstat -v|grep linux
は
324 linuxelf
と出ます。
sysctl -a|grep linux
は
linux 10 1K - 10 64
compat.linux32.maxvmem: 0
compat.linux32.maxssiz: 67108864
compat.linux32.maxdsiz: 536870912
compat.linux.oss_version: 198144
compat.linux.osrelease: 2.4.2
compat.linux.osname: Linux
と出ます。
青木和麻呂@神奈川県在住