[uClibc]Re: [Musenki-dev] Dynamic loading on PPC

Jim Thompson jim at musenki.com
Sun Jun 9 22:29:37 UTC 2002


Once upon a time I had glibc running on the M1, if its a uclibc issue.

jim

Erik Walthinsen writes:
> I've been trying to build Python and other things that use dynamic
> loading, using a Mac to 'cross' build for the Musenki M-1.  Problem is,
> every time anything tries to load a .so, it segfaults.  If this is a known
> problem, is there an ETA for its fix?  If not, what's the best way to go
> about debugging it?  Building GDB for the thing is not something I'd
> really want to tackle, but it isn't impossible.
> 
> TIA,
>    Omega
> 
> open("/usr/lib/iptables/libipt_SNAT.so", O_RDONLY) = 3
> read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\6"..., 4096) = 4096
> mmap(NULL, 73728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3007b000
> mmap(0x3007b000, 3572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x3007b000
> mmap(0x3008b000, 4344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x3008b000
> close(3)                                = 0
> mprotect(0x3007b000, 3572, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
> brk(0x1001f008)                         = 0x1001f008
> brk(0x10020000)                         = 0x10020000
> brk(0x10021000)                         = 0x10021000
> brk(0x10022000)                         = 0x10022000
> brk(0x10023000)                         = 0x10023000
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
> 
>       Erik Walthinsen <omega at temple-baptist.com> - System Administrator
>         __
>        /  \                GStreamer - The only way to stream!
>       |    | M E G A        ***** http://gstreamer.net/ *****
>       _\  /_
> 
> 
> _______________________________________________
> Musenki-dev mailing list
> Musenki-dev at musenki.com
> http://musenki.com/cgi-bin/mailman/listinfo/musenki-dev

-- 
"Perl is basically TECO-99."  ---Barry Shein




More information about the uClibc mailing list