This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: The Linux binutils 2.11.92.0.7 is released.
- To: Klaus Naumann <spock at mgnet dot de>
- Subject: Re: The Linux binutils 2.11.92.0.7 is released.
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sun, 21 Oct 2001 09:11:25 -0700
- Cc: linux-mips at oss dot sgi dot com, binutils at sourceware dot cygnus dot com
- References: <20011016201334.A31989@lucon.org> <Pine.LNX.4.21.0110211317450.17620-100000@spock.mgnet.de>
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.
H.J.