FreeBSD-4 executables on 7.x/amd64
Mikhail Teterin
mi+mill at aldan.algebra.com
Tue Mar 18 15:50:47 PDT 2008
Hello!
I have a 7.0 system (amd64) and am trying to run a FreeBSD-4 executable.
It dies on startup with "bad system call". The core shows, that it is
simply trying to mmap something.
I have the following COMPAT-options enabled in my kernel:
options COMPAT_43 # Needed by COMPAT_LINUX32
options COMPAT_IA32 # Compatible with i386 binaries
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_LINUX32 # Compatible with i386 linux binaries
Should not that be enough? Thanks!
-mi
(gdb) where
#0 0x284c65a4 in __syscall () from /opt/lib32/compat/libc_r.so.4
#1 0x285155af in mmap () from /opt/lib32/compat/libc_r.so.4
#2 0x285143a1 in _thread_leave_cancellation_point () from /opt/lib32/compat/libc_r.so.4
#3 0x28514ef6 in malloc () from /opt/lib32/compat/libc_r.so.4
#4 0x284db240 in _pq_alloc () from /opt/lib32/compat/libc_r.so.4
#5 0x284df1a6 in _thread_init () from /opt/lib32/compat/libc_r.so.4
#6 0x284deca7 in _get_curthread () from /opt/lib32/compat/libc_r.so.4
#7 0x284dc2f2 in pthread_mutex_lock () from /opt/lib32/compat/libc_r.so.4
#8 0x28468675 in __register_frame_info () from /opt/lib32/compat/libstdc++.so.3
#9 0x2849e8b2 in ?? () from /opt/lib32/compat/libc_r.so.4
#10 0x2852366c in _thread_autoinit_dummy_decl () from /opt/lib32/compat/libc_r.so.4
#11 0x28524720 in ?? () from /opt/lib32/compat/libc_r.so.4
#12 0x283732b4 in ?? ()
#13 0x2849e88c in ?? () from /opt/lib32/compat/libc_r.so.4
#14 0x283732b4 in ?? ()
#15 0x00000008 in ?? ()
#16 0xffffdbe4 in ?? ()
#17 0xffffda38 in ?? ()
#18 0x283732b4 in ?? ()
#19 0x2834e97b in ?? () from /usr/libexec/ld-elf.so.1
#20 0xffffda58 in ?? ()
#21 0x2849b61d in _init () from /opt/lib32/compat/libc_r.so.4
#22 0x283513af in _rtld_error () from /usr/libexec/ld-elf.so.1
More information about the freebsd-stable
mailing list