From: Denis D. <ddo...@po...> - 2001-03-05 22:26:44
|
"M. R. Brown" wrote: > > I've built glibc-2.2 via the instructions on the LinuxSH page, and by > patching the requisite files (I used Niibe's debian patches as a guide). > The build process is smooth, no problems there. However, when I boot > using the newly-installed libraries and dynamic linker, I get segmentation > faults everytime I run a dynamically-linked program. I'm able to boot my > system using a statically-linked bash. > > Just to test, I substituted Niibe's debian glibc-2.2 (from base), and > dynamically-linked programs worked perfectly. I'm guessing it's a problem > buried in libc, because just swapping out ld-linux.so.2 ran the program, > but my system soon ran out of memory within libc. > > So I'm curious, is there another build method for glibc (like which one > did you use Niibe?). Oh yeah, I'm using a gcc as of yesterday :), maybe > my gcc is just broken? This could be a gcc problem. I am having problems with shared libraries in the latest gcc 3.0 branch. Shared libraries appear to work fine with gcc 2.97 (20001120). Regard, Denis. |