Firefox Build Problem | c++ int. error

lockdoc

Well-Known Member
Hi Leute,

ich wollte mir den neuesten Firefox bauen, aber es scheint da leider zu Problemen zu kommen. Hier mal die letzten lines
Code:
/include -DMOZILLA_CLIENT -include ../../mozilla-config.h nsHtml5AttributeName.cpp
In file included from nsHtml5StreamParser.h:54,
                 from nsHtml5Parser.h:62,
                 from nsHtml5TreeBuilder.h:46,
                 from nsHtml5AttributeName.cpp:50:
nsHtml5Speculation.h:103:33: warning: no newline at end of file
nsHtml5ElementName.cpp
c++ -o nsHtml5ElementName.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"FreeBSD9\" -DOSARCH=FreeBSD  -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/usr/local/include/nspr -I/usr/ports/www/firefox/work/mozilla-release/dist/include/nss      -I./../../content/base/src   -fPIC -I/usr/local/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -O2 -pipe -march=pentium-m -O2 -fno-strict-aliasing -O2 -fno-strict-aliasing -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O2  -I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h nsHtml5ElementName.cpp
In file included from nsHtml5StreamParser.h:54,
                 from nsHtml5Parser.h:62,
                 from nsHtml5TreeBuilder.h:46,
                 from nsHtml5ElementName.cpp:50:
nsHtml5Speculation.h:103:33: warning: no newline at end of file
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
[COLOR="Red"]c++: Internal error: Killed: 9 (program cc1plus)[/COLOR]
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[4]: *** [nsHtml5ElementName.o] Error 1
gmake[4]: *** Deleting file `nsHtml5ElementName.o'
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/parser/html'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/parser'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake: *** [default] Error 2
*** Error code 1

Stop in /usr/ports/www/firefox.
*** Error code 1

Stop in /usr/ports/www/firefox.

Ich hab das jetzt schon ein mall mal versucht zu bauen, unteranderem habe ich auch schon ein portupgrade --force gcc* hinter mir, was leider auch nichts geholfen hat.
 
Das habe ich leider noch nicht getestet, aber ich hab jetzt den log oben als Referenz und werd es spaeter nochmal anschmeissen.
 
So build nochmal durchgelaufen. Exakt gleiche Stelle und exakt gleicher output wie oben

Nachtrag: Meine make.conf sieht wie folgt dazu aus:
Code:
PERL_VERSION=5.12.3
WITHOUT_NOUVEAU=yes
CPUTYPE=pentium-m

gcc
Code:
gcc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.2 20070831 prerelease [FreeBSD]
 
Last edited:
Du fährt CURRENT? vllt ein Problem mit dem gcc? Es wird ja der Board-gcc benutzt und nicht einer aus den Ports.
 
Bei www/libxul tritt das Problem leider auch auf

Code:
-include ../../mozilla-config.h nsHtml5NamedCharacters.cpp
{standard input}: Assembler messages:
{standard input}:8186: Warning: partial line at end of file ignored
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[4]: *** [nsHtml5ElementName.o] Error 1
gmake[4]: *** Deleting file `nsHtml5ElementName.o'
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory `/usr/ports/www/libxul/work/mozilla-1.9.2/parser/html'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/libxul/work/mozilla-1.9.2/parser'
gmake[2]: *** [libs_tier_gecko] Error 2
gmake[2]: Leaving directory `/usr/ports/www/libxul/work/mozilla-1.9.2'
gmake[1]: *** [tier_gecko] Error 2
gmake[1]: Leaving directory `/usr/ports/www/libxul/work/mozilla-1.9.2'
gmake: *** [default] Error 2
*** Error code 1

Der gcc den ich nutze hatte das aber alles schon mal bauen koennen, das einzige was sich am System geaendert hat ist die Kernel.
 
Mal in updating oder auf current@ geschaut ob da gcc mal zwischendurch broken war? Klingt nämlich so.
 
Du darfst CPUTYPE übrigens nur mit ?= setzen. Ich denke zwar nicht aber es könnte zumindest daran liegen.

Auf Kernel und Welt hat das auf jeden Fall Einfluss, also CPUTYPE korrigieren und Welt neu bauen. Vielleicht geht dann auch Firefox bauen wieder.
 
Back
Top