Skip to contentSkip to conversation

405gc problem with shared libraries

DISCUSSION Ralph Blach 2 participants 2 messages Mar 27, 2000

lore
Share & tools
lore
#0 lore raw

I am attempting to run the latest 405gc port and am getting error.

I boot up to sash, and then run the command ls everthing seems to run fine untill I get the message

./ls: error in loading shared libraries: libc.so.6: failed to map segment
from shared object: Error 19

This message is from ld.so.1. What is ld.so.1 trying to do? Any suggestions.

Chip

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 6 lines · Ralph Blach

I am attempting to run the latest 405gc port and am getting error.

I boot up to sash, and then run the command ls everthing seems to run fine untill I get the message

Quoted 9 lines

./ls: error in loading shared libraries: libc.so.6: failed to map segment
from shared object: Error 19

This message is from ld.so.1. What is ld.so.1 trying to do? Any suggestions.

Chip

First check the archives. There is some mail from Marcus Sundberg describing
how to set up the compiler so it will not use floating point. Make sure to compile everything with the -msoft-float option. My guess from your error is you have already done this. Also I got this response from Ben Bodley when I was having a similiar problem

"as far as my progress on shared libraries goes, currently:
- i have checked the reason for failure, and it occurs in the
'dl-load.c' file from glibc, the initial __mmap() function is failing the reason is that the kernel mmap_pgoff() is getting passed a null 'file->f_op' pointer, and is exiting the __mmap() function with -ENODEV.. it's strange though, as even though file->f_op is at 0x00000000, the function file->f_op->mmap() points to a valid address! so if the file_operations struct is getting allocated at 0x00000000 this will cause all sorts of problems.. the major one being 0x00000000 is null, even though it is a valid logical memory address.."

--
Mike Wolf
Cray Research
655-F Lone Oak Drive, Eagan, MN 55121
[email protected] (651)683-5313

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/