LINUX.ORG.RU

Траблы со сборкой Mozill'ы


0

0

Вот такая вот фигня

gcc -o jsdhash.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -DEXPORT_JS_A PI -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include -I/usr/sr c/mozilla/dist/include/nspr -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/i nclude -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -pedantic -Wno-long-lon g -O3 -march=pentium4 -mcpu=pentium4 -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_ro ot -DTRACING -g -fno-inline -O3 -I/usr/X11R6/include -include ../../mozilla-con fig.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsdhash.pp jsdhash.c jsdtoa.c gcc -o jsdtoa.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -DEXPORT_JS_AP I -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include -I/usr/src /mozilla/dist/include/nspr -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/in clude -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -pedantic -Wno-long-long -O3 -march=pentium4 -mcpu=pentium4 -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_roo t -DTRACING -g -fno-inline -O3 -I/usr/X11R6/include -include ../../mozilla-conf ig.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsdtoa.pp jsdtoa.c jsdtoa.c: In function `JS_strtod': jsdtoa.c:1239: warning: `rv0' might be used uninitialized in this function jsdtoa.c:1874: unable to find a register to spill in class `AREG' jsdtoa.c:1874: this is the insn: (insn:QI 1995 1994 1996 (set (reg:CCNO 17 flags) (compare:CCNO (and:SI (subreg:SI (reg/v:DI 21 rxmm0 [284]) 0) (const_int 1 [0x1])) (const_int 0 [0x0]))) 281 {testsi_1} (insn_list 1991 (nil)) (expr_list:REG_DEAD (reg/v:DI 21 rxmm0 [284]) (nil))) jsdtoa.c:1874: confused by earlier errors, bailing out make[3]: *** [jsdtoa.o] Ошибка 1 make[3]: Leaving directory `/usr/src/mozilla/js/src' make[2]: *** [libs] Ошибка 2 make[2]: Leaving directory `/usr/src/mozilla/js' make[1]: *** [tier_2] Ошибка 2 make[1]: Leaving directory `/usr/src/mozilla' make: *** [default] Ошибка 2

anonymous

-o jsdhash.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI
-DEXPORT_JS_A
PI  -DJS_USE_SAFE_ARENA   -I../../dist/include/js -I../../dist/include
-I/usr/sr
c/mozilla/dist/include/nspr      -I. -I/usr/X11R6/include   -fPIC
-I/usr/X11R6/i
nclude -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -pedantic
-Wno-long-lon
g -O3 -march=pentium4 -mcpu=pentium4 -pthread -pipe  -DDEBUG -D_DEBUG
-DDEBUG_ro
ot -DTRACING -g -fno-inline -O3  -I/usr/X11R6/include -include
../../mozilla-con
fig.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsdhash.pp jsdhash.c
jsdtoa.c
gcc -o jsdtoa.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI
-DEXPORT_JS_AP
I  -DJS_USE_SAFE_ARENA   -I../../dist/include/js -I../../dist/include
-I/usr/src
/mozilla/dist/include/nspr      -I. -I/usr/X11R6/include   -fPIC
-I/usr/X11R6/in
clude -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -pedantic
-Wno-long-long
 -O3 -march=pentium4 -mcpu=pentium4 -pthread -pipe  -DDEBUG -D_DEBUG
-DDEBUG_roo
t -DTRACING -g -fno-inline -O3  -I/usr/X11R6/include -include
../../mozilla-conf
ig.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsdtoa.pp jsdtoa.c
jsdtoa.c: In function `JS_strtod':
jsdtoa.c:1239: warning: `rv0' might be used uninitialized in this
function
jsdtoa.c:1874: unable to find a register to spill in class `AREG'
jsdtoa.c:1874: this is the insn:
(insn:QI 1995 1994 1996 (set (reg:CCNO 17 flags)
        (compare:CCNO (and:SI (subreg:SI (reg/v:DI 21 rxmm0 [284]) 0)
                (const_int 1 [0x1]))
            (const_int 0 [0x0]))) 281 {testsi_1} (insn_list 1991 (nil))
    (expr_list:REG_DEAD (reg/v:DI 21 rxmm0 [284])
        (nil)))
jsdtoa.c:1874: confused by earlier errors, bailing out
make[3]: *** [jsdtoa.o] Ошибка 1
make[3]: Leaving directory `/usr/src/mozilla/js/src'
make[2]: *** [libs] Ошибка 2
make[2]: Leaving directory `/usr/src/mozilla/js'
make[1]: *** [tier_2] Ошибка 2
make[1]: Leaving directory `/usr/src/mozilla'
make: *** [default] Ошибка 2

anonymous
()

У меня тоже мазилка с -O3 не собралась, впрочем как и с -О1, а вот с -О2 всё в порядке, да и больший прирост даёт использование -march=pentium4 (ну или -march=pentium3 в моём случае), а нащёт -mcpu=pentium4 можно поспорить, ведь согласно докам -mcpu=pentium4 по приоритету выше чем -march=, но прирост даёт меньший, за счёт сохранения совместимости с i386.

Если что нитак, то поправки принимаются ;)

BigBug
()
Ответ на: комментарий от BigBug

Спасибо за наводку (и за напиво ;) )
все собралось только в моем случае оно дурело иманно из за pentium4
а с "-O3 -march=pentium" поехало, gcc-3.2.2 glibc-2.3.1

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.