Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2001 17:23:24 +0200 (CEST)
From:      "Hartmann, O." <ohartman@klima.physik.uni-mainz.de>
To:        <freebsd-emulation@freebsd.org>
Cc:        <freebsd-questions@freebsd.org>
Subject:   KYLIX on FBSD not successful!
Message-ID:  <Pine.BSF.4.33.0106251701070.6111-100000@klima.physik.uni-mainz.de>

next in thread | raw e-mail | index | archive | help
Hello.

Sorry.
After a lot of problems and fighting with the Linuxulator I got
an installation of Kylix for Linux. But I'm sorry to say, that
after starting Kylix/Delphi with 'startkylix' delphi drops a
core dump due an illegal instruction:

/compat/linux/usr/kbin/startkylix: line 3: 13907 Illegal instruction     (core dumped) /compat/linux/usr/kylix/bin/Kylix $*

startkylix looks like this:

#!/compat/linux/bin/bash
source /compat/linux/usr/kylix/bin/kylixpath /compat/linux/usr/kylix >/dev/null
/compat/linux/usr/kylix/bin/Kylix $*


/compat/linux/usr/kylix/bin/Kylix is  a symlink to
/compat/linux/usr/kylix/bin/delphi and this binary have been
brandelf'ed. I also brandelf'ed all binaries I found and changed
most of the shell-script headers from /bin/bash to /compat/bin/bash
to ensure Linux binaries are found first.

When installing the setup routine have had problems with a first
found 'rpm' in /usr/local/bin I installed from the ports. It seems
that the setup-binary looks for it - to force the setup working correctly
I had to move it to rpm.off to get the Linux rpm found first. On the
other hand, setup printed the error that libncurses.so.5 has not been found.

Before giving up on Kylix and setting up an Linux server for that purpose,
how to check on what the delphi binary got killed?

I append a truss output here, hope someone can examine and tell
what's going wrong ...


linux_brk(0x0)					 = 1 (0x1)
linux_mmap(0xbfbfeb7c)				 = 1 (0x1)
linux_open("/etc/ld.so.preload",0,03002604314)	 ERR#2 'No such file or directory'
linux_open("/etc/ld.so.cache",0,03002604314)	 = 3 (0x3)
linux_newfstat(4,0xbfbfe9cc)			 = 2 (0x2)
linux_mmap(0xbfbfea08)				 = 1 (0x1)
close(4)					 = 1 (0x1)
linux_open("/lib/libtermcap.so.2",0,03002604314) = 3 (0x3)
linux_newfstat(4,0xbfbfe924)			 = 2 (0x2)
read(0x4,0xbfbfd978,0x1000)			 = 3 (0x3)
linux_mmap(0xbfbfd918)				 = 1 (0x1)
mprotect(0x180b7000,0x648,0x0)			 = 3 (0x3)
linux_mmap(0xbfbfd918)				 = 1 (0x1)
close(4)					 = 1 (0x1)
linux_open("/lib/libc.so.6",0,03002604314)	 = 3 (0x3)
linux_newfstat(4,0xbfbfe914)			 = 2 (0x2)
read(0x4,0xbfbfd968,0x1000)			 = 3 (0x3)
linux_mmap(0xbfbfd8d8)				 = 1 (0x1)
mprotect(0x181a5000,0x78bc,0x0)			 = 3 (0x3)
linux_mmap(0xbfbfd8d8)				 = 1 (0x1)
linux_mmap(0xbfbfd8d8)				 = 1 (0x1)
close(4)					 = 1 (0x1)
mprotect(0x180b8000,0xed000,0x3)		 = 3 (0x3)
mprotect(0x180b8000,0xed000,0x5)		 = 3 (0x3)
munmap(0x180b2000,0x1ece)			 = 2 (0x2)
linux_personality(0x0)				 = 1 (0x1)
getpid()					 = 0 (0x0)
getuid()					 = 0 (0x0)
getgid()					 = 0 (0x0)
geteuid()					 = 0 (0x0)
getegid()					 = 0 (0x0)
linux_brk(0x0)					 = 1 (0x1)
linux_brk(0x80a6030)				 = 1 (0x1)
linux_brk(0x80a7000)				 = 1 (0x1)
linux_time(0x0)					 = 1 (0x1)
linux_rt_sigaction(0x11,0xbfbfec74,0xbfbfebe8,0x8) = 4 (0x4)
linux_rt_sigaction(0x11,0xbfbfec74,0xbfbfebe8,0x8) = 4 (0x4)
linux_rt_sigaction(0x2,0xbfbfec74,0xbfbfebe8,0x8) = 4 (0x4)
linux_rt_sigaction(0x2,0xbfbfec74,0xbfbfebe8,0x8) = 4 (0x4)
linux_rt_sigaction(0x3,0xbfbfec74,0xbfbfebe8,0x8) = 4 (0x4)
linux_rt_sigaction(0x3,0xbfbfec74,0xbfbfebe8,0x8) = 4 (0x4)
linux_rt_sigaction(0x1,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x2,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x4,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x5,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x6,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x8,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x7,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0xb,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0xd,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0xe,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0xf,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x18,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x19,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x1a,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0x1b,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0xa,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigaction(0xc,0xbfbfec7c,0xbfbfebf0,0x8) = 4 (0x4)
linux_rt_sigprocmask(0x0,0x0,0x80a4da0,0x8)	 = 4 (0x4)
linux_rt_sigaction(0x3,0xbfbfeb54,0xbfbfeac8,0x8) = 4 (0x4)
linux_socketcall(0x1,0xbfbfecd8)		 = 2 (0x2)
linux_socketcall(0x3,0xbfbfecd8)		 ERR#2 'No such file or directory'
close(4)					 = 1 (0x1)
linux_open("/etc/nsswitch.conf",0,0666)		 = 3 (0x3)
linux_fstat64()					 ERR#78 'Function not implemented'
linux_newfstat(4,0xbfbfec28)			 = 2 (0x2)
linux_mmap(0xbfbfec78)				 = 1 (0x1)
read(0x4,0x180b2000,0x2000)			 = 3 (0x3)
read(0x4,0x180b2000,0x2000)			 = 3 (0x3)
close(4)					 = 1 (0x1)
munmap(0x180b2000,0x2000)			 = 2 (0x2)
linux_open("/etc/ld.so.cache",0,03002604314)	 = 3 (0x3)
linux_newfstat(4,0xbfbfea08)			 = 2 (0x2)
linux_mmap(0xbfbfea44)				 = 1 (0x1)
close(4)					 = 1 (0x1)
linux_open("/lib/libnss_files.so.2",0,03006501114) = 3 (0x3)
linux_newfstat(4,0xbfbfe960)			 = 2 (0x2)
read(0x4,0xbfbfd9b4,0x1000)			 = 3 (0x3)
linux_mmap(0xbfbfd924)				 = 1 (0x1)
mprotect(0x181b5000,0xe20,0x0)			 = 3 (0x3)
linux_mmap(0xbfbfd924)				 = 1 (0x1)
close(4)					 = 1 (0x1)
munmap(0x180b2000,0x1ece)			 = 2 (0x2)
linux_open("/etc/passwd",0,0666)		 = 3 (0x3)
linux_fcntl(0x4,0x1,0x0)			 = 3 (0x3)
linux_fcntl(0x4,0x2,0x1)			 = 3 (0x3)
linux_newfstat(4,0xbfbfec30)			 = 2 (0x2)
linux_mmap(0xbfbfec80)				 = 1 (0x1)
read(0x4,0x180b2000,0x2000)			 = 3 (0x3)
close(4)					 = 1 (0x1)
munmap(0x180b2000,0x2000)			 = 2 (0x2)
linux_newuname(0xbfbfecd0)			 = 1 (0x1)
linux_open("/etc/ld.so.cache",0,03002604314)	 = 3 (0x3)
linux_newfstat(4,0xbfbfea58)			 = 2 (0x2)
linux_mmap(0xbfbfea94)				 = 1 (0x1)
close(4)					 = 1 (0x1)
linux_open("/lib/libnss_nisplus.so.2",0,03006501114) = 3 (0x3)
linux_newfstat(4,0xbfbfe9b0)			 = 2 (0x2)
read(0x4,0xbfbfda04,0x1000)			 = 3 (0x3)
linux_brk(0x80a8000)				 = 1 (0x1)
linux_mmap(0xbfbfd974)				 = 1 (0x1)
mprotect(0x181bf000,0x13f4,0x0)			 = 3 (0x3)
linux_mmap(0xbfbfd974)				 = 1 (0x1)
close(4)					 = 1 (0x1)
linux_open("/lib/libnsl.so.1",0,03002604314)	 = 3 (0x3)
linux_newfstat(4,0xbfbfe8b4)			 = 2 (0x2)
read(0x4,0xbfbfd908,0x1000)			 = 3 (0x3)
linux_mmap(0xbfbfd878)				 = 1 (0x1)
mprotect(0x181d3000,0x3828,0x0)			 = 3 (0x3)
linux_mmap(0xbfbfd878)				 = 1 (0x1)
linux_mmap(0xbfbfd878)				 = 1 (0x1)
close(4)					 = 1 (0x1)
munmap(0x180b2000,0x1ece)			 = 2 (0x2)
linux_open("/etc/ld.so.cache",0,03002604314)	 = 3 (0x3)
linux_newfstat(4,0xbfbfea5c)			 = 2 (0x2)
linux_mmap(0xbfbfea98)				 = 1 (0x1)
close(4)					 = 1 (0x1)
linux_open("/lib/libnss_nis.so.2",0,03006501114) = 3 (0x3)
linux_newfstat(4,0xbfbfe9b4)			 = 2 (0x2)
read(0x4,0xbfbfda08,0x1000)			 = 3 (0x3)
linux_mmap(0xbfbfd978)				 = 1 (0x1)
mprotect(0x181df000,0x1658,0x0)			 = 3 (0x3)
linux_mmap(0xbfbfd978)				 = 1 (0x1)
close(4)					 = 1 (0x1)
munmap(0x180b2000,0x1ece)			 = 2 (0x2)
linux_brk(0x80a9000)				 = 1 (0x1)
linux_brk(0x80aa000)				 = 1 (0x1)
linux_brk(0x80ab000)				 = 1 (0x1)
linux_newstat("/homes/ohartman",0xbfbfecf8)	 = 2 (0x2)
linux_newstat(".",0xbfbfecf8)			 = 2 (0x2)
getpid()					 = 0 (0x0)
getppid()					 = 0 (0x0)
getpgrp()					 = 0 (0x0)
linux_fcntl(0xffffffff,0x2,0x1)			 ERR#9 'Bad file descriptor'
linux_rt_sigaction(0x11,0xbfbfec70,0xbfbfebe4,0x8) = 4 (0x4)
linux_socketcall(0x7,0xbfbfef2c)		 ERR#38 'Socket operation on non-socket'
linux_open("/homes/ohartman/.kshrc",0,03006466700) ERR#2 'No such file or directory'
linux_open("/compat/linux/usr/kbin/startkylix",0,03006501114) = 3 (0x3)
linux_lseek(0x4,0x0,0x1)			 = 3 (0x3)
read(0x4,0xbfbfef80,0x50)			 = 3 (0x3)
linux_lseek(0x4,0x0,0x0)			 = 3 (0x3)
linux_fcntl(0x4,0x2,0x1)			 = 3 (0x3)
linux_fcntl(0x4,0x3,0x0)			 = 3 (0x3)
linux_newfstat(4,0xbfbfee8c)			 = 2 (0x2)
linux_lseek(0x4,0x0,0x1)			 = 3 (0x3)
linux_brk(0x80ac000)				 = 1 (0x1)
read(0x4,0x80aadd8,0x8e)			 = 3 (0x3)
linux_open("/dev/null",577,0666)		 = 3 (0x3)
linux_fcntl(0x1,0x1,0x0)			 = 3 (0x3)
linux_fcntl(0x1,0x0,0xa)			 = 3 (0x3)
linux_fcntl(0x1,0x1,0x0)			 = 3 (0x3)
linux_fcntl(0xa,0x2,0x1)			 = 3 (0x3)
dup2(0x5,0x1)					 = 2 (0x2)
close(5)					 = 1 (0x1)
linux_newstat("/compat/linux/usr/kylix/bin/kylixpath",0xbfbfeae0) = 2 (0x2)
linux_getgroups(0x20,0xbfbfeac4)		 = 2 (0x2)
linux_open("/compat/linux/usr/kylix/bin/kylixpath",0,03004212656) = 3 (0x3)
linux_newfstat(5,0xbfbfebf8)			 = 2 (0x2)
linux_brk(0x80ad000)				 = 1 (0x1)
read(0x5,0x80abf60,0x4d6)			 = 3 (0x3)
close(5)					 = 1 (0x1)
linux_pipe(0xbfbfe894)				 = 1 (0x1)
linux_rt_sigprocmask(0x0,0xbfbfe7ec,0xbfbfe76c,0x8) = 4 (0x4)
linux_fork()					 = 0 (0x0)
linux_rt_sigprocmask(0x2,0xbfbfe76c,0x0,0x8)	 = 4 (0x4)
linux_rt_sigaction(0x11,0xbfbfe68c,0xbfbfe600,0x8) = 4 (0x4)
linux_fcntl(0x5,0x3,0x80ac8e8)			 = 3 (0x3)
linux_newfstat(5,0xbfbfe684)			 = 2 (0x2)
linux_mmap(0xbfbfe6d4)				 = 1 (0x1)
linux_llseek(0x5,0x0,0x0,0xbfbfe738,0x1)	 ERR#29 'Illegal seek'
close(6)					 = 1 (0x1)
read(0x5,0x80a32e0,0x80)			 = 3 (0x3)
SIGNAL 20
SIGNAL 20
SIGNAL 20
read(0x5,0x80a32e0,0x80)			 ERR#4 'Interrupted system call'
linux_wait4(0xffffffff,0xbfbfe570,0x1,0x0)	 = 4 (0x4)
linux_wait4(0xffffffff,0xbfbfe570,0x1,0x0)	 ERR#10 'No child processes'
linux_sigreturn(0xbfbfe588)			 ERR#4 'Interrupted system call'
read(0x5,0x80a32e0,0x80)			 = 3 (0x3)
close(5)					 = 1 (0x1)
munmap(0x181e1000,0x4000)			 = 2 (0x2)
close(5)					 ERR#9 'Bad file descriptor'
linux_rt_sigprocmask(0x0,0xbfbfe7e8,0xbfbfe768,0x8) = 4 (0x4)
linux_rt_sigaction(0x2,0xbfbfe564,0xbfbfe4d8,0x8) = 4 (0x4)
linux_rt_sigprocmask(0x2,0xbfbfe768,0x0,0x8)	 = 4 (0x4)
linux_rt_sigaction(0x2,0xbfbfe55c,0xbfbfe4d0,0x8) = 4 (0x4)
linux_brk(0x80ae000)				 = 1 (0x1)
linux_brk(0x80af000)				 = 1 (0x1)
linux_brk(0x80b0000)				 = 1 (0x1)
linux_newfstat(1,0xbfbfe188)			 = 2 (0x2)
linux_mmap(0xbfbfe1d8)				 = 1 (0x1)
linux_ioctl(0x1,0x5401,0xbfbfe170)		 ERR#19 'Operation not supported by device'
write(1,0x180b2000,21)				 = 3 (0x3)
write(1,0x180b2000,1242)			 = 3 (0x3)
write(1,0x180b2000,1)				 = 3 (0x3)
write(1,0x180b2000,32)				 = 3 (0x3)
write(1,0x180b2000,28)				 = 3 (0x3)
write(1,0x180b2000,1)				 = 3 (0x3)
write(1,0x180b2000,23)				 = 3 (0x3)
write(1,0x180b2000,38)				 = 3 (0x3)
write(1,0x180b2000,1)				 = 3 (0x3)
write(1,0x180b2000,23)				 = 3 (0x3)
write(1,0x180b2000,29)				 = 3 (0x3)
dup2(0xa,0x1)					 = 2 (0x2)
linux_fcntl(0xa,0x1,0x0)			 = 3 (0x3)
close(10)					 = 1 (0x1)
linux_rt_sigprocmask(0x0,0xbfbfec7c,0xbfbfebfc,0x8) = 4 (0x4)
linux_fork()					 = 0 (0x0)
linux_rt_sigprocmask(0x2,0xbfbfebfc,0x0,0x8)	 = 4 (0x4)
linux_rt_sigprocmask(0x0,0xbfbfed58,0xbfbfecd8,0x8) = 4 (0x4)
linux_rt_sigprocmask(0x2,0xbfbfecd8,0x0,0x8)	 = 4 (0x4)
linux_rt_sigprocmask(0x0,0xbfbfed58,0xbfbfecd8,0x8) = 4 (0x4)
linux_rt_sigaction(0x2,0xbfbfead4,0xbfbfea48,0x8) = 4 (0x4)
linux_wait4(0xffffffff,0xbfbfecac,0x0,0x0)	 = 4 (0x4)
linux_rt_sigprocmask(0x0,0xbfbfec34,0xbfbfebb4,0x8) = 4 (0x4)
linux_rt_sigprocmask(0x2,0xbfbfebb4,0x0,0x8)	 = 4 (0x4)
linux_rt_sigprocmask(0x2,0xbfbfecd8,0x0,0x8)	 = 4 (0x4)
linux_rt_sigaction(0x2,0xbfbfeacc,0xbfbfea40,0x8) = 4 (0x4)
linux_rt_sigprocmask(0x0,0xbfbfe5fc,0xbfbfe57c,0x8) = 4 (0x4)
linux_rt_sigprocmask(0x2,0xbfbfe57c,0x0,0x8)	 = 4 (0x4)
read(0x4,0x80aadd8,0x8e)			 = 3 (0x3)
munmap(0x180b2000,0x2000)			 = 2 (0x2)
exit(0x84)					process exit, rval = 33792



--
MfG
O. Hartmann

ohartman@klima.physik.uni-mainz.de
----------------------------------------------------------------
IT-Administration des Institut fuer Physik der Atmosphaere (IPA)
----------------------------------------------------------------
Johannes Gutenberg Universitaet Mainz
Becherweg 21
55099 Mainz

Tel: +496131/3924662 (Maschinensaal)
Tel: +496131/3924144
FAX: +496131/3923532


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0106251701070.6111-100000>