[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] ld segfault
Rod Green wrote:
I am getting a segfault when I try to link an application.
That's odd - someone else reported one of those recently as well.
have any pointers on how to pursue this? I'm pretty much out of ideas.
The program is c++ that was developed under Linux and Win32, and it
links against a few other libraries that were developed similarly. I
can link other code against those libs without any trouble, but so far I
haven't been able to come up with a minimal test case that triggers the
segfault. Below is the specific error I'm getting:
Are all of the libs and object code you are linking, compiled on the
same (Linux) host platform?
x/bin/ld.real: bfd assertion fail
This BDF message is curious - I've never seen it before.
x/bin/ld: line 168: 27073 Segmentation fault $LINKER $EMUL -r -d -o
collect2: ld returned 139 exit statusthe -f parameter to follow forks
I am using the tools from petalinux-v0.20-rc3.tar.gz. Any help would be
Can you cut and paste the complete command line that causes the
segfault? If so, enter it on the commandline, make sure it triggers the
error, then maybe try running strace on it:
$ strace commandline
you might need the -f parameter to straec, to follow forked children.
Of course a test case would be helpful but I understand this might be
hard with proprietary code. Even the process of trying to strip down
the offending app / library can be informative - if the error suddenly
goes away, what changed?
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/