Port-mips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: Running o32 code on n32 (Part 2, fancier programs)
coypu%SDF.ORG@localhost writes:
> So I'm trying to build packages from pkgsrc with o32. First one to be
> built (ever) is pkgtools/digest. but built with -mabi=32, it hangs in an
> infinite loop if just run with no arguments (normally it prints usage).
>
> I noticed __getdents30 is in the backtrace and put a breakpoint for it.
> after syscall, it changes the badvaddr register.
>
> Also backtrace:
> (gdb) bt
> #0 0x78729b5c in __getdents30 () from /usr/lib/o32/libc.so.12
> #1 0x787297e4 in ___readdir_unlocked50 () from /usr/lib/o32/libc.so.12
> #2 0x78727364 in _citrus_load_module () from /usr/lib/o32/libc.so.12
> #3 0x7872656c in _citrus_ctype_open () from /usr/lib/o32/libc.so.12
> #4 0x7871be90 in _rune_load () from /usr/lib/o32/libc.so.12
hmm... i wonder if the loadable locale stuff doesn't work with
the MKCOMPAT stuff properly.
can you ktrace and see exactly what is happening? perhaps this
is looping for some reason in the wrong place.
.mrg.
Home |
Main Index |
Thread Index |
Old Index