Closed
Bug 294663
Opened 20 years ago
Closed 20 years ago
Firefox does not build for x86_64
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: tskirvin, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050512 Firefox/1.0.4 Build Identifier: The build steps for x86_64 Firefox fail in at least two places. I'm trying to build on an Athlon64 3500+ system running RedHat Desktop 3. The build has stopped in at least two places: 1. mozilla/toolkit/locales/en-US/chrome/necko/contents.rdf is missing. I temporarily patched this by copying in netwerk/resources/content/contents.rdf 2. nsProfile.cpp fails to build Reproducible: Always Steps to Reproduce: Standard build steps (gtar, configure, gmake) Actual Results: gmake[3]: Leaving directory `/tmp/x86_64-linux2.4/firefox-1.0.4+build/mozilla/pr ofile/dirserviceprovider' gmake[3]: Entering directory `/tmp/x86_64-linux2.4/firefox-1.0.4+build/mozilla/p rofile/src' nsProfile.cpp c++ -o nsProfile.o -c -DOSTYPE=\"Linux2.4.21-20\" -DOSARCH=\"Linux\" -I./../dirs erviceprovider/src -I../../dist/include/xpcom -I../../dist/include/xpcom_obsolet e -I../../dist/include/string -I../../dist/include/content -I../../dist/include/ docshell -I../../dist/include/webbrwsr -I../../dist/include/dom -I../../dist/inc lude/js -I../../dist/include/xpconnect -I../../dist/include/widget -I../../dist/ include/necko -I../../dist/include/uriloader -I../../dist/include/intl -I../../d ist/include/pref -I../../dist/include/prefmigr -I../../dist/include/appshell -I. ./../dist/include/uconv -I../../dist/include/windowwatcher -I../../dist/include/ profdirserviceprovider -I../../dist/include/profile -I../../dist/include -I/tmp/ x86_64-linux2.4/firefox-1.0.4+build/mozilla/dist/include/nspr -I/usr/X11R6/i nclude -fPIC -I/usr/local/include -I/usr/X11R6/include -fno-rtti -fno-except ions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynt h -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort- wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_tskirvin -DTRACING -g -fno-inline -I/usr/local/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../moz illa-config.h -Wp,-MD,.deps/nsProfile.pp nsProfile.cpp nsProfile.cpp: In member function `virtual nsresult nsProfile::StartupWithArgs(nsICmdLineService*, int)': nsProfile.cpp:415: no matching function for call to ` nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCString&, const PRUnichar*)' nsProfile.cpp:424: no matching function for call to ` nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCString&, const PRUnichar*)' nsProfile.cpp: In member function `virtual nsresult nsProfile::CreateNewProfileWithLocales(const PRUnichar*, const PRUnichar*, const PRUnichar*, const PRUnichar*, int)': nsProfile.cpp:1725: no matching function for call to ` nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCAutoString&, const PRUnichar*)' nsProfile.cpp:1736: no matching function for call to ` nsDerivedSafe<nsIXULChromeRegistry>::GetSelectedSkin(nsDependentCString, nsCAutoString&)' nsProfile.cpp:1739: no matching function for call to ` nsDerivedSafe<nsIXULChromeRegistry>::SelectSkinForProfile(nsCAutoString&, const PRUnichar*)' nsProfile.cpp:1761: no matching function for call to ` nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCAutoString&, const PRUnichar*)' gmake[3]: *** [nsProfile.o] Error 1 gmake[3]: Leaving directory `/tmp/x86_64-linux2.4/firefox-1.0.4+build/mozilla/pr ofile/src'
Hi, I am facing a totally same problem and I do not have 64. I have regular 32 bit Athlon XP and gcc 3.0.4, same bug occurs with gcc 3.2. Could anybody help me how to fix it and get firefox compiled: gmake[3]: Entering directory `/I/usr/src/NO/mozilla/profile/src' nsProfile.cpp c++ -o nsProfile.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I./../dirserviceprovider/src -I../../dist/include/xpcom -I../../dist/include/xpcom_obsolete -I../../dist/include/string -I../../dist/include/content -I../../dist/include/docshell -I../../dist/include/webbrwsr -I../../dist/include/dom -I../../dist/include/js -I../../dist/include/xpconnect -I../../dist/include/widget -I../../dist/include/necko -I../../dist/include/uriloader -I../../dist/include/intl -I../../dist/include/pref -I../../dist/include/prefmigr -I../../dist/include/appshell -I../../dist/include/uconv -I../../dist/include/windowwatcher -I../../dist/include/profdirserviceprovider -I../../dist/include/profile -I../../dist/include -I/usr/src/NO/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -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 -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsProfile.pp nsProfile.cpp nsProfile.cpp: In member function `virtual nsresult nsProfile::StartupWithArgs(nsICmdLineService*, int)': nsProfile.cpp:415: no matching function for call to `nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCString&, const PRUnichar*)' nsProfile.cpp:424: no matching function for call to `nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCString&, const PRUnichar*)' nsProfile.cpp: In member function `virtual nsresult nsProfile::CreateNewProfileWithLocales(const PRUnichar*, const PRUnichar*, const PRUnichar*, const PRUnichar*, int)': nsProfile.cpp:1725: no matching function for call to `nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCAutoString&, const PRUnichar*)' nsProfile.cpp:1736: no matching function for call to `nsDerivedSafe<nsIXULChromeRegistry>::GetSelectedSkin(nsDependentCString, nsCAutoString&)' nsProfile.cpp:1739: no matching function for call to `nsDerivedSafe<nsIXULChromeRegistry>::SelectSkinForProfile(nsCAutoString&, const PRUnichar*)' nsProfile.cpp:1761: no matching function for call to `nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCAutoString&, const PRUnichar*)' gmake[3]: *** [nsProfile.o] Error 1 gmake[3]: Leaving directory `/I/usr/src/NO/mozilla/profile/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/I/usr/src/NO/mozilla/profile' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/I/usr/src/NO/mozilla' make: *** [default] Error 2
You never said the exact commands that you were using to build firefox. Given that profile/src/ isn't traversed during a normal firefox build, I'm going to guess that your build setup is incorrect. See http://www.mozilla.org/projects/firefox/build.html for firefox build instructions.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
I just typed: tar -xzvf firefox_package.tar.gz cd mozilla ./configure make I guessed it works nearly everywhere. May be, I am completelly wrong.
| Assignee | ||
Updated•6 years ago
|
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.
Description
•