On 2 March 2010 18:11, Martin Jansa <[email protected]> wrote: > On Tue, Mar 02, 2010 at 05:49:03PM +0100, Joachim Ott wrote: >> Hello, >> >> when I try to run the example program, that is shown on "man dlopen", >> on the FR, it gets an "Illegal instruction". On the desktop it runs >> fine. Was someone else already hit by this? >> >> In gdb it looks like this: >> >> (gdb) n >> >> Program received signal SIGILL, Illegal instruction. >> 0x000085f0 in main (argc=1, argv=0xbeee1cb4) at dl.c:34 >> 34 printf("%f\n", (*cosine)(2.0)); >> (gdb) > > Are you building it on FR? > Don't forget to add -march=armv4t without it you will get this for sure.
Yes, I'm building on the FR. And this -march=armv4t helps indeed. What makes me wonder, because I've already built several programs, and all run fine (none played with dlopen tho). Anyway, thanks for the hint, I'm happy for today now. :-) _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
