This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: The Linux binutils 2.11.92.0.7 is released.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]