[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] ld segfault



Hi Pablo,

On Thu, May 21, 2009 at 7:32 PM,  <pcolodron@xxxxxxxx> wrote:

> When I compile the application, I can see the following error:
>
> microblaze-uclinux/bin/ld: line 168: 27630 Segmentation fault      $LINKER
> $EMUL -r -d -o "$OFILE.elf2flt" $ARG1
> collect2: ld returned 139 exit status
>
>
> It is probably a problem related to how I compile the library. Maybe I have
> some x86 objects in my library and I do not know.

It is a likely cause.

> Could you tell me Rod or John how to check this? You told that you used the
> vervose output from mb-strip. Could you explain how to do it?

Basically take a look at thegcc or ld command line that is triggering
the bug.  Run that command manually, but att -v (for verbose), it
should give you a list of all object (.o) and library (.a) files that
are part of the link.  Ten check each of those with "mb-objdump -t
<filename>", it shold report them as microblaze binaries.

Regards,

John
-- 
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com  p: +61-7-30090663  f: +61-7-30090663

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/