On Sun, 21 Oct 2001, H . J . Lu wrote: > On Sun, Oct 21, 2001 at 04:48:42PM +0200, Klaus Naumann wrote: > > > > Hi, > > > > also with these binutils I still have a problem when compiling mozilla. > > Maybe you know what the issue is ... > > > > make[2]: Entering directory `/mnt/build/mozilla/mozilla/content/build' > > rm -f libgkcontent.so > > c++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion > > -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual > > -Wsynth -pedantic -Wno-long-long -pthread -DNDEBUG -DTRIMMED -Wa,-xgot > > -shared -Wl,-h -Wl,libgkcontent.so -o libgkcontent.so nsContentDLF.o > > nsContentModule.o nsContentHTTPStartup.o -Wl,--whole-archive > > ../../dist/lib/libgkconevents_s.a ../../dist/lib/libgkconhtmlcon_s.a > > ../../dist/lib/libgkconhtmldoc_s.a ../../dist/lib/libgkconhtmlstyle_s.a > > ../../dist/lib/libgkconxmlcon_s.a ../../dist/lib/libgkconxmldoc_s.a > > ../../dist/lib/libgkconxsldoc_s.a ../../dist/lib/libgkconxulcon_s.a > > ../../dist/lib/libgkconxuldoc_s.a ../../dist/lib/libgkconxultmpl_s.a > > ../../dist/lib/libgkconxbl_s.a ../../dist/lib/libgkconbase_s.a > > ../../dist/lib/libgkconshared_s.a -Wl,--no-whole-archive -L../../dist/bin > > -lgkgfx -L../../dist/bin -lxpcom -L../../dist/bin > > -L/mnt/build/mozilla/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread > > -ldl -lc -L../../dist/bin -lmozjs > > -Wl,--version-script,../../build/unix/gnu-ld-scripts/components-version-script > > -ldl -lm -lc > > It is a known problem if > > 1. You don't compile shared libraries with -fpic/-fPIC. > 2. Even if you do, you may overflow GOT table. Well, even adding -fpic doesn't help a whole lot. What is a GOT table ? And do you see any fix for the problem ? Thanks, Klaus -- Full Name : Klaus Naumann | (http://www.mgnet.de/) (Germany) Nickname : Spock | Org.: Mad Guys Network Phone / FAX : ++49/177/7862964 | E-Mail: (spock@mgnet.de) PGP Key : www.mgnet.de/keys/key_spock.txt