Closed Bug 258965 Opened 20 years ago Closed 19 years ago

libgklayout when compiling firefox-0.9.3 from source

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: sdismar, Assigned: bryner)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9

Everytime I tried to compile firefox-0.9.3 from source, i run into the following
errors: 
c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -pedantic -march=i386 -fshort-wchar -pthread -pipe  -DDEBUG
-D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -fPIC -shared -Wl,-h
-Wl,libgklayout.so -o libgklayout.so  nsLayoutModule.o nsContentHTTPStartup.o
nsContentDLF.o             -Wl,--whole-archive ../../dist/lib/libgkhtmlbase_s.a
../../dist/lib/libgkhtmldoc_s.a ../../dist/lib/libgkhtmlforms_s.a
../../dist/lib/libgkhtmlstyle_s.a ../../dist/lib/libgkhtmltable_s.a
../../dist/lib/libgkxulbase_s.a ../../dist/lib/libgkbase_s.a
../../dist/lib/libgkconbase_s.a ../../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/libgkconxbl_s.a
../../dist/lib/libgkconxuldoc_s.a ../../dist/lib/libgkconshared_s.a
../../dist/lib/libgkview_s.a ../../dist/lib/libjsdombase_s.a
../../dist/lib/libjsdomevents_s.a ../../dist/lib/libjsurl_s.a 
../../dist/lib/libgkxultree_s.a ../../dist/lib/libgkxulgrid_s.a
../../dist/lib/libgkconxulcon_s.a ../../dist/lib/libgkconxultmpl_s.a 
../../dist/lib/libgkmathmlcon_s.a ../../dist/lib/libgkmathmlbase_s.a 
-Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib -lgkgfx
../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom  -L../../dist/bin
-L/root/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -L../../dist/bin
-lmozjs   -Wl,-Bsymbolic -ldl -lm
`.L25' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
`.L28' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
`.L21' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
`.L19' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
`.L31' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
`.L35' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
collect2: ld returned 1 exit status
gmake[3]: *** [libgklayout.so] Error 1
gmake[3]: Leaving directory `/root/mozilla/layout/build'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/root/mozilla/layout'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/root/mozilla'
make: *** [default] Error 2


It happens on my notebook (P4M, linux-2.6.8.1, binutils-2.15.91.0.2, gcc-3.4.1
(and also happens with gcc-3.3.4)) and on my dad's PC (AMD K6-2, with the same
configuration, as my notebook), too. 

config.log, config.status and make.log are found here: 
http://mitglied.lycos.de/thenull/linux/errors/firefox/0.9.3/


Reproducible: Always
Steps to Reproduce:
1. export CHOST, CFLAGS and CXXFLAGS (e.g. to i386)
2. Download the source and make ./configure --prefix=usr/local/stow/firefox
--host=$CHOST --target=$CHOST
3. gmake -f client.mk build
Actual Results:  
4. wait a long time and you will get the error as build-result

Build-Error, not finding the symbols...
If you're using binutils-2.15.91.0.2, try downgrading to binutils-2.15.90.0.3. 
The latest binutils package exposed a gcc bug. See
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625>.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.