Hello all, I have the same problem, I dont know if you are using Maemo, in my case the problem is that new maemo 2.0 binary is not compatible with old binary, things was changed, as example for floating points, old OS used FPA hardfloat format while new os uses VFP floats implmented as softflaot ABI.
From Maemo pages: "Maemo 2.0 introduces a major binary break due to the adoption of EABI toolchain and several API changes requiring porting of all existing maemo 1.1 applications to maemo 2.0. This early release provides an opportunity for maemo developers to port and test their 1.1 applications to 2.0 before the final Internet Tablet OS 2006 edition release due 2nd quarter 2006." Any ideas? Cheers, Everaldo. > -----Original Message----- > From: [EMAIL PROTECTED] > Sent: Sat, 2 Sep 2006 16:59:42 +0200 > To: [email protected] > Subject: Re: [DotGNU] scratchbox with arm toolchain (gcc3.4) > > Hello Gopal, > > I did, what you asked me to do. Below you see the commands I executed. At > first you see that ilrun is compiled for ARM. Below you see the response > to > Ilrun hello.exe (nothing), the response to ilrun --trace hello.exe > (nothing), > the version of the framework (0.1) and the output of strace. Thanks for > your > effort. > ------------------------------------------------- > > [sbox-MyTarget: /usr/local/bin] > file ilrun > ilrun: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux > 2.0.0, > dynamically linked (uses shared libs), not stripped > [sbox-MyTarget: /usr/local/bin] > > > > [sbox-MyTarget: ~] > ilrun hello.exe > [sbox-MyTarget: ~] > ilrun --trace hello.exe > [sbox-MyTarget: ~] > ilrun -D > Engine Version : 0.7.4 > Engine Flavour : Direct Unrolled (ARM) > Platform Info : Linux 2.6.12-10-386 armv5tel > Compiled On : Aug 31 2006 14:24:36 (local) > Computed Goto : Yes (PIC) > Garbage Collector : Boehm > Libffi : Yes > Threading : Enabled > Build Profile : Full > [sbox-MyTarget: ~] > strace ilrun hello.exe > execve("/usr/local/bin/ilrun", ["ilrun", "hello.exe"], [/* 33 vars */]) = > 0 > uname({sys="Linux", node="laptop", ...}) = 0 > brk(0) = 0x80b2000 > brk(0x80d3000) = 0x80d3000 > open("/targets/links/scratchbox.config", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0664, st_size=1068, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = > 0x40000000 > read(3, "# Automatically generated config"..., 4096) = 1068 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0x40000000, 4096) = 0 > open("/tmp/cputransp_jo.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3 > fstat64(3, {st_mode=S_IFREG|0664, st_size=566, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = > 0x40000000 > fstat64(3, {st_mode=S_IFREG|0664, st_size=566, ...}) = 0 > _llseek(3, 566, [566], SEEK_SET) = 0 > stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > stat64("/home/jo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > gettimeofday({1157208388, 264955}, NULL) = 0 > open("/scratchbox/etc/localtime", O_RDONLY) = 4 > fstat64(4, {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = > 0x40001000 > read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10"..., > 4096) = > 837 > close(4) = 0 > munmap(0x40001000, 4096) = 0 > getpid() = 8366 > write(3, "[2006-09-02 14:46:28 8366] meth"..., 137) = 137 > rt_sigaction(SIGCHLD, {0x8048b00, [], SA_RESTORER, 0x8049908}, NULL, 8) = > 0 > rt_sigaction(SIGTERM, {0x8048b10, [], SA_RESTORER, 0x8049908}, NULL, 8) = > 0 > rt_sigaction(SIGHUP, {0x8048b10, [], SA_RESTORER, 0x8049908}, NULL, 8) = > 0 > rt_sigaction(SIGINT, {0x8048b10, [], SA_RESTORER, 0x8049908}, NULL, 8) = > 0 > fork() = 8367 > --- SIGCHLD (Child exited) @ 0 (0) --- > sigreturn() = ? (mask now [RTMIN]) > waitpid(8367, [{WIFEXITED(s) && WEXITSTATUS(s) == 245}], 0) = 8367 > gettimeofday({1157208388, 343758}, NULL) = 0 > getpid() = 8366 > write(3, "[2006-09-02 14:46:28 8366] rc: "..., 52) = 52 > munmap(0x40000000, 4096) = 0 > exit_group(245) = ? > [sbox-MyTarget: ~] > > > ------------------------------------------------------ > > Thanks, > majo > > > Am Samstag 02 September 2006 15:41 schrieben Sie: >> Johannes Maier wrote: >>> with the arm toolchain. But when I try to execute a simple "hello >>> world" >>> program (Console.WriteLine), nothing happens. >> >> Could you try at least an strace or some way for us to know what's >> happening ? >> >> Or even an ilrun --trace will tell us a bit. >> >>> The "hello world" program works fine with the .Net Framework from >>> Microsoft and I am also able to compile it without any warnings with >>> the >>> cscc compiler. >> >> Btw, the arm engine is much more than functional [1] for the last couple >> of years. So if there are some issues with scratchbox (emulator >> specific) or some other regressions I'd like to know. >> >> And I hope you aren't using the libjit core (which is only there in >> current CVS), though the last release is a few months behind CVS. An >> ilrun -D -D should tell us enough about that. >> >> Cheers, >> Gopal >> [1] - http://t3.dotgnu.info/code/Dotgnu_Simputer_divx.avi > _______________________________________________ > Developers mailing list > [email protected] > http://dotgnu.org/mailman/listinfo/developers _______________________________________________ Developers mailing list [email protected] http://dotgnu.org/mailman/listinfo/developers
