I have cross compiled tool chain for armv7eb. Now I have copied the tools to my target machine and tried to build perl on target. In this process of building perl, there is a binary called 'miniperl' which gets crashed saying "ILLEGAL INSTRUCTION".

Can someone help me point out what I should be doing ? PERL VERSION: 5.8.8 GCC: 4.1.3 PLease find the crash log below. anybody has any suggestions.

sh cflags "optimize='-O'" opmini.o` -DPIC -fPIC -DPERL_EXTERNAL_GLOB +opmini.c CCCMD = cc -DPERL_CORE -c -msoft-float -dynamic -fno-strict +-aliasing -pipe -Wdeclaration-after-statement -O -Wall LD_LIBRARY_PATH=/usr/pkg/src/perl-5.8.8:/lib:/usr/lib:/usr/pkg/lib:/us +r/pkg/src/PTHREAD/lib cc -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/loca +l/lib -L/usr/pkg/lib -L/lib -L/usr/lib -o miniperl miniperlmain.o op +mini.o -L. -lperl -lm -lcrypt -lutil -lc -lposix LD_LIBRARY_PATH=/usr/pkg/src/perl-5.8.8:/lib:/usr/lib:/usr/pkg/lpid 25 +563 (miniperl), uid 0: exited on signal 4 (core not dumped, err = 2) ib:/usr/pkg/src/PTHREAD/lib ./miniperl -w -Ilib -MExporter -e '<?>' || + make minitest [1] Illegal instruction LD_LIBRARY_PATH=... cp ext/re/re.pm lib/re.pm LD_LIBRARY_PATH=/usr/pkg/src/perpid 8052 (miniperl), uid 0: exited on +signal 4 (core not dumped, err = 2) l-5.8.8:/lib:/usr/lib:/usr/pkg/lib:/usr/pkg/src/PTHREAD/lib ./miniperl + -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm [1] Illegal instruction LD_LIBRARY_PATH=... *** Error code 132 Stop. make: stopped in /upid 25595 (miniperl), uid 0: exited on signal 4 (co +re not dumped, err = 2) sr/pkg/src/perl-5.8.8 *** Error code 1 (ignored)

In reply to Compiling Perl5.8.8 on ARMv7eb by Fearless

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.