On Thu, Feb 26, 2009 at 4:45 PM, Colin Whittaker
<[email protected]>wrote:
> Hi, I'm new here. I searched and found a similar thread that didn't seem to
> get resolved. Any help would be grand.. :-)
>
> I'm trying to build a cross tool chain for mips using buildroot.
> uClibc 0.9.29
> gcc 4.2.3
> binutils 2.18
> Kernel headers 2.6.21.5
>
> Everything builds fine and my target system builds just fine.
> Kernel builds and runs just fine. Only problem:
> All the executables that load shared libraries segfault immediately.
> This was most difficult to find since init(busybox) was segfaulting, but it
> shows nothing. Once I built it with -static it runs.
Hi!
Are you compiling it with both -rdynamic and -fPIC? Which compiler
flags do you use? Can you provide an example code?
--
[]s,
André Goddard
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc