On Thu, 13 Jul 2000, Keith M Wesolowski wrote:
> Simple Linux/MIPS 0.2b ``Death on a Stick'' has been released.
Fantastic! I've had great success with release 0.1 on an Indy. Perhaps
it's almost too stable for my blood. Need to go play with fire! ;-)
Actually, I do have a question for any of you that have been doing builds.
I seem to be having some interesting problems with shared object
libraries. I'm using S-L-M 0.1 on an Indy as a development/test bed for
code that will eventually end up in an embedded vrXXXX system. (I've
already verified that the binaries are portable.) However, I am having
difficulty on the Indy itself. NONE of the shared objects that I build on
that box can be used by programs on that box. Yes, I either placed them
in /lib or /usr/lib or built a proper ld.so.cache file for them. The ldd
utility can resolve the libraries, etc... However, every program built
on that box against libraries that I built on that box exits with an
immediate bus error. It appears to be an issue with the libraries
themselves. If I scavenge the equivalent libraries from the Hard Hat 5.1
distro and drop them in place, everything seems happy and works fine.
Thus, there's something funky about the so's I'm building myself.
I've tried building the XFree 4.0.1 libraries, Lesstiff libraries, and
libraries from our own code base. All breaks the same way.
#1 What form of black magic are you guys using to do this?
#2 Are there specific compiler flags/phases that should/shouldn't be used
with MIPS arch so's that are different than what I'd normally do under
#3 Should I be trying to cross compile the so's them selves instead of
#4 Are you using different flavors of gcc/binutils to do different jobs
because of known breakages?
Any tips appreciated here. In the mean, I'm going to start playing with